Code Monkey home page Code Monkey logo

akash1362000 / vehicle-registration-number-recognition Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 45.63 MB

A simple web application to detect the registration number of the vehicle from the uploaded image. The application uses the OpenALPR library to identify the registration number. Users can go to the application, upload any vehicle's image and get the registration number.

Python 74.46% HTML 25.54%
alpr css3 django html5 javascript materializecss openalpr postgres python3

vehicle-registration-number-recognition's Introduction

Vehicle Registration Number Recognition ๐Ÿš™

A simple web application to detect the registration number of the vehicle from the uploaded image. The application uses the OpenALPR library to identify the registration number. Users can go to the application, upload any vehicle's image and get the registration number. Currently, the application can detect only US-based vehicle registration numbers. Support for other countries will be added to the application in the near future.

Dashboard UI โœจ

Vehicle Registration Number Recognition

Project Demo ๐Ÿ“ฝ

Note : Wait for about 5 seconds for it to load

Project Demo

Features ๐Ÿคฉ

โœ… Upload images of vehicles

โœ… Get the registration numbers of US-based vehicles

Tech stack ๐Ÿ‘จโ€๐Ÿ’ป

  • Frontend
    • HTML5
    • CSS3
    • MaterializeCSS
    • Javascript
  • Backend
    • Python
    • Django
    • PostgreSQL
    • OpenALPR

Table of contents ๐Ÿ“ƒ

  1. What is ALPR?
  2. How to install ALPR?
  3. Project Setup
  4. Database Setup
  5. Class Diagram
  6. ER Diagram
  7. Anticipated features

What is ALPR? ๐Ÿค”

OpenALPR is an open-source Automatic License Plate Recognition library written in C++ with bindings in C#, Java, Node.js, Go, and Python. The library analyzes images and video streams to identify license plates. The output is the text representation of any license plate characters.

How to install ALPR? ๐Ÿค”

For Ubuntu: Follow the steps mentioned here to install the necessary packages and libraries required in order for ALPR to function smoothly

After doing that, go to /openalpr/src/bindings/python and run python setup.py build followed by sudo python setup.py install This will install the OpenALPR library onto your system.

Project Setup ๐Ÿ› 

Note: Make sure you have Python version 3.8+ and Postgres 14 or above

Environment Setup

$ git clone https://github.com/Akash1362000/Vehicle-Registration-Number-Recognition.git

$ cd plate-detector/

Create .env file (refer .env.example file)

Generate SECRET_KEY from here

Database Setup ๐Ÿ’ป

Install Postgres Latest version from here

Install pgAdmin from here

Create a Database using pgAdmin by following the steps mentioned here

Update your DATABASE_NAME, DATABASE_USER and DATABASE_PASSWORD in .env with your DB details

Install requirements

$ pip install -r requirements.txt

$ pre-commit install

$ python manage.py migrate

Create superuser: $ python manage.py createsuperuser

That's it. You're all Set!

Run python manage.py test to check whether ALPR is properly installed on your system

To run the server: $ python manage.py runserver

Open your desired browser and head over to http://127.0.0.1:8000/

Class Diagram โœ

Vehicle Registration Number Recognition Class Diagram

ER Diagram โœ

Vehicle Registration Number Recognition ER Diagram

Anticipated Features ๐Ÿ”ฅ

  • Add support to detect registration numbers of Indian Vehicles
  • Add support to detect registration numbers from video files
  • Add support to store the uploaded images safely on Amazon S3
  • Dockerize the application

vehicle-registration-number-recognition's People

Contributors

akash1362000 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.