Skip to content
/ annpr Public

Automatic Nepali Number Plate Recognition System

Notifications You must be signed in to change notification settings

JuJu2181/annpr

Repository files navigation

Automatic Nepali Number Plate Recognition System (ANNPR)

ANNPR is a system that detects Nepali number plates from vehicles and then recognizes the number in the number plates. This project was done as a minor project in 6th Semester for Computer Engineering.

We have used YOLOv4 for number plate detection, also YOLOv4 for character segmentation and CNN for character recognition and then finally integrated all the models with django webapp for user interaction.

YOLOV4 Link: YOLOV4

This is simply integrating the models and then testing the models trained by us for user inputs.


Setup in your PC

To run this app correctly first you have to install all the requirements from requirements.txt.
Also better use python 3.8.5 as I used the same version
Python 3.8.5 Link: Python 3.8.5

pip install -r requirements.txt

Then download and add these two folders Own_cfg_and_weights and cnn_weights inside pytorch_YOLOv4 folder

Own_cfg_and_weights Link: YOLO Weights and CFG

cnn_weights: CNN Weights

Also Create a folder called media in this root directory of project and inside media create another 4 folders detected_images, detected_videos, images, videos
Use this format:
annpr(root diretory):

  • annpr
  • frontend
  • media(new folder you created)
    • detected_images (create these 4 folders too inside media)
    • detected_videos
    • images
    • videos
  • pytorch_YOLOv4
    • cnn_weights(Create a new folder with this name and add the downloaded weights from above)
    • Own_cfg_and_weights(Create a new folder with this name and add the downloaded weights from above)

or simply download the media folder from here: media folder: Media Folder

Your folders should look like this

Folder Structure

To run webapp run command

python manage.py runserver

Home Page UI

Home Page

Output Results

For an Image

Output For Image

For a Video

Output Video


Developed By

Anish Shilpakar
Anjaan Khadka
Sudip Shrestha
Sachin Manandhar


Feel Free to contact us if you want to know more about how we trained and integrated these models.

About

Automatic Nepali Number Plate Recognition System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published