Automatic number plate recognition (ANPR) with Yolov9 and EasyOCR
Vložit
- čas přidán 4. 03. 2024
- Automatic Number Plate Recognition (ANPR), also known as License Plate Recognition (LPR), is a technology that uses optical character recognition (OCR) to automatically read and interpret license plates on vehicles.
For queries: You can comment in comment section or you can email me at aarohisingla1987@gmail.com
Demo video: github.com/AarohiSingla/YOLOv...
ANPR technology is widely used for various purposes, including:
Traffic Management: Monitoring and managing traffic flow and congestion.
Law Enforcement: Identifying and tracking vehicles of interest, such as stolen cars or those associated with criminal activities.
Parking Management: Enforcing parking regulations and managing parking lots.
Toll Collection: Automating toll booths for efficient and fast collection.
Border Control: Monitoring vehicles at border crossings for security purposes.
#computervision #anpr #yolo #yolov9 #yolov8 #objectdetection #pytorch - Věda a technologie
Code is available for channel members (Contribution level 2)
Absolutely phenomenal piece of work ma'am.
I have trained. But the weight folder inside run folder is showing empty. There is no confusion matrix visible. Please tell me why that happened.
Good one
Hey Aarohi! Thanks for your videos. I'm updating myself with the latest YOLOs from your channel. Much appreciated effort!
All the Best! :D
Thank you so much for your kind words and support! I'm delighted to hear that you're finding the YOLO tutorials on my channel helpful in keeping yourself updated with the latest advancements. Wishing you all the best in your learning journey! 😊🚀
mam u r up to the updates in deep learning mam ,this very helpful for those who are interested to learn deeplearning ,i'm glad to have your channel in youtube
It's my pleasure
Exceptionally very well explained
Glad it was helpful!
Hi , tks for sharing your knowledge , you are very didactic, can you post the github link to all the files.
Since you have trained the model with a new dataset, so will it be able to predict the the type of vechiles like car,bus,etc as well along with the license plate at the same time?
Yes, You can train the model to detect car, bus etc with license plate also
thanks for sharing, mam
Most welcome 😊
Keep up the good work 👍👍
Thanks
Nice work.
Does this works well when the car is not right in front of the camera?
I had problems with that in my previous projects...
It depends how clear the number is visible if the vehicle is not in front of camera.
Where can I find cfg file for training?
Great work, easy to follow
Where can I get this sample demo video from?
github.com/AarohiSingla/YOLOv9/blob/main/a.mp4
Please can you post the github link to all the files
How many hours does it take to train this model? There is no output from output cell displayed so i dont know the progress
ON RTX 3090, it took around 30 minutes
something went wrong my weights folder is empty, can any one help me
Can you do tutorial of yolo training on custom dataset and then apply it in c# code to do real time detection and offline too on webcam.
Sorry, I don't have experience in c#
can you gift link repository?
mam can you please guide
how to use this model to work directly on live feed or on cctv camera
Just change the source to 0 in case of webcam and if you want to test on rtsp stream then provide the link of your stream in source parameter.
Thanks
Thanks
can you make streamlit web application for this types of project?
Noted!
mam the dataset that you mentioned has been deleted can you provide some other link for it?
You can pick any other dataset related to license plates from Roboflow universe
Can you please a make video for explainable AI for yolov9..
grad cam or eigen cam ..any method
I will try
Please share the full code for Automatic Number Plate Recognition (ANPR) project
Shared on your email
why showing this error when starting training command
urllib.error.URLError:
To resolve it, ensure your system's date and time are correct, update SSL certificates, and verify network configurations.
Mam is this possible to Apply ANPR to live video stream ?
Yes but implementing ANPR on a live video stream can be resource-intensive, especially if you're processing high-resolution video in real-time.
why after running my weights folder is empty ? where i went wrong mam
same here bro. Did you resolve that?
What GPU you are using?
Rtx 3090
Thank you for this great video mam.
I tried to run the model on my system. Everything works fine until train custom model step. On the prediction with trained model step, it shows me this error
AttributeError: 'list' object has no attribute 'device'
Edit:
Solved this problem. But on last step, another error showed up.
AttributeError: 'Annotator' object has no attribute 'draw'
Can you help regarding this?
Open utils/general.py
Line no - 903 Replace prediction = prediction[0] with prediction = prediction[0][0]
Hey @IgrisSama how did you solve the first error "AttributeError: 'list' object has no attribute 'device'" ?
@@abhinash-bhagat @codewitharohi has given the solution
@@IgrisSama Yup. I was changing the code in my local files when I was working on Collab. It's solved now after I modified it on drive's file.
( yolov9-e_custom.yaml ) doesn't exist in the models/detect file
you can download it from yolov9 github repo
@@CodeWithAarohi so does that mean that i will have to paste the downloaded model and peste it in my model in yolov9 and change from yolov9-e.yaml to yolov9-e-converted.pt in this command
{ python train_dual.py --workers 8 --batch 8 --img 640 --epochs 200 --data data.yaml --weights ../yolov9-e.pt --device cpu --cfg models/detect/yolov9-e.yaml --hyp data/hyps/hyp.scratch-high.yaml }
@@CodeWithAarohi now showing this error
urllib.error.URLError:
can you share code with models
thank you :)
source code please
Hello possible live vidéo ocr
Live video OCR involves capturing video frames from a camera feed in real-time, processing each frame to detect and recognize text using OCR techniques, and then displaying the recognized text on the screen. We can perform that using the code mentioned in this video because we are performing the same steps on test video.
My son is need for your help
You can mail me your query at aarohisingla1987@gmail.com