/real-time-OCR

Real-time OCR with Tensorflow, openCV & Tesseract

Primary LanguagePython

OCR & Real-time Text Detection

Real-time OCR with openCV EAST & Tesseract.

Requires openCV 3.4.2 or above.
Requires Tesseract 4.0 or above.

Real Time OCR

For text recognition on a live web-cam feed:

python real_time_ocr.py --east frozen_east_text_detection.pb

For text recognition on a video file:

python real_time_ocr.py --east frozen_east_text_detection.pb --video test.avi

Text Detection

For text detection on image:

python text_detection.py --image test.png --east frozen_east_text_detection.pb

For text detection on video or web-cam:

python video_text_detection.py --east frozen_east_text_detection.pb
python video_text_detection.py --east frozen_east_text_detection.pb --video test.avi

Text Recognition

For text recognition on image:

python text_recognition.py --east frozen_east_text_detection.pb --image test.png
python text_recognition.py --east frozen_east_text_detection.pb --image test.png --padding 0.25