This repository contains a Python script that returns the license plate in plain text from a given image or RTSP stream.
If you want to run the project locally on your own computer, you can do so in two ways. You can run it like in production and start the Docker container or run it like you would when developing.
Here is assumed that you have Docker installed correctly.
Start of by building the images: .\00_build_image.cmd
or ./00_build_image.sh
. Alternatively, you can also pull the images that are already build by: .\00b_pull_image.cmd
or ./00b_pull_image.sh
.
Start reader by: .\01_start_container.cmd
or ./01_start_container.sh
.
Here is assumed that you have Python 3 installed correctly.
- Go the the app directory by:
cd app
. - Install system dependencies by:
sudo apt install tesseract-ocr
. - Install Python dependencies by:
pip3 install -r requirements.txt
. - Run the project by:
python3 server.py
.