Ask Your Question

Revision history [back]

You need several things

  1. You first need to download both OpenCV repository and OpenCV contrib repository (which contains the actual OCR module).
  2. Then you need to follow the instructions on the OpenCV contrib page in Github to get it configured correctly.
  3. During CMAKE be sure that the OCR module is enabled.
  4. Point your CMAKE to the correct OCR tesseract installation.
  5. Make sure you link the contrib modules AND that you include the correct namespaces.

Then the software should compile and you program should find the correct functions. Good luck!