Git Product home page Git Product logo

xzmagic / vehicle-and-licence-plate-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rajatagrawal193/vehicle-and-licence-plate-detection

0.0 0.0 0.0 138.32 MB

This project is built in order to detect vehicles in a video(using YOLO on darknet) and track them subsequently. It also detects the licence plate of the vehicle and does its recognition using OCR.

Shell 0.21% C++ 0.45% Python 12.03% C 81.69% MATLAB 0.27% Cuda 5.15% Makefile 0.22%

vehicle-and-licence-plate-detection's Introduction

Vehicle Detection, Tracking and Re-Identification along with Number Plate Detection and Recognition

The implemetation uses YoloV3 from darknet framework, pytorch, tensorflow-gpu and keras

Demo

Installation Steps

Requirements: CUDA 10.0, Cudnn >=7.6, NCCL ==2.2.1 (For GPU)

  1. Install darknet:

    cd darknet && make clean make all cp -f libdarknet.so ../. cd ..

  2. Create an anaconda environment, using conda create -n <env_name>. If you don't have anaconda installed, install anaconda

  3. Activate anaconda environment using conda activate <env_name>

  4. Run source install.txt will install all the necessary conda packages. Just press y whenever prompted

Run Demo

python main.py /path/to/input/video/file

Output will be saved in output/<input_name>_result_tracker<input_img_size>.avi . The detected number plates will be stored at output/license_plates . The detected cars will be stored at output/cars . Average FPS will be printed on the console after output has been saved.

python main.py -h for more options

vehicle-and-licence-plate-detection's People

Contributors

rajatagrawal193 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.