Learn Advance Project like A Professional
ANPR is used to detect the License Plate Number from a car.
Requirement-
- Tensorflow Object Detection API
- LabelImg
- OpenCV
- Tesseract-OCR
TRAINING PHASE -- IMAGE LABELING
- Collected the set of 5000 images (Cars along with number plate) from the sources such as Google Images. Then annotate the set of images by drawing the boundary box over the number plates to send it for the training phase.
- The Annotation gives the coordinates of license plates such as (xmin, ymin, xmax, ymax)
- Then the co-ordinates are saved into a XML file
- All the XML files are grouped and the Co-ordinates are saved in CSV file.
- Then the CSV file is converted into TensorFlow record format.
- The set of other separate 1000 images also gone through the above steps and saved as Test Record file
GPU TRAINING
- By using the Tensorflow-GPU version, the set of annotated images were sent into the Convolutional neural network called ssd-resnet where the metrics such as model learning rate, the batch of images feed into the network. The training phase of the model took several days. At last, the model came around with the positive result and detected the number plate over the input frames.
OCR PART
- Then the detected number plate is masked out by using Tensorflow Object Detection API returns bounding boxes coordinate in the format [ymin, xmin, ymax, xmax].
- By using the Google Tesseract-OCR, the picture undergoes some conversions using computer vision package then the characters are filtered out.
FINAL RESULT
EDITS ARE WELCOMED!!
......................................................................................................................................
Follow the link below to access Free Python Lectures-
https://www.youtube.com/channel/UCENc9qI7_r8KMf6-_1R1xnwInstagram-
https://www.instagram.com/python.india/
Feel free contact me on-
Email - sn.gurukul24.7uk@gmail.com
Would you share the code?
ReplyDeleteSource code
ReplyDeleteGreat job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. SSD vs HDD: Five Rounds
ReplyDelete