cv_ocr_example_playground

Here is a small script to showcase a simple Computer Vision (OCR) project that can be quickly built with OpenCV and Tesseract. The script processes camera video output and extracts recognized text. You can play with it with printed out or handwritten (print style) texts/cards. The script assumes all texts are in English, but Tesseract can recognize Latin characters as well.

What to install before playing with the playground.py script:

  1. Tesseract (I have 5.3.0) https://tesseract-ocr.github.io/tessdoc/Installation.html
  2. Python wrapper for Tesseract https://pypi.org/project/pytesseract/
  3. OpenCV pre-built CPU only version via pip https://pypi.org/project/opencv-python/

Where to find more materials:

  1. OpenCV docs and tutorials https://docs.opencv.org/4.x/d6/d00/tutorial_py_root.html
  2. Tesseract documentation https://tesseract-ocr.github.io, https://pypi.org/project/pytesseract/
  3. Free articles from this guy https://pyimagesearch.com/category/opencv/

Good luck! :)