Skip to content

osmansefayuksel/Automatic-Number-Plate-Recognition-with-YOLOV5

Repository files navigation

Automatic Number Plate Recognition with YOLOv5

Welcome to Automatic Number Plate recognition project

Firstly, YOLOv5 (You Only Look Once) algorithm was used in this project. We create our model by training our data in the Yolov5 algorithm. Since the labels in our data are in XML format, we need to make them suitable for the YOLOv5 algorithm. We have a pre-processing for this. We are making it ready for training in YOLOv5 algorithm. After completing the training, we export our model.

Train - Val Results


Train_batch



Train_batch



Then we determine the location of the plates in input image with the necessary functions.



Val_batch


DETECTION RESULTS


Detection 1



Detection 2



After the plate detection, the OCR algorithm is pre-processed by crop the plate part so that the plate can read the letters and numbers more easily. The pre-processing process is very important for OCR



CROPPED PLATE RESULTS


Cropped 1



Cropped 2



OCR output


OCR Ouput