Skip to content

vishalvvr/ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple OCR script which uses tesseract ocr internally to extract text.

Dependencies installation:

> sudo dnf install -y tesseract    # rhel based systems 
  sudo apt install tesseract-ocr   # debian based systems 
> pip3 install --user -r requirement.txt

Usage:

> python3 src/OCR.py -f /<your image path>/image.png

or

# if using as a module
from src import OCR
obj = OCR() # create object of ocr class
obj.my_ocr(image_path) # pass image path it can pe string or list of image paths

Happy Coding :)

About

This is a simple script of OCR using tesseract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages