JosuaLimbu / npr-with-ocr

Number Plate Recognition with Optical Character Recognition using YOLOv5, a modification I made to extend its functionality from mere object detection to object detection and optical character recognition, specifically tailored for the "plate" class only. Additionally, I have trained the dataset and added over 7000 more datasets for this purpose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number Plate Recognition with Optical Character Recognition

This code is not open source, it is for my personal portfolio. If you want open source, please visit simple-npr

Number Plate Recognition (NPR), also known as Automatic Number Plate Recognition (ANPR) or License Plate Recognition (LPR), is a technology used to automatically detect and recognize vehicle license plates. The system uses an optical camera and character recognition (OCR) software to capture images of license plates from passing vehicles, then analyzes the images to recognize and extract the text contained within. Upon successful reading using OCR, the extracted license plate data is stored in a MySQL database. This code is integrated into the U-Park web system.

Install

Install on Windows

Install Git Bash, Python and Tesseract first

After that, open git bash and follow these commands

$ git clone https://github.com/JosuaLimbu/npr-tesseract.git
$ cd npr-with-ocr
$ pip install -r requirements.txt
$ python3 detect3.py

The end result will be like this. Result

About

Number Plate Recognition with Optical Character Recognition using YOLOv5, a modification I made to extend its functionality from mere object detection to object detection and optical character recognition, specifically tailored for the "plate" class only. Additionally, I have trained the dataset and added over 7000 more datasets for this purpose.


Languages

Language:Python 98.2%Language:Shell 1.2%Language:Dockerfile 0.5%Language:HTML 0.1%