MichalBusta / E2E-MLT

E2E-MLT - an Unconstrained End-to-End Method for Multi-Language Scene Text
MIT License
290 stars 84 forks source link

Read by image instead of read by videocapture #50

Open hai19991331 opened 5 years ago

hai19991331 commented 5 years ago

i changed my code in demo.py file but it won't work cap = cv2.VideoCapture("/content/drive/My Drive/E2E-MLT/images/00139.jpg")

cap.set(cv2.CAP_PROP_AUTOFOCUS, 1) ret, im = cap.read()

Plsss help me with this

josedossantos10 commented 5 years ago

You need change to im = cv2.imread("/content/drive/My Drive/E2E-MLT/images/00139.jpg")