- Install tesseract(v4) https://github.com/tesseract-ocr/tesseract
- Install opencv https://docs.opencv.org/3.4.3/d7/d9f/tutorial_linux_install.html
- Run python 3.5 virtual environment
- Install dependencies:
$ pip install -r requirements.txt
- Run script:
$ python main.py --folder=path_to_folder --layout=path_to_layout
E.g. :
Absolute path:$ python main.py --folder=/home/user/handlr/to_label --layout=/home/user/handlr/P45.json
Relative path(folder and layout files are in the same folder with script):$ python main.py --folder=to_label --layout=P45.json
- If you want to try experimental plate recognition to text instead of 5. run:
$ python main.py --folder=path_to_folder --layout=path_to_layout --plate_text=True
- Go to the new
labeled
folder
P.S. For demonstration purposes you can go and see results I got on my PC in demo_results
folder