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

  Рет қаралды 185,007

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

Пікірлер: 426
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
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 4 ай бұрын
Thank you for this video! please how do I get the License_plate_detector.pt file?
@readbhagwatgeeta3810
@readbhagwatgeeta3810 3 ай бұрын
@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 3 ай бұрын
​@@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 3 ай бұрын
How come nothing works with opencv python anyway?
@1kusqui
@1kusqui 7 ай бұрын
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 7 ай бұрын
Me alegro haber ayudado!! Saludos!! 😃🙌
@wehappyfewkd
@wehappyfewkd 4 ай бұрын
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...
@otaviocastelani8511
@otaviocastelani8511 Ай бұрын
I am working on something and this video was incredibly useful ! Thanks so much for that amazing content. You are the best.
@dkryptonut
@dkryptonut 2 ай бұрын
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 2 ай бұрын
You are welcome! Glad you enjoyed it! 😃🙌
@Amirthavarshini.V-eg8kw
@Amirthavarshini.V-eg8kw 2 ай бұрын
Hi I am facing an infinite loop ? How did you resolve it
@YMuhammadyusuf
@YMuhammadyusuf 4 ай бұрын
Super man ) Thank you for your time and effort
@SANTIAGOHERNANDEZ-jn9id
@SANTIAGOHERNANDEZ-jn9id 2 ай бұрын
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 Ай бұрын
Gracias por tu apoyo! 🙌
@joels7605
@joels7605 6 ай бұрын
This is excellent work good sir. Keep being awesome.
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
Thank you! 😃🙌
@samz84
@samz84 3 ай бұрын
You are a BEAST!! :) many thanks for your video mate :)
@ComputerVisionEngineer
@ComputerVisionEngineer 3 ай бұрын
Thank you for your support! 😃🙌
@THuynh1729
@THuynh1729 7 ай бұрын
That's a great video! Thank you very much
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
You are welcome! Glad you enjoyed it! 😃🙌
@mdabdullahalhasib2920
@mdabdullahalhasib2920 5 ай бұрын
Truly awesome explanation, sir
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
Thank you. 🙂 Glad you enjoyed it!
@leo1722467
@leo1722467 11 ай бұрын
Very nice! i maked a project like this about year ago, now i will watch your video for improves, tnx for sharing.
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
You are welcome! 😃🙌
@jasurbekgopirjonov
@jasurbekgopirjonov 3 ай бұрын
amazing tutorial. thanks for sharing it.
@ProgrammingNusantara
@ProgrammingNusantara 9 ай бұрын
you're doing great! thanks a lot 👌...
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Thank you for your support! 😃🙌
@agossadoumodeste5460
@agossadoumodeste5460 9 ай бұрын
Great Video Felipe ! Muchisima gracias
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
You are welcome! 😃
@guilhermecordeiroduarte7766
@guilhermecordeiroduarte7766 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
We are waiting sir.. Thanks alot @@ComputerVisionEngineer
@vitorhugodossantos1902
@vitorhugodossantos1902 7 ай бұрын
​@@ComputerVisionEngineeraguardamos ancioso amigo por esse vídeo !!!
@farhanhere29
@farhanhere29 6 ай бұрын
​@@ComputerVisionEngineerwhen you will upload it ?
@user-bm3te9iz2y
@user-bm3te9iz2y 6 ай бұрын
we are waiting sir@@ComputerVisionEngineer
@limpy9620
@limpy9620 6 ай бұрын
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?
@MrXemiu
@MrXemiu 15 күн бұрын
Can cars and license plates be annotated in the same image and assigned different classes, or are the datasets for the car and license plate detection models distinct? I have a similar project in mind, but I'm not sure the correct way to annotate images to first detect objects of a class, then detect objects of a different class within the detected object. Any advice is appreciated!
@nahuelmontesino2642
@nahuelmontesino2642 3 ай бұрын
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 3 ай бұрын
Sure, I will try to do a video about hyperparameters tuning. 🙌
@obensustam3574
@obensustam3574 11 ай бұрын
Great content again!!! 🤩
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Thank you! 😃💪
@atlurisaicharan4449
@atlurisaicharan4449 11 ай бұрын
@@ComputerVisionEngineer hey why my comment is not getting posted I have a query please resolve
@JorgeHernandez-ko5bb
@JorgeHernandez-ko5bb 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
@@ComputerVisionEngineer Yes, thats what i meant. Thank you!
@JorgeHernandez-ko5bb
@JorgeHernandez-ko5bb 7 ай бұрын
@@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!
@ArtistrystoriesUnleashed45
@ArtistrystoriesUnleashed45 2 ай бұрын
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?
@ashenafimorkate6389
@ashenafimorkate6389 5 ай бұрын
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 5 ай бұрын
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. 🙌
@areeqakhan1
@areeqakhan1 7 ай бұрын
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 ?
@anjolaoluwafajinmi8893
@anjolaoluwafajinmi8893 4 ай бұрын
Thank you for this video! please how do I get the License_plate_detector.pt file?
@driesschreurs6828
@driesschreurs6828 Ай бұрын
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"?
@uoohknk6881
@uoohknk6881 9 ай бұрын
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 9 ай бұрын
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.
@Solo.0
@Solo.0 5 ай бұрын
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?
@b_28_vaidande_ayush93
@b_28_vaidande_ayush93 5 ай бұрын
its great :)
@nguyenthehoang9148
@nguyenthehoang9148 10 ай бұрын
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 10 ай бұрын
Yeah something like that would work. It would not be a perfect solution, but it would be a good estimate.
@ArYan-dh9du
@ArYan-dh9du 7 ай бұрын
Hi bro how can i download the trained model?
@alexandrelc4361
@alexandrelc4361 6 ай бұрын
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
@user-wn7qr1bh7j
@user-wn7qr1bh7j 3 ай бұрын
hello, just having one doubt instead of video can we take photos of license plate as our data for this video??
@RIDWANLEKAN-og2yx
@RIDWANLEKAN-og2yx 8 ай бұрын
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
@ivargasmx
@ivargasmx 4 ай бұрын
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
@MrFedeghe
@MrFedeghe 9 ай бұрын
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 9 ай бұрын
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.
@cinta-rn7fi
@cinta-rn7fi 3 ай бұрын
can i use input video from camera or cctv?
@duongminhtri9774
@duongminhtri9774 27 күн бұрын
What assessment methods and assessment sets can I use for this model?
@kurtdecena8681
@kurtdecena8681 2 ай бұрын
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 2 ай бұрын
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. 🙌
@chaimaez6651
@chaimaez6651 4 ай бұрын
Can this be used to delect using live camera and nit a video??
@user-bm3te9iz2y
@user-bm3te9iz2y 6 ай бұрын
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 6 ай бұрын
Do you mean the object detector is detecting cars that are not in the video?
@sethuraman4457
@sethuraman4457 8 ай бұрын
getting following error ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
@tarekt8571
@tarekt8571 11 ай бұрын
Hi sir , in parking spots video, Where did you get the dataset of images from?
@tabtaboun
@tabtaboun 4 ай бұрын
No body know 😶
@haze2091
@haze2091 10 күн бұрын
how should i create the 'test.csv' file? Is it me that create it or the programme automatically create the 'test.csv'?
@muhammadfaizal907
@muhammadfaizal907 11 ай бұрын
@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 11 ай бұрын
You would need to do several changes in the visualization so it is done on 'real time', as the video is being processed.
@lewishuxtable1892
@lewishuxtable1892 8 ай бұрын
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 8 ай бұрын
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 8 ай бұрын
then the enthusiast tier may be for me ! :)@@ComputerVisionEngineer
@gangaramyadav6104
@gangaramyadav6104 5 ай бұрын
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
@devdiptabiswas3072
@devdiptabiswas3072 20 күн бұрын
I tried to run this code in my system with a pretrained-model yolo model for license plate recognition but I'm having these issues 1) the results are not being written in the csv file 2) when showing the frames that the model is extracting are oddly tiny it would be helpful if someone can explain what is going on as I am confused regarding this
@Tuoc_Nguyen
@Tuoc_Nguyen 7 ай бұрын
I'm having difficulty recognizing the embossed text on the product, do you have any solution? Please reply me
@chanc31
@chanc31 3 ай бұрын
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
@XoyTech
@XoyTech 11 ай бұрын
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 11 ай бұрын
Para verlo en tiempo real son varios muchos cambios, tendrias que editar la visualizacion y 'enchufarla' al main file.
@SmarTechZ
@SmarTechZ 11 ай бұрын
@@ComputerVisionEngineer estoy interesado igual en tener un ip camera como fuente de video y procesar el video en tiempo real, que necesito modificar?
@VinhVu-jm5bd
@VinhVu-jm5bd 13 күн бұрын
How do I use this model to recognize license plates on my real-time video captured in real life? Can you help me edit the Sort file properly!
@gertel86
@gertel86 4 ай бұрын
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 3 ай бұрын
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. 🙌
@df-hh7yd
@df-hh7yd Ай бұрын
Cool
@nauffaliqbal7921
@nauffaliqbal7921 7 ай бұрын
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 7 ай бұрын
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. 🙌
@almosfekete8790
@almosfekete8790 6 ай бұрын
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 5 ай бұрын
same issue , please help
@gangaramyadav6104
@gangaramyadav6104 5 ай бұрын
Exactly I am facing same..
@varshapatil8917
@varshapatil8917 4 ай бұрын
You have to train the model by yourself on above mentioned roboflow dataset.
@user-hi4fr1bx4v
@user-hi4fr1bx4v 11 ай бұрын
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 11 ай бұрын
Hey, in what part of the code you are getting this error?
@user-hi4fr1bx4v
@user-hi4fr1bx4v 11 ай бұрын
@@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)
@user-zn6tj8co7d
@user-zn6tj8co7d 4 ай бұрын
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 4 ай бұрын
I got the video from pexels.
@anaraliyev5366
@anaraliyev5366 9 күн бұрын
Hello! Thanks for great tuturial. I wonder why you didn't use YOLO8 tracker?
@MrGabrielVinicius
@MrGabrielVinicius 10 ай бұрын
Hello Felipe, greeting from Brazil! What do you suggest to perform the detection of two different patterns of license plates that appear in the same video?
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Hey Gabriel, try this: for every license plate try reading it as each one of your patterns, then keep the one that is read with the highest confidence score. 🤔 Not a perfect solution, but it could work. 🙌🇧🇷
@JoaoHenriqueSilvaCardozo
@JoaoHenriqueSilvaCardozo 10 ай бұрын
boa mano, voce conseguiu chegar a implementar isso?
@DuTran-pz4xf
@DuTran-pz4xf 9 ай бұрын
Hi Felipe, can you explain for me what "add_missing_data.py" file do?
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
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. 💪
@muhammadmidhat1141
@muhammadmidhat1141 11 ай бұрын
Bravo Man
@seanjoloan9596
@seanjoloan9596 11 ай бұрын
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 11 ай бұрын
good idea bro, this topic will help me in my capstone project! 💜💜
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
What do you mean with 'illegal parking'?
@seanjoloan9596
@seanjoloan9596 11 ай бұрын
@@ComputerVisionEngineer illegal parking detection of vehicle who's illegaly parked in the sidewalks, Appeciate ur comment bro,Thankyou so much ❤️🙏
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
@@seanjoloan9596 oh I see, ok, I will try do a video about it in the future 🙌
@seanjoloan9596
@seanjoloan9596 11 ай бұрын
illegal parking violation is a common problem here in the Philippines surely people will love this to happen, thankyou brother ❤️
@pedrocson
@pedrocson 11 ай бұрын
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 11 ай бұрын
Try installing in this order: numpy, lap, ultralytics
@pedrocson
@pedrocson 11 ай бұрын
@@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.
@NurIndahPratiwi71
@NurIndahPratiwi71 9 ай бұрын
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 9 ай бұрын
It may be related there were no detections in that frame. Try to see if that is the case.
@NurIndahPratiwi71
@NurIndahPratiwi71 9 ай бұрын
@@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 6 ай бұрын
​@@NurIndahPratiwi71 Hey, I ran into the same error while using another video as input. Could you please help me if you solved it?
@francoisplessier9913
@francoisplessier9913 9 ай бұрын
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 9 ай бұрын
Thank you for your feedback! 🙌
@vasilisvasileiou8406
@vasilisvasileiou8406 Ай бұрын
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?
@ComputerVisionEngineer
@ComputerVisionEngineer Ай бұрын
The code assumes each car bounding box has only one license plate, if there are two license plates you may need to do some modifications.
@user-vf9ir4rs6g
@user-vf9ir4rs6g 10 ай бұрын
Hello, thank you for the video. i'm trying to use same algorithms with different video file but when no car detected i get an error. Please how could i handle that ?
@puterinursabrina7345
@puterinursabrina7345 8 ай бұрын
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 8 ай бұрын
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 🙌
@khavkhaiphannouk
@khavkhaiphannouk 6 ай бұрын
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
@quillaja
@quillaja 6 ай бұрын
Is there a reason you choose to use abewley/sort instead of yolo's built-in tracking?
@olhodetigre777
@olhodetigre777 6 ай бұрын
Estou com a mesma dúvida.
@ComputerVisionEngineer
@ComputerVisionEngineer 6 ай бұрын
​@@olhodetigre777 No reason. I hadn't had the time to familiarize myself with yolov8 built in tracking before making the video. 🙌
@miyamoto69
@miyamoto69 11 ай бұрын
Hi! Thanks for the tutorial, Is it possible to use a remote camera instead of the .mp4 file?
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Hey, you would need to make some adjustments in the code, but yes it is possible. 🙌
@amar_39
@amar_39 9 ай бұрын
@@ComputerVisionEngineer I have the same question for the live camera can you please explain the steps in short It would very greatfull for us ?
@yuqianglin4514
@yuqianglin4514 10 ай бұрын
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 10 ай бұрын
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 🙌
@mihirdeshmukh8106
@mihirdeshmukh8106 6 ай бұрын
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 6 ай бұрын
The dataset is linked in the github repository. Number of epochs was 20 if I remember correctly. 🙌
@mihirdeshmukh8106
@mihirdeshmukh8106 6 ай бұрын
@@ComputerVisionEngineerThank you Sir
@pasinduminiruwan4990
@pasinduminiruwan4990 6 ай бұрын
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
@sazzathhossain6211
@sazzathhossain6211 10 ай бұрын
Hello Mr. I want the Highway video , could you please share the highway video link !
@mayaltaee2963
@mayaltaee2963 3 ай бұрын
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_ 3 ай бұрын
from where to get that license_plate_detector.pt file ??can you plzzz guide me.......
@atugk6860
@atugk6860 5 ай бұрын
How can I run this project on my laptop from your source code, there is csv missing plz help me ....
@joelbhaskarnadar7391
@joelbhaskarnadar7391 11 ай бұрын
Super Work
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Thank you! 😃💪
@moumitanag9487
@moumitanag9487 6 ай бұрын
From where do we get the model?
@user-ux1hm6ce3e
@user-ux1hm6ce3e 9 ай бұрын
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 9 ай бұрын
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 🙌
@user-uj6qg8uv5m
@user-uj6qg8uv5m 9 ай бұрын
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 9 ай бұрын
Yeah I think it would be possible to detect the license plates using yolo nas. I will try to do it.
@yuqianglin4514
@yuqianglin4514 11 ай бұрын
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 11 ай бұрын
😂 That's quite a coincidence! 😃🙌
@yuqianglin4514
@yuqianglin4514 11 ай бұрын
@@ComputerVisionEngineer Yeah, but anyway, it's an excellent video!!!!!!!!!!!!!!❤❤❤ Gives me so much inspiration!!!!!!!!!!!!!!!!!
@Rkoleerock
@Rkoleerock 10 ай бұрын
where did you get that video?
@48_rajpatle26
@48_rajpatle26 8 ай бұрын
can you provide complete github code (your end video full folder)
@vasilisvasileiou8406
@vasilisvasileiou8406 7 ай бұрын
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 7 ай бұрын
That sounds like a cool project, I will try to find a dataset in order to make a video about that! 💪
@danielferrerhernandez8953
@danielferrerhernandez8953 5 ай бұрын
Donde podemos encontrar los recursos del video o el fichero que se importa en el segundo modelo despues de coco_model?
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
Algunos recursos estan en github, el link esta en la descripcion. El modelo para detectar license plates esta disponible para mis Patreons. 🙌
@PANDURANG99
@PANDURANG99 9 ай бұрын
can we assign color on basis of numbers like starts from 1 will assign red, number starts with 2 assign green color
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Yes, it is possible.
@wrishavsett2837
@wrishavsett2837 2 ай бұрын
Can this code be used to recognize license plates of other countries??
@vuyaninkosi82
@vuyaninkosi82 7 ай бұрын
If anyone knows how to fix this please help. I've been trying to run this project on colab but I keep getting this error " Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running" when running the main.py file, the error is linked to "from sort.sort import *" line.
@amaninaidja261
@amaninaidja261 6 ай бұрын
Vérifier le nom de fichier sort il faut le fichier nommé sort
@archishasingh7299
@archishasingh7299 2 ай бұрын
Use Agg instead of TkAgg
@harveerSingh-iy9xz
@harveerSingh-iy9xz 11 ай бұрын
Hey bro which version of python is compatible with this algorithms In your previous video I got landed into some compatibility issues that are solved after too much googling
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Hey, in this tutorial I worked with Python 3.8. Other versions of Python should work as well. 🙌
@rahaf.r8318
@rahaf.r8318 Ай бұрын
file 'test.csv' doesn't work for me I got nothing in it , can you explain why? I downloaded the whole raspatory from your Github and followed every step😢😢
@abdelilahsadik5580
@abdelilahsadik5580 10 ай бұрын
Thanks for the explanation, I would be grateful if you could send me the link to the whole file (video, data, coco, model......)
@vishaltiwari8241
@vishaltiwari8241 7 ай бұрын
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 6 ай бұрын
If you want the model you have to pay
@dantemoran8271
@dantemoran8271 8 ай бұрын
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 8 ай бұрын
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 5 ай бұрын
Hi do u have the highway video he used in project ?if yes please share it with me I need it for my project
@achrafahlabbane849
@achrafahlabbane849 Ай бұрын
From where can we get the licence plate model plz
@user-fw4hy5ec4l
@user-fw4hy5ec4l 10 ай бұрын
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 10 ай бұрын
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 10 ай бұрын
@@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 10 ай бұрын
@@user-fw4hy5ec4l sure, that is another approach that may work! Let me know how it goes! 🙌
@disarmo.oficial
@disarmo.oficial 7 ай бұрын
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.
@TheConservativeKnight6809
@TheConservativeKnight6809 9 ай бұрын
Hey Felipe, will this software work on PC that are equipped with only Integrated Graphics?
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Hey, do you mean a CPU? Yes, no GPU is needed, you can run it in a CPU.
@TheConservativeKnight6809
@TheConservativeKnight6809 9 ай бұрын
@@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 9 ай бұрын
@@ComputerVisionEngineer ?
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
@@TheConservativeKnight6809 Sure, it should work. Let me know how it goes!
@TheConservativeKnight6809
@TheConservativeKnight6809 9 ай бұрын
@@ComputerVisionEngineer Okay Gracias brother!
@fifthperson9777
@fifthperson9777 11 ай бұрын
Great, tutorial Can you make a tutorial about drowsiness detection of drivers?
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Thank you! Sure, I will try to do it. 💪
@hetti4055
@hetti4055 26 күн бұрын
How can I use this for a react native mobile app
@tiagorsa12
@tiagorsa12 3 ай бұрын
Great tutorial
@vinsmokesanji9485
@vinsmokesanji9485 11 ай бұрын
Hello Thank you for your tutorial Can you tell me what is your workstation configuration? Like gpu and cpu ram .... ?
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
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 11 ай бұрын
Thank you a lot for your response I appreciate it 🙏
@Akash484
@Akash484 11 ай бұрын
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 11 ай бұрын
I will try to do a video like that in the future., 🙌
OpenCV tutorial for beginners | FULL COURSE in 3 hours with Python
3:11:11
Computer vision engineer
Рет қаралды 49 М.
License Plate Detection Demo Using Raspberry Pi Camera
52:14
Data Slayer
Рет қаралды 73 М.
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 71 МЛН
КАК СПРЯТАТЬ КОНФЕТЫ
00:59
123 GO! Shorts Russian
Рет қаралды 2,7 МЛН
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 16 МЛН
Yolov5 DeepSORT + Lane Finding + Distance Calculation
1:06
Dean Park - AMR Labs Inc.
Рет қаралды 21 М.
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 М.
Automatic number plate recognition (ANPR) with Yolov8 and EasyOCR
13:12
Code With Aarohi
Рет қаралды 11 М.
Superpositions, Sudoku, the Wave Function Collapse algorithm.
14:28
Martin Donald
Рет қаралды 676 М.
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 58 М.
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 71 МЛН