Automatic number plate recognition with Python, Yolov8 and EasyOCR | Computer vision tutorial

  Рет қаралды 165,798

Computer vision engineer

Computer vision engineer

Күн бұрын

Code: github.com/computervisioneng/...
🎬 Timestamps ⏱️
0:00 Intro
0:30 Start
1:44 Data
2:28 License plate format
5:00 License plate detection dataset
6:00 Code walkthrough
7:24 Main process
43:45 Get car id
51:34 License plate reader
59:57 Data cleaning and visualization
1:10:09 Outro
🌍 Community 👥
Join our Discord server: / discord
Support me on Patreon: / computervisionengineer
Hashtags #
#python #computervision #anpr #licenseplaterecognition #objectdetection #objecttracking #yolov8 #easyocr

Пікірлер: 408
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Did you enjoy this video? Try my premium courses! 😃🙌😊 ● End-To-End Computer Vision: Build and Deploy a Video Summarization API bit.ly/3tyQX0M ● Hands-On Computer Vision in the Cloud: Building an AWS-based Real Time Number Plate Recognition System bit.ly/3RXrE1Y ● Machine Learning Entrepreneur: How to start your entrepreneurial journey as a freelancer and content creator bit.ly/4bFLeaC All my premium courses are available to the Computer Vision Experts in my Patreon. 😉 www.patreon.com/ComputerVisionEngineer
@anjolaoluwafajinmi8893
@anjolaoluwafajinmi8893 3 ай бұрын
Thank you for this video! please how do I get the License_plate_detector.pt file?
@readbhagwatgeeta3810
@readbhagwatgeeta3810 2 ай бұрын
@ComputerVisionEngineer Hey ! what is included in the course: Hands-on Computer Vision in the Cloud: Building an AWS-based Real Time Number Plate Recognition System, can we detect and extract license plate from video ? Will it work now? Is there any facility of help in case we face some problem. And how is that course different from this video
@ComputerVisionEngineer
@ComputerVisionEngineer 2 ай бұрын
​@@readbhagwatgeeta3810 Hey! The number plate recognition in the course is real time and based on Python and AWS, I recommend you to watch this other video first kzbin.info/www/bejne/noLKlqCsbr9mrck. If you face any problem I am available for consultations, not sure if I will be able to solve your problem but I will try. 🙂
@vm5954
@vm5954 Ай бұрын
How come nothing works with opencv python anyway?
@wehappyfewkd
@wehappyfewkd 3 ай бұрын
Your videos are so clearly explained and helpful! Also I love your accent. I really would like to use this knowledge to build a live stream that saves the plates of the idiots that use the emergency lane...
@1kusqui
@1kusqui 6 ай бұрын
Hola Felipe, muchas gracias por tus videos! Me has ayudado muchísimo en mi primera entrada en el mundo de la detección de objetos. Buen trabajo y muchos saludos!
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
Me alegro haber ayudado!! Saludos!! 😃🙌
@otaviocastelani8511
@otaviocastelani8511 16 күн бұрын
I am working on something and this video was incredibly useful ! Thanks so much for that amazing content. You are the best.
@dkryptonut
@dkryptonut Ай бұрын
Just have to say wow.....finally, someone who can actually explain the whole process in a way non-datascientists can understand. Have also watched your video about creating custom dataset annotations - another excellent video. Thank you.
@ComputerVisionEngineer
@ComputerVisionEngineer Ай бұрын
You are welcome! Glad you enjoyed it! 😃🙌
@Amirthavarshini.V-eg8kw
@Amirthavarshini.V-eg8kw Ай бұрын
Hi I am facing an infinite loop ? How did you resolve it
@YMuhammadyusuf
@YMuhammadyusuf 3 ай бұрын
Super man ) Thank you for your time and effort
@SANTIAGOHERNANDEZ-jn9id
@SANTIAGOHERNANDEZ-jn9id Ай бұрын
Nuevo suscriptor, arrancando en data science y computer vision. Admiro muchisimo tu nivel de ingles, felicitaciones y ojala algun dia hable como vos! Saludos de Arg!!
@ComputerVisionEngineer
@ComputerVisionEngineer 16 күн бұрын
Gracias por tu apoyo! 🙌
@joels7605
@joels7605 5 ай бұрын
This is excellent work good sir. Keep being awesome.
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
Thank you! 😃🙌
@leo1722467
@leo1722467 10 ай бұрын
Very nice! i maked a project like this about year ago, now i will watch your video for improves, tnx for sharing.
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
You are welcome! 😃🙌
@mdabdullahalhasib2920
@mdabdullahalhasib2920 4 ай бұрын
Truly awesome explanation, sir
@ComputerVisionEngineer
@ComputerVisionEngineer 4 ай бұрын
Thank you. 🙂 Glad you enjoyed it!
@jasurbekgopirjonov
@jasurbekgopirjonov 2 ай бұрын
amazing tutorial. thanks for sharing it.
@THuynh1729
@THuynh1729 6 ай бұрын
That's a great video! Thank you very much
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
You are welcome! Glad you enjoyed it! 😃🙌
@samz84
@samz84 2 ай бұрын
You are a BEAST!! :) many thanks for your video mate :)
@ComputerVisionEngineer
@ComputerVisionEngineer 2 ай бұрын
Thank you for your support! 😃🙌
@guilhermecordeiroduarte7766
@guilhermecordeiroduarte7766 6 ай бұрын
Hello Felipe! I was wondering if you could create a video showcasing real-time license plate recognition as well. It would be fantastic to see this in action, and I believe your expertise would make it an exceptional learning experience. Thank you for all the valuable content you provide!
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
As a matter of fact, I am currently preparing a video showcasing a real time license plate recognition system. I hope it will be ready soon. Stay tuned! 😃🙌
@Enjoyurlife1789
@Enjoyurlife1789 6 ай бұрын
We are waiting sir.. Thanks alot @@ComputerVisionEngineer
@vitorhugodossantos1902
@vitorhugodossantos1902 6 ай бұрын
​@@ComputerVisionEngineeraguardamos ancioso amigo por esse vídeo !!!
@farhanhere29
@farhanhere29 5 ай бұрын
​@@ComputerVisionEngineerwhen you will upload it ?
@user-bm3te9iz2y
@user-bm3te9iz2y 5 ай бұрын
we are waiting sir@@ComputerVisionEngineer
@kurtdecena8681
@kurtdecena8681 6 ай бұрын
This exactly i need for my Thesis, Im a computer engineering student.
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
😃 Cool! Glad the video is useful for your Thesis! 🙌
@ghjkyj
@ghjkyj 4 ай бұрын
Hlo did u made the project by watching this video? If yes then pls can u help me get the highway video he used in project
@ProgrammingNusantara
@ProgrammingNusantara 8 ай бұрын
you're doing great! thanks a lot 👌...
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Thank you for your support! 😃🙌
@JorgeHernandez-ko5bb
@JorgeHernandez-ko5bb 6 ай бұрын
Hi! @ComputerVisionEngineer. You mentioned at the beginning that it can be very challenging to detect plates as they have many shapes/backgrounds? Do you have any tips/articles/clues on how this could be done? Keep it up!
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
Do you mean a number plate reader that works with any license plate type? Maybe training a custom ocr with lots of data of different license plate types it could work. 🙌
@JorgeHernandez-ko5bb
@JorgeHernandez-ko5bb 6 ай бұрын
@@ComputerVisionEngineer Yes, thats what i meant. Thank you!
@JorgeHernandez-ko5bb
@JorgeHernandez-ko5bb 6 ай бұрын
@@ComputerVisionEngineer One last question: applying the Sobel filter(gray scale) will allow us to detect any plate with ANY background? or do we need further pre processing in order to achieve this? Thank you!
@nahuelmontesino2642
@nahuelmontesino2642 2 ай бұрын
Thanks for all these videos Felipe. Could you make a video about hyperparameters tuning for training the plate recognition model and improve the model performance?
@ComputerVisionEngineer
@ComputerVisionEngineer 2 ай бұрын
Sure, I will try to do a video about hyperparameters tuning. 🙌
@ashenafimorkate6389
@ashenafimorkate6389 3 ай бұрын
Hi, thank you for the content you create. i think you are the best out there on this topics. you said the pre-trained models are available on your patreon page what are the requirements to get it (i mean besides supporting this this great tutorials get published). or if there is any video of you showing how you trained the model on cocco dataset for example i would appreciate it. thank you.
@ComputerVisionEngineer
@ComputerVisionEngineer 3 ай бұрын
The model is available to all Patreon supporters. Alternatively, if you want to train the model yourself, in this video I also show you what is the data I used to train the model, you can train the model following any of my tutorials on how to train an object detector using yolov8 on a custom dataset. 🙌
@agossadoumodeste5460
@agossadoumodeste5460 8 ай бұрын
Great Video Felipe ! Muchisima gracias
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
You are welcome! 😃
@ArtistrystoriesUnleashed45
@ArtistrystoriesUnleashed45 Ай бұрын
Great video and explaination, I have a question regarding filtering out the number plate and retaining only the frame with the highest confidence level in my use case. I'm performing license plate detection and OCR without car detection. Will this approach be suitable for my use case?
@RIDWANLEKAN-og2yx
@RIDWANLEKAN-og2yx 7 ай бұрын
Hi, I am having challenges on how to create the content of the add_missing_data.py. Could you please explain to me once again
@user-bm3te9iz2y
@user-bm3te9iz2y 5 ай бұрын
Hi sir: i really enjoyed by this tutorial and learned a lot of things and i followed this tutorial and write the notes down on the hard paper step by step so it was really valuable tutorial and the project is successfully run and work with me. But sir one question is come up in mind that when the main file is executed that creates test file, and in test file we will have a lot of car Ids that have been detected that obviously can not be seen in the normal sample video, so what and where these car Ids is come from? thank you so much and looking forward the follow the other tutorials as well
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
Do you mean the object detector is detecting cars that are not in the video?
@chanc31
@chanc31 2 ай бұрын
Hello,i love your video..... please can it also identify plate numbers from other countries or its just from what you used to train it
@areeqakhan1
@areeqakhan1 6 ай бұрын
hi sir i have to make a project on yolo v8 in my final m.phil thesis can you please guide me can we use yolo v8 for object detection on low light data ?
@nguyenthehoang9148
@nguyenthehoang9148 9 ай бұрын
Is there a way to measure the speed of the car? In theory, I could imagine a solution to draw 2 lines and compute the distance/time with time = the subtraction between the time when the vehicle contacts line 1 and the time when the vehicle contacts line 2. However, this way only measures the speed at a determined area. It's kind of limited.
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Yeah something like that would work. It would not be a perfect solution, but it would be a good estimate.
@ivargasmx
@ivargasmx 3 ай бұрын
Hello, first of all, thank you for all the information and dedication you share on your excellent channel. I want to ask you what you recommend to make an application for the detection and recognition of Car License Plates/License Plates/Patents (ANPR) of a WEB camera or a standard video surveillance camera for a development board of medium capacity but in real time such as to give access to cars at a door or barrier (night lighting may be adequate). With the following options and know which one you recommend (if you have any other, welcome the suggestion) - Development board: Raspberry Pi, Google Coral, ASUS Thinker Edge, Jetson Nano, etc. - Programming Language: Python, C++, Java, .Net, Nod.js, etc. - Libraries and/or Framework / tools: Yolo, OpenCV, OCR, preferably not Cloud - To train the model that you would recommend, or if there is already one that can be purchased for my case - I am in Mexico and the license plates would only be from the country
@48_rajpatle26
@48_rajpatle26 6 ай бұрын
can you provide complete github code (your end video full folder)
@uoohknk6881
@uoohknk6881 8 ай бұрын
Is it possible to do this from a live stream or will the processing demands be too much? Ae you familiar with real-time license plate recognition from video streams?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
You may be able to do it from a live stream and make it look ~real time by processing one every n frames. I am not familiar with real time license plate recognition software from video streams.
@ArYan-dh9du
@ArYan-dh9du 6 ай бұрын
Hi bro how can i download the trained model?
@sethuraman4457
@sethuraman4457 7 ай бұрын
getting following error ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
@limpy9620
@limpy9620 5 ай бұрын
I have followed the code but instead of SORT used deepsort but I keep getting an error "non-iterable track object". I have printed the tracks and the values are present . It seems to be occuring at the point when I call get_vehicle. What could be the issue?
@XoyTech
@XoyTech 10 ай бұрын
Hola Felipe, que buenos tutoriales los de tu canal, y gracias por compartirlos con nosotros los estudiantes 🙂. Tengo una pregunta: donde puedo poner el "cv2.imshow('frame',frame)" para ver el video procesado en tiempo real...? Gracias...!!!
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Para verlo en tiempo real son varios muchos cambios, tendrias que editar la visualizacion y 'enchufarla' al main file.
@SmarTechZ
@SmarTechZ 9 ай бұрын
@@ComputerVisionEngineer estoy interesado igual en tener un ip camera como fuente de video y procesar el video en tiempo real, que necesito modificar?
@fifthperson9777
@fifthperson9777 10 ай бұрын
Great, tutorial Can you make a tutorial about drowsiness detection of drivers?
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Thank you! Sure, I will try to do it. 💪
@muhammadfaizal907
@muhammadfaizal907 10 ай бұрын
@ComputerVisionEngineer Hi thank for making this project and may I ask, which part that i've to make the adjustment if i wanna use webcam
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
You would need to do several changes in the visualization so it is done on 'real time', as the video is being processed.
@MrFedeghe
@MrFedeghe 8 ай бұрын
Excelente! Una consulta , el modelo preentrenado hay que volverlo a entrenar con el dataset? y si es asi hay que ver el otro video para entrenar el modelo? el codigo funciona pero no genera los csv porque no esta reconociendo las patentes. Saludos.
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Gracias! Te referis al detector de patentes? Si usas el que entrene yo creo no tendrias que re entrenarlo. Aunque si no tenes un buen resultado con tus imagenes, podrias reentrenarlo.
@lewishuxtable1892
@lewishuxtable1892 7 ай бұрын
Great video and I was so close to joining the Patreon (first time ive ever been tempted) but £25 is just a little bit much :(
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
Thank you!! 😄 Oh, thank you so much for your feedback! Some of the posts are also available for the Computer Vision Enthusiasts tier. 😃🙌
@lewishuxtable1892
@lewishuxtable1892 7 ай бұрын
then the enthusiast tier may be for me ! :)@@ComputerVisionEngineer
@francoisplessier9913
@francoisplessier9913 8 ай бұрын
Thanks for this tutorial! I'm here because the training procedure of the EasyOCR detector does not seem to work very well, and I was wondering "what about Yolov8?". (Might be personal preference, but I found the music of the introduction was very distracting.)
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Thank you for your feedback! 🙌
@user-zn6tj8co7d
@user-zn6tj8co7d 3 ай бұрын
hey, thank you very much for this tutorial . where can I get some videos like this one that you used om the highway for testing?
@ComputerVisionEngineer
@ComputerVisionEngineer 3 ай бұрын
I got the video from pexels.
@Solo.0
@Solo.0 4 ай бұрын
Where should i use the code should I use it on vs code ? And if I should use vs code I tried to run it but I can't download the librarys what do you recommend?
@seanjoloan9596
@seanjoloan9596 10 ай бұрын
please make a cctv that can detect an illegal parking using yolov8 love your videos bro much love from the Philippines ❤🙏
@navaserokennethl.8754
@navaserokennethl.8754 10 ай бұрын
good idea bro, this topic will help me in my capstone project! 💜💜
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
What do you mean with 'illegal parking'?
@seanjoloan9596
@seanjoloan9596 10 ай бұрын
@@ComputerVisionEngineer illegal parking detection of vehicle who's illegaly parked in the sidewalks, Appeciate ur comment bro,Thankyou so much ❤️🙏
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
@@seanjoloan9596 oh I see, ok, I will try do a video about it in the future 🙌
@seanjoloan9596
@seanjoloan9596 10 ай бұрын
illegal parking violation is a common problem here in the Philippines surely people will love this to happen, thankyou brother ❤️
@insani-tv
@insani-tv 26 күн бұрын
Thanks fam! I have a question, can I also implement this by using my pc's webcam to detect license plate? If I can then how?
@anjolaoluwafajinmi8893
@anjolaoluwafajinmi8893 3 ай бұрын
Thank you for this video! please how do I get the License_plate_detector.pt file?
@driesschreurs6828
@driesschreurs6828 24 күн бұрын
I wonder as well. I think we have to make it ourselves using the technique of his other video "Train Yolov8 object detection on a custom dataset | Step by step guide | Computer vision tutorial"?
@joelbhaskarnadar7391
@joelbhaskarnadar7391 10 ай бұрын
Super Work
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Thank you! 😃💪
@miyamoto69
@miyamoto69 10 ай бұрын
Hi! Thanks for the tutorial, Is it possible to use a remote camera instead of the .mp4 file?
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Hey, you would need to make some adjustments in the code, but yes it is possible. 🙌
@amar_39
@amar_39 8 ай бұрын
@@ComputerVisionEngineer I have the same question for the live camera can you please explain the steps in short It would very greatfull for us ?
@abdelilahsadik5580
@abdelilahsadik5580 9 ай бұрын
Thanks for the explanation, I would be grateful if you could send me the link to the whole file (video, data, coco, model......)
@sazzathhossain6211
@sazzathhossain6211 9 ай бұрын
Hello Mr. I want the Highway video , could you please share the highway video link !
@obensustam3574
@obensustam3574 10 ай бұрын
Great content again!!! 🤩
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Thank you! 😃💪
@atlurisaicharan4449
@atlurisaicharan4449 9 ай бұрын
@@ComputerVisionEngineer hey why my comment is not getting posted I have a query please resolve
@yuqianglin4514
@yuqianglin4514 10 ай бұрын
Hi Mate, I am using the same video stream and trying not to use the machine learning to achive the number plate identification for the last three months😂😂😂; Imaging how suprising I saw this video!
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
😂 That's quite a coincidence! 😃🙌
@yuqianglin4514
@yuqianglin4514 10 ай бұрын
@@ComputerVisionEngineer Yeah, but anyway, it's an excellent video!!!!!!!!!!!!!!❤❤❤ Gives me so much inspiration!!!!!!!!!!!!!!!!!
@Rkoleerock
@Rkoleerock 9 ай бұрын
where did you get that video?
@b_28_vaidande_ayush93
@b_28_vaidande_ayush93 4 ай бұрын
its great :)
@mihirdeshmukh8106
@mihirdeshmukh8106 5 ай бұрын
Hello Sir! I was wondering about how you trained the license plate detector model. Can you please tell, how many images you used to train the model, and on how many epochs? I have trained the model using 1400 images, at 40 epochs. But I'm not sure if its giving me the best possible results. Thank you so much for all the tutorials, they're awesome!
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
The dataset is linked in the github repository. Number of epochs was 20 if I remember correctly. 🙌
@mihirdeshmukh8106
@mihirdeshmukh8106 5 ай бұрын
@@ComputerVisionEngineerThank you Sir
@pasinduminiruwan4990
@pasinduminiruwan4990 5 ай бұрын
Hello do you have "license_plate_detector.pt" this file with you. If you have can you please share it with me because it not showing in github repository
@user-uj6qg8uv5m
@user-uj6qg8uv5m 7 ай бұрын
Hello Felipe, Is it possible to to the same thing but with yolo-nas? If so can you make a video on it please, I have been trying to work on this for 3 weeks and I am stuck on it so it would help a lot.
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
Yeah I think it would be possible to detect the license plates using yolo nas. I will try to do it.
@NurIndahPratiwi71
@NurIndahPratiwi71 8 ай бұрын
Hi Felipe, I'm trying to change the input video and raise error as below: "line 54, in iou_batch xx1 = np.maximum(bb_test[..., 0], bb_gt[..., 0]) ValueError: operands could not be broadcast together with shapes (0,) (1,6)." How can I handle that?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
It may be related there were no detections in that frame. Try to see if that is the case.
@NurIndahPratiwi71
@NurIndahPratiwi71 8 ай бұрын
@@ComputerVisionEngineer Ok, I'll check later then. What if I wanna try detect from a set of images, what line should I modified?
@mihirdeshmukh8106
@mihirdeshmukh8106 5 ай бұрын
​@@NurIndahPratiwi71 Hey, I ran into the same error while using another video as input. Could you please help me if you solved it?
@gertel86
@gertel86 3 ай бұрын
Hello, I am interested in the license plate detector mentioned in the tutorial for automatic number plate recognition using Python, YOLOv8, and EasyOCR. Could you please guide me on where I might obtain this detector? Additionally, I'm curious if the detector is tailored to the license plates of a specific country and if there are instructions available on how to adjust it for recognition of plates from other countries. Thank you for your assistance.
@ComputerVisionEngineer
@ComputerVisionEngineer 2 ай бұрын
Hi, the trained model is available in my Patreon. Regarding the object detection, it is likely to work in any other licence plate type, regarding reading the content you may need to adjust the code so it works with other types of license plates. 🙌
@cinta-rn7fi
@cinta-rn7fi 2 ай бұрын
can i use input video from camera or cctv?
@PANDURANG99
@PANDURANG99 8 ай бұрын
can we assign color on basis of numbers like starts from 1 will assign red, number starts with 2 assign green color
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Yes, it is possible.
@raymondmichael4987
@raymondmichael4987 6 ай бұрын
Finally, found a channel I can learn this topic. Can this work with raspiberry pi 4 with 8gb of ram!? Also do you a tutorial I can learn for me to collect my custom data. Thanks. Subbed
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
I haven't tested it in a Raspberry pi, if you test it let me know how it goes!
@vasilisvasileiou8406
@vasilisvasileiou8406 10 сағат бұрын
I have a question, what if for example a car bounding box has 2 number plates, does this code work for it, or do we need to do some modification?
@alexandrelc4361
@alexandrelc4361 5 ай бұрын
Hello , in my code on colab, the line ' from sort.sort import Sort' get the error message "name 'Sort' is not defined ' , can you help to fix ? When i import util module,everythings ok.Tks
@DuTran-pz4xf
@DuTran-pz4xf 8 ай бұрын
Hi Felipe, can you explain for me what "add_missing_data.py" file do?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Hey, for each license we will have missing values in those frames where we don't detect the license plate, or where the number plate we get doesn't comply with our format. So we compute those missing frames by interpolated the data from the closest available frames. 💪
@user-wn7qr1bh7j
@user-wn7qr1bh7j 2 ай бұрын
hello, just having one doubt instead of video can we take photos of license plate as our data for this video??
@yuqianglin4514
@yuqianglin4514 9 ай бұрын
Excellent tutorial, when I am trying to understand more about this code, I wonder where could I find more detailed information about the coco_model. I tried to find it on the link you provide, syr I find nothing. Could you pls provide me like a link about the cocomodel?
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Thank you! Sure, the 'coco model' is a model trained with the coco dataset. This is the official site of the coco dataset: cocodataset.org 🙌
@tarekt8571
@tarekt8571 10 ай бұрын
Hi sir , in parking spots video, Where did you get the dataset of images from?
@tabtaboun
@tabtaboun 3 ай бұрын
No body know 😶
@quillaja
@quillaja 5 ай бұрын
Is there a reason you choose to use abewley/sort instead of yolo's built-in tracking?
@GabrielLima-eg8ry
@GabrielLima-eg8ry 5 ай бұрын
Estou com a mesma dúvida.
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
​@@GabrielLima-eg8ry No reason. I hadn't had the time to familiarize myself with yolov8 built in tracking before making the video. 🙌
@kurtdecena8681
@kurtdecena8681 Ай бұрын
Hello Computer Vission Engineer , i just want to ask if there are something you recommend to replace openCV in my project? Because im using IP cam as real time video and it cant support high resolution of the ip cam, it so lag and fps drop and crash after a mins. But if i try to reduce resolution to 720p and 10 fps it work fine. I think openCV has a problem in high resolution IP cam. And do you have also recommend for o.s?
@ComputerVisionEngineer
@ComputerVisionEngineer Ай бұрын
Hello, OpenCV is usually a very efficient image processing library, it would be hard to find another library that works better in terms of performance, but you can try with Pillow and scikit-image. 🙌
@puterinursabrina7345
@puterinursabrina7345 7 ай бұрын
Hi, when i run the code at 9:16 ('/models/license_plate_detector.pt' it gives an error which is no directory found. May i know how to resolve this problem?
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
You need to create a directory called 'models' and you also need the 'license_plate_detector.pt' file. In order to download/produce the file take a look at the readme file of this project's repository. You can either train your own license plate detector by using the same data I used and following the same approach I followed, or you can just download the model from my Patreon here: www.patreon.com/posts/license-plate-87407533 🙌
@dantemoran8271
@dantemoran8271 7 ай бұрын
Hi Friend! i have a problem, When trying the example video, the program detects the license plates and their letters, but when trying a video of cars from Chile, it only detects the license plates, but cannot decipher the letters, what do you think is the reason?
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
It may be related chilean license plates may not follow the same format as uk license plates. Try to edit the functions license_complies_format and format_license from util.py file, so they are fit to work with chilean license plates. 🙌
@ghjkyj
@ghjkyj 4 ай бұрын
Hi do u have the highway video he used in project ?if yes please share it with me I need it for my project
@chaimaez6651
@chaimaez6651 3 ай бұрын
Can this be used to delect using live camera and nit a video??
@muhammadmidhat1141
@muhammadmidhat1141 10 ай бұрын
Bravo Man
@neharneharimran5990
@neharneharimran5990 8 ай бұрын
Dear Felipe,it's a wonderful video huge thanks for you.. I followed your video but got stuck as my test.csv file has no data in it as it produced and my terminal keeps running for a long time plzz help me
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
The csv file you are producing is empty? Take a look the column names, they should match with the ones I am using in the video.
@user-ux1hm6ce3e
@user-ux1hm6ce3e 8 ай бұрын
Hello Felipe, i am trying to find the license plate detector on git and I can't find it. As you have said that it is on git but it is not on git
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Hello, I moved the model, it is now available as an additional perk to my Patreons. Check it out here www.patreon.com/posts/license-plate-87407533 🙌
@vinsmokesanji9485
@vinsmokesanji9485 10 ай бұрын
Hello Thank you for your tutorial Can you tell me what is your workstation configuration? Like gpu and cpu ram .... ?
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Hey, I use my local computer for general purpose tasks and the cloud for training large machine learning models. These are the specs of my local computer: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz Iris Plus Graphics G7 16 GB ram
@vinsmokesanji9485
@vinsmokesanji9485 10 ай бұрын
Thank you a lot for your response I appreciate it 🙏
@vuyaninkosi82
@vuyaninkosi82 6 ай бұрын
Hey Felipe, I'm having trouble running this project on colab could you please post a video explaining how it can be done on colab
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
I will try to make a video explaining how to do it in a google colab. 🙌
@navithfernando3834
@navithfernando3834 7 ай бұрын
thanks for this video can i used different video for detect number, it will help for my final year project thank you
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
You are welcome! Sure, you can use a different video.
@navithfernando3834
@navithfernando3834 6 ай бұрын
Is there any project road line crossing vehicle detection system
@navithfernando3834
@navithfernando3834 6 ай бұрын
I mean when vehicle cross the line detect it and save there number plate and time to a database
@navithfernando3834
@navithfernando3834 6 ай бұрын
Or when road line crossing moment picture capture and save to the database and send a notification
@df-hh7yd
@df-hh7yd Күн бұрын
Cool
@TheConservativeKnight6809
@TheConservativeKnight6809 8 ай бұрын
Hey Felipe, will this software work on PC that are equipped with only Integrated Graphics?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Hey, do you mean a CPU? Yes, no GPU is needed, you can run it in a CPU.
@TheConservativeKnight6809
@TheConservativeKnight6809 8 ай бұрын
@@ComputerVisionEngineer No I mean't I have a laptop that has integrated Graphics card i.e Intel Iris which comes pre-attached with CPU chip.
@TheConservativeKnight6809
@TheConservativeKnight6809 8 ай бұрын
@@ComputerVisionEngineer ?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
@@TheConservativeKnight6809 Sure, it should work. Let me know how it goes!
@TheConservativeKnight6809
@TheConservativeKnight6809 8 ай бұрын
@@ComputerVisionEngineer Okay Gracias brother!
@user-hi4fr1bx4v
@user-hi4fr1bx4v 10 ай бұрын
thanks so much for this! i have a question. i am trying to replace vehicles = [2, 3, 5, 7] with vehicles = [0] to detect people but i am running into this error: ValueError: operands could not be broadcast together with shapes (0,) (1,2). any idea why?
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Hey, in what part of the code you are getting this error?
@user-hi4fr1bx4v
@user-hi4fr1bx4v 10 ай бұрын
@@ComputerVisionEngineer Traceback (most recent call last): File "main.py", line 39, in track_ids = mot_tracker.update(np.asarray(detections_)) (have emailed you, YT wouldn't let me post the whole error)
@nauffaliqbal7921
@nauffaliqbal7921 6 ай бұрын
hi felipe, if i change the video, would it able to detect it too?and what first i need to download if i want to do it from scratch? yolov8?easyocr?what else?
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
Please take a look at the project's repository, but it is based on Yolov8, EasyOCR and SORT if remember correctly. The license plate detection will work most likely, in order to read the number you will need to adjust some functions defined in util.py, format_license and license_complies_format. 🙌
@user-kj9ul7gf4f
@user-kj9ul7gf4f 2 ай бұрын
Hello, that's a great work, thank you. Where can i dowland sample video btw?
@ComputerVisionEngineer
@ComputerVisionEngineer 2 ай бұрын
Hello, the sample video is from pexels www.pexels.com/video/traffic-flow-in-the-highway-2103099/ 🙌
@vasilisvasileiou8406
@vasilisvasileiou8406 6 ай бұрын
Can you do the same but with shipping containers that are put to the ground from a crane and track them along with their IDs that are located on them?
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
That sounds like a cool project, I will try to find a dataset in order to make a video about that! 💪
@adaptsecurity4281
@adaptsecurity4281 8 ай бұрын
Hello sir, Would you make it for me number plate recognition recognition
@almosfekete8790
@almosfekete8790 5 ай бұрын
Hello, can you help me with the License Plate Recognition? I don't know where should I download the "./models/license_plate_detector.pt" from, and I really need some help
@ZenoSamaOmniKing
@ZenoSamaOmniKing 4 ай бұрын
same issue , please help
@gangaramyadav6104
@gangaramyadav6104 4 ай бұрын
Exactly I am facing same..
@varshapatil8917
@varshapatil8917 3 ай бұрын
You have to train the model by yourself on above mentioned roboflow dataset.
@Akash484
@Akash484 10 ай бұрын
Please make next video on person re-identification and tracking using non overlapping cctv cameras using yolov7 or yolov8. I have been trying to make it since 2 weeks, but I am having difficulties in it, so plz help me.
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
I will try to do a video like that in the future., 🙌
@Tuoc_Nguyen
@Tuoc_Nguyen 6 ай бұрын
I'm having difficulty recognizing the embossed text on the product, do you have any solution? Please reply me
@pankajjoshi4206
@pankajjoshi4206 7 ай бұрын
Sir what if cars are too close to each other
@user-mg9ho5lb6q
@user-mg9ho5lb6q 7 ай бұрын
Hello, thanks for the video. It is great but i have a question about some details. When I use easyocr it cannot understand some characters, for example because of the type of the text, it reads 3 as 8, which causes wrong detection. How can we increase the accuracy, i mean do we need to train the model with some characters or can we easily increase it?
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
In order to improve the accuracy reading the text you would need to train an ocr. Take a look at PaddleOCR, I have seen there are some videos on youtube on how to train it with custom data. 🙌
@user-mg9ho5lb6q
@user-mg9ho5lb6q 7 ай бұрын
Thanks @@ComputerVisionEngineer 🙂
@ashutoshmishra4_3_3
@ashutoshmishra4_3_3 8 ай бұрын
dear felipe, i have done everything according to the video and the git repo but my output csv and mp4 file is not generating only output i am getting is i terminal which specifies the number of car and bus truck. the terminal is running for 1 hour . and there is no encountered error. the terminal output is something like this 0: 384x640 21 cars, 3 trucks, 59.1ms Speed: 2.6ms preprocess, 59.1ms inference, 1.0ms postprocess per image at shape (1, 3, 384, 640)
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Are you using the same video I used?
@ashutoshmishra4_3_3
@ashutoshmishra4_3_3 8 ай бұрын
@@ComputerVisionEngineer yes
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
@@ashutoshmishra4_3_3 it may take some time to produce the output video, frame resolution was huge if I remember correctly and the video was 60 fps. You could speed it up by lowering the frame rate and the frame size. Yo would need to produce the csv file again in that case.
@ashutoshmishra4_3_3
@ashutoshmishra4_3_3 8 ай бұрын
@@ComputerVisionEngineer thanks for the help
@ashutoshmishra4_3_3
@ashutoshmishra4_3_3 8 ай бұрын
@@ComputerVisionEngineer thanks for the video. it gave high insight about the yolo and easyocr. and the compilation was successful and csv file was generated. but i did not got the output video i dont know why there were no error in the program.
@gangaramyadav6104
@gangaramyadav6104 4 ай бұрын
Sorry.. but where we can find the model folder and it's file... It's not in your given git repository... ?? Could you please tell me
@atugk6860
@atugk6860 4 ай бұрын
How can I run this project on my laptop from your source code, there is csv missing plz help me ....
@netq254
@netq254 8 ай бұрын
Where do I find the repository for the car detection model?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
The repository is in the video description. 🙌
@netq254
@netq254 8 ай бұрын
@@ComputerVisionEngineer I cant find the coco model in it though! Thank you for the reply
@pedromotta4008
@pedromotta4008 10 ай бұрын
I also have an issue where I cannot intsall the libray "lap", because is it throws an error saying that the library numpy was not installed. However, it is installed in its latest version and I have used it many times. I could not find a solution for my issue on any forums...
@XoyTech
@XoyTech 10 ай бұрын
Try installing in this order: numpy, lap, ultralytics
@pedromotta4008
@pedromotta4008 10 ай бұрын
@@XoyTech Hi Grinaldo, thanks for the tip. But I've already tried that multiple times and other stuff as well. It seems to be a bug with the lap itself. I didn't find any solutions for my issue on forums.
@mayaltaee2963
@mayaltaee2963 2 ай бұрын
Hello, I traind the yolov8 (detect) on custom dataset now how can I assess the yolov8 model with test dataset where I can get Recall , Precision, mAP, confusion matrix, curvs, and accurecy.
@G.R_
@G.R_ 2 ай бұрын
from where to get that license_plate_detector.pt file ??can you plzzz guide me.......
@user-fw4hy5ec4l
@user-fw4hy5ec4l 9 ай бұрын
wouldn't be better if you firstly searched for bounding boxes of the vehicles, then get a cropped img for eachvehicle (you would get the cropped img from the vehicle's bbox) and then try to find the licence plate in the cropped image?
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Hey, I tried that approach, although it sounds like the most efficient solution, by taking a look at the video you can see most of the cars don't have their license plates visible, so the license plate detection on the car crops would be empty in most cases, so it ends up being a very inefficient approach for this particular video. 🙌
@user-fw4hy5ec4l
@user-fw4hy5ec4l 9 ай бұрын
@@ComputerVisionEngineer i see... maybe you could solve this issue by putting a mask on the img so the model would only search for cars in that specific area and continue when no plate was found on a car
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
@@user-fw4hy5ec4l sure, that is another approach that may work! Let me know how it goes! 🙌
@disarmo.oficial
@disarmo.oficial 6 ай бұрын
hello @@ComputerVisionEngineer in my country is a big issue car with no plates, do you have any suggestions to detect cars with no plates at all. If you like I can share (for free) my pt model deeply trained to detect Chilean plates.
@femiomolacholawrencetoudon3908
@femiomolacholawrencetoudon3908 8 ай бұрын
I AM A BIG FAN BUT I WOULD ALSO LIKE YOU TO DO IT FROM A REAL-TIME SURVEILLANCE CAMERA
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Ok, noted. I will try to do it real time. 🙌
@ghjkyj
@ghjkyj 4 ай бұрын
Hi pls give the link to download the highway video pls I need it for my project 😢
@moumitanag9487
@moumitanag9487 5 ай бұрын
From where do we get the model?
@khavkhaiphannouk
@khavkhaiphannouk 5 ай бұрын
Hello sir, I got these errors main.py", line 13, in mot_tracker = Sort() NameError: name 'Sort' is not defined thought I followed all your steps
@Micha-gv8gv
@Micha-gv8gv 10 ай бұрын
Hey, good job. When i try run an app i have problem with sort. I have message: Import "sort.sort" could not be resolved.
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Hey, make sure you clone 'sort' repository, in the video I explain two different ways to do it, starting from minute 17:21. 🙌
@wrishavsett2837
@wrishavsett2837 Ай бұрын
Can this code be used to recognize license plates of other countries??
@vishaltiwari8241
@vishaltiwari8241 6 ай бұрын
Hi champ, I cloned this repository, but I can't find the model folder which you used to detect the license plate. If possible, can you provide me that. Pls it's a kind request
@mrtea3122
@mrtea3122 5 ай бұрын
If you want the model you have to pay
Блоховирус !🦠 #симба #тигра #булли
00:57
Симбочка Пимпочка
Рет қаралды 9 МЛН
PILIHLAH PASANGAN KAUS KAKI 🧦 MEMBERSIHKAN KAKI
00:17
One More Indonesia
Рет қаралды 109 МЛН
Automatic number plate recognition (ANPR) with Yolov9 and EasyOCR
11:38
I Ran a Raspberry Pi License Plate Scanner for 2 Hours
18:35
Data Slayer
Рет қаралды 23 М.
License Plate Detection With YOLOv8
24:46
Tech Watt
Рет қаралды 2,1 М.
Object Tracking with Opencv and Python
30:03
Pysource
Рет қаралды 583 М.
Simple YOLOv8 Class for Object Detection with Webcam in Real-time
18:02
Блоховирус !🦠 #симба #тигра #булли
00:57
Симбочка Пимпочка
Рет қаралды 9 МЛН