Coder Social home page Coder Social logo

trellixvulnteam / licence_plate_detection_d7tz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zafarrehan/licence_plate_detection

0.0 0.0 0.0 44.73 MB

This repository uses a custom trained model trained on SSDMobileNetV2 to detect licence plates in images

Shell 0.41% C++ 1.62% Python 91.25% Jupyter Notebook 6.33% Dockerfile 0.05% Starlark 0.34%

licence_plate_detection_d7tz's Introduction

Licence Plate Detection

This repository uses custom-trained MobileNet-SSD V2 model for Object Detection to detect Licence plates in Images

This model will only detect one class of object i.e. Licence Plates
The explained training of the model can be found in my training repo here : https://github.com/zafarRehan/tensorflow_transfer_learning

Required Libraries

pip install opencv-python
pip install numpy
pip install tensorflow

Contents

1. exported-model:

This folder contains the trained model that we got as the result from tensorflow_transfer_learning

2. models:

This folder is the official Tensorflow's models library https://github.com/tensorflow/models which is needed for custom training a tensorflow model and in this case loading the custom trained model. This repo also has cool drawing functionalities which I used for drawing the bounding boxes over image.

3. custom.pbtxt:

This file contains the class labels and is the same file used while training the model.

4. detect.py:

The python file which consists the code to
1. Load Model
2. Detect Licences
3. Draw the output over image

Running the code

1. In order to run the code you must have tensorflow 2.2 or above intalled
2. Make sure to change your present working directory to path to repo folder + licence_plate_detection/models/research
3. Run the following code:
protoc object_detection/protos/*.proto --python_out=.

4. Change the BASE_PATH in line 10 of the code as guided in comment
5. Proceed to run the code



The code is well-commented so more details can be found in comments



Input Images



Output Images

licence_plate_detection_d7tz's People

Contributors

trellixvulnteam avatar zafarrehan 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.