Giter VIP home page Giter VIP logo

yolov4-pytesseract-license-plate-detection-and-reading's Introduction

Deep-learning-model-to-detect license plates/ Number plates of a car and read them-in-realtime using a custom trained yolov4 model and Tesseract-OCR (please read before executing)

Before starting with this,

Dont forget to download the preequisites to using the yolov4 model on your local machine in my YOLOV4 Tutorials repository link --> Prerequisites to yolov4

MOVE the obj-license.data and custom cfg file into the cfg folder in the x64 folder in your darknet build.

MOVE the obj.names into the data folder in the x64 folder in your darknet build.

Also download Tesseract from here Link to download tesseract

Dont forget to download tesseract and change the path in the python file to the location of tesseract.exe in your local machine.

Download the weights from my google drive. LINK --> Weights here

The Yolo-v4 model is custom trained on license plates from the Google open images dataset. LINK--> here

Working:-

Our yolov4 model is custom trained on license plates from the google open image dataset Dataset for yolov4 training
We use opencv to feed the video into the yolov4 model which feeds it to the custom trained yolov4 model which inturn gives us bounding boxes for the license plates.
Each bounding box is then cropped from the frame and passed on.
After some processing using opencv the images are passed onto the tesseract OCR which inturn outputs the license plate / number plate number
The output of the yolov4 detections will be saved in the demo folder in the x64 folder in your darknet build.

yolov4-pytesseract-license-plate-detection-and-reading's People

Contributors

gautamkataria avatar

Stargazers

Fajar Dwi Utomo avatar saktheeswaranswan avatar Claus avatar Steven Wang avatar

Watchers

 avatar

Forkers

mahmoudmoumni

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.