EasyOCR
EasyOCR copied to clipboard
module 'cv2' has no attribute 'imdecode'
I can't useing easyocr to read text in image , img = cv2.imdecode(nparr, cv2.IMREAD_COLOR) AttributeError: module 'cv2' has no attribute 'imdecode'
how can i fix it?
when version is 1.4.0,it can work,but update 4.5, i can't use
it has to do with opencv version. I believe the last update (1.4.2) should fix this.
opencv-contrib-python-4.1.2.30
may help you