Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.28 KB

File metadata and controls

41 lines (33 loc) · 1.28 KB

License Plate Detection - Microservices

license-plate-image

Automatic Number Plate Recognition (ANPR) is the process of reading the characters on the plate with various optical character recognition (OCR) methods by separating the plate region on the vehicle image obtained from automatic plate recognition.

This repository forks the Automatic_Number_Plate_Recognition_YOLO_OCR one by mftnakrsu to extract the license plate detection methods and create a microservices deployable as Docker containers.

How to build

Build the image using the Docker command.

docker build -t lcarnevale/platedetection .

Alternativelly, use the build.sh script.

chmod +x build.sh
./build.sh

How to run

Run the image as following.

docker run -d --name platedetection \
    -v /var/log/platedetection:/opt/app/log \
    -v ~/static-files:/opt/app/static-files \
    lcarnevale/platedetection

Alternativelly, use the run.sh script.

chmod +x run.sh
./run.sh

How to read the logs

The filename is custom and it can be modified in the configuration file.

tail -f /var/log/lcarnevale/license-plate-detection.log