Skip to content

Optical Character Recognition using Google's Tesseract engine

License

Notifications You must be signed in to change notification settings

dpacmen/OCR-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCR-Text

Optical Character Recognition using Google's Tesseract engine

Learn open cv from openCV documentation

Learn more about Tesseract here

trans_color function

  1. Load the example image and convert it to grayscale

  2. Check preprocess to apply thresholding on the image

  3. Load the image as a PIL/Pillow image

  4. Additional processing such as spellchecking for OCR errors or NLP should be applied

In order to run this script

  1. Open terminal
  2. Run command in this sequence : $ python ocr.py -image image.jpg

(Applying Gaussian Blur/Thresholding) $ python ocr.py -image image.jpg -preprocess blur

OUTPUT

image

OUTPUT

image

About

Optical Character Recognition using Google's Tesseract engine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages