Skip to content

Latest commit

 

History

History
95 lines (57 loc) · 4.4 KB

README.md

File metadata and controls

95 lines (57 loc) · 4.4 KB

ANPR-Chroma

Deployment of ANPR model using flask

Flask is a web application framework written in Python.

  • I have deployed the project of LicensePlateDetector using Flask as an api. This is an easy and quick way to see your models in production.

Number Plate Recognition System :

An application to recognise the number plate from a given image of a car and verify it from a local database. The application can be used for many purposes like suveillance,security checks etc.

Setup

  1. Clone the repository
  2. Create virtual env.
    On windows you could do something like: py -m venv env
    On macOS and Linux: python3 -m venv env
    {{ Activate the virtual environment env }}
  3. Install the needed modules using: pip install -r requirements.txt
  4. Run run.py in ANPR_Chroma folder (Make sure Apache server is running)
  5. Go to localhost:5000 to see your application in action. (Port 5000 has been configured in run.py)

Note:

  • File run.py is to run flask application, if you want to test main licence plate recognition program - check product.py
  • Make sure to add your own 2 databases in "init.py" directory before running flask application, and update your database path here
    If you get any issues ask me here

Built With

  • Python3.7 -One of the most popular programming language
  • OpenCV(V2.0.0) - Open Source Computer Vision Library
  • Flask - Web application framework written in Python
  • SQLite -Used for designing and manipulating of database

Author - Aryan Bindal

ScreenShots :)

  • Home Page

Home page

  • A little Description

Description

  • If you try to login with unregistered account

Login

  • Registration of new checkPost

Sign up

  • Now login again

Login

  • Home page after checkPost login

Home after Login

  • You can see and update current CheckPost's account

Account

  • It's time to upload your vehicle's image and if your vehicle is not registered it will look like this

ANPR Online Demo

  • And if your vehicle is not registered a mail is send to higher authority

Note: For Gmail services to work -
Write your google account's password here
You have to turn off "2 step verification" and turn off "Less secure app access" from your google account settings

Mail to Authority

  • now driver need to register the vehicle

Registration

  • If registration is successfull then a mail is send to driver

Mail to driver

  • Vehicle is registered now

Vehicle registered

  • When everything is done and CheckPost wants to logout

Logout

  • If you try to login an already registered account of CheckPost

Login