Whenever I try to import pytesseract i get this error,

 img2gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)

error: ..\..\..\modules\imgproc\src\color.cpp:3739: error: (-215) scn == 3 
|| scn == 4 in function cv::cvtColor

Any help would be much appreciated

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/9f5c765e-5d1a-43e8-b88c-5ed115b2c384%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to