This program detects and extract the Vehicle Number using TESSERACT OCR ENGINE. Image undergoes different operations to extract the image.
-
Conversion to black and white image according to threshold value.
-
Text Extraction
- Output is then passed to Tesseract which will detect all the text in the image
- filteration of all the text we got to vehicle number
- python
To Download python Go to the python Download Website.
- Tesseract
To install Tesseract 32 bit version click on the link
To install Tesseract 64 bit version click on the link
- Clone this Repo to your Local Machine.
- Open The Terminal/CMD in the clonned folder.
- type
py -m pip install -r requirements.txt'
to install all the required libraries. - For detecting vehicle number in the sample image.
a. type
python OCR.py sample.jpg
in the Terminal/CMD. - For detecting vehicle number in image.
a. Paste the image you want to detect vehicle number in the current directory. b. Typepython OCR.py [image_name]
. - Vehicle number printed in Terminal/CMD.