lcarnevale / license-plate-detection-microservice

Docker container microservice for license plate detection in Yolov5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Docker container microservice for license plate detection in Yolov5

License:MIT License


Languages

Language:Python 99.5%Language:Dockerfile 0.4%Language:Shell 0.2%