/License-Plate-Recognition-Yolo

Licence plate recognation from video and photo

Primary LanguagePython

License-Plate-Recognition-Yolo

License plate recognition from video and photo

In this project, I trained my module with Google Colab, and then I added this trained file in python by using Yolov3.

1-Creating Dataset

First of all, we need to create a dataset of our model about what it is. We will download images and then mark the license plates on each image. To do this I used the app which name is 'LabelImg'

image

You can use this extension to download images

image

And this is the app that I use

image

image

We mark each image that includes the license plates and we determine our class which name is License Plate.

2-Upload Files On Google Drive

After creating the dataset we are gonna create a file on google drive and upload it and then thanks to google colab we'll train our model

image

3-Training Model With Google Colab

We completed our dataset and uploaded it on drive. Now, we'll train the model thanks to colab and 'Train_YoloV3_Multiple.ipynb'

image

image

image

Make sure select the GPU during the training

image

We opened .ipynb files and started to train our model by following the steps. Here we should arrange some changes like class name, class numbers, and configuration settings.

image

After complete all of the steps finally, we reached the files that we need. We are going to download the files ‘yolov3_training_last.weights’, ‘yolov3_testing.cfg’, 'classes.txt'.

4-Coding

We completed the hardest part now we will add these files in our .py files then we'll start coding to get the results. You can access the codes from my directory.

5- Result

-VIDEO OR CAMERA-

image

-IMAGE-

image

image

image

image

image

I've tried to tell as far as I can That's all for now Have a nice day