Closed xtrntr closed 7 years ago
Did you actually rebuilt OpenCV with tesseract support enabled and ensured it found all files? If so please provide your CMAKE output!
I didn't do that. I used conda install -c menpo opencv3=3.1.0
I didn't do that. I used conda install -c menpo opencv3=3.1.0
Ah I guess there lies the issue. To be able to use all functionality from opencv text module, you need to download the opencv repo code, the opencv contrib repo code, run cmake and select the text module, then make sure cmake finds all paths to your tesseract installation and build opencv.
That binaries will then have all functionality available.
This functionality is not available through prebuilt packages or download managers like conda, as far as I am aware.
System information (version)\
Detailed description
cv2.text has limited functionality. I installed tesseract through homebrew and verified that it works through the command line. I am unable to call certain functions i.e. computeNMChannels like in this example: https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/textdetection.py
Steps to reproduce