License Plate Recognition Using YOLOv4 Object Detection, OpenCV, and Tesseract OCR

  Рет қаралды 123,051

The AI Guy

The AI Guy

3 жыл бұрын

Learn how to implement your very own license plate recognition using a custom YOLOv4 Object Detector, OpenCV, and Tesseract OCR! In this tutorial I will walk-through custom code I have created to run object detections to find license plates, crop the license plate region, preprocess the license plate using OpenCV, and then run it through Tesseract OCR to output the license plate number. The backbone of this code is TensorFlow and it is written in Python.
#objectdetection #OCR #licenseplaterecognition
This video covers the implementation of a custom YOLOv4 model to detect license plates and numerous preprocessing techniques such as blurring, thresholding, dilation, finding contours, and character segmentation. All of these are done in order to properly prepare the license plate in order for Tesseract OCR to extract the license plate text.
GET THE CODE HERE: github.com/theAIGuysCode/yolo...
Video Breakdown:
1. Cloning or Downloading the Code for the Tutorial
2. Installing Dependencies and saving the custom YOLOv4 model
3. Explanation of the license plate recognition and code.
4. Running the License Plate Recognition on several images.
-------------------------Resources--------------------------
Train Your Own YOLOv4 Custom License Plate Object Detector in the Cloud: • YOLOv4 in the CLOUD: B...
Learn about and Run YOLOv4 Cropping Custom Function: • Crop and Save YOLOv4 O...
Running Object Counting Custom Function: • Counting Objects Using...
Running Pre-trained YOLOv4 model with TensorFlow, TFLite, TensorRT: • YOLOv4 Object Detectio...
running Custom YOLOv4 License Plate Detector Model with TensorFlow, TFLite, TensorRT: • How to Build a Custom ...
The Official YOLOv4 paper: arxiv.org/abs/2004.10934
If you enjoyed the video, please toss it a like! 👍
To Subscribe: / @theaiguy
Thanks so much for watching!
- The AI Guy

Пікірлер: 252
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Hope you enjoy this video! Let me know which field of AI or Computer Vision you want me to make videos on next? :)
@user-fe3zr1yq2b
@user-fe3zr1yq2b 3 жыл бұрын
Hi!) Always looking forward to your new videos !!! Thank you very much for what you are doing. Can you record a video of how to run several different models at the same time on one GPU in real time?
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Егор Романов appreciate it! I will look into for sure! Thanks.
@user-fe3zr1yq2b
@user-fe3zr1yq2b 3 жыл бұрын
@@TheAIGuy You are so cool! Make yourself a sponosor button on the channel!
@cpatz1000
@cpatz1000 3 жыл бұрын
Maybe some satellite image analysis?
@7777777SCANIA
@7777777SCANIA 3 жыл бұрын
Continue with your great work! You are demonstrating that AI and CV is not so complicated as people think. There are a lot of cool things that you could "dive into", such as, path following (focused on autonomous driving, it is such an amazing field and a lots of CV is used) and a real-time entrance system with facial recognition algorithms. Hope you continue with your positive vibe and teaching in a such simple way. In college, my professors always advised myself to follow the KiSS protocol (Keep it Simple and Stupid) xD Thanks a lot for your work ;)
@raymondmichael4987
@raymondmichael4987 3 жыл бұрын
I spend several minutes reading comments, to my surprise, you don't only pay much attention on creating good content but also you do well to answer comments. I hate those who just dump tutorials and don't even bother to attend to viewers. Keep the good work. Greetings from Tanzania 🇹🇿
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Appreciate the kind words. Thanks and wishing you the best.
@akshayjaryal8930
@akshayjaryal8930 3 жыл бұрын
Thanks @AIGUY for delivering great content.
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Wow thanks, much appreciated. All the best :)
@Claudio-gv2lz
@Claudio-gv2lz 3 жыл бұрын
thanks so much man, im doing my final year of university and im doing something similar for my final project, im still a bit confused by this because i never really used python but it was very helpful
@marypaul9627
@marypaul9627 2 жыл бұрын
Wow,your videos deserve recognition..trying it out
@NilRipamonti
@NilRipamonti 3 жыл бұрын
Thanks for the video. 9:26 It might have no meaning for your example, but some places in the world those small icons, hifens or spaces changes completely the meaning of a license plate.
@r1198100
@r1198100 3 жыл бұрын
Awesome tutorial as always!! Amazing!!
@marypaul9627
@marypaul9627 2 жыл бұрын
Just subscribed before following the video this is what have been looking for!
@shis10
@shis10 3 жыл бұрын
Very helpful video . Thanks 😃 You deserve 10M Subscriber
@edinbrodlic4564
@edinbrodlic4564 3 жыл бұрын
Great video dude! Thanks for sharing!
@mass13982
@mass13982 3 жыл бұрын
Dude....You're awesome
@levimenezes1107
@levimenezes1107 3 жыл бұрын
Congratulations on the work, this video is helping me a lot, you could show how to use these same techniques on android
@ecereview6204
@ecereview6204 2 жыл бұрын
Hi, nice video! but I’m curious what is the mAP of your custom weights and what iteration did you stop to get that kind of precision?
@tewodrosgebre204
@tewodrosgebre204 2 жыл бұрын
Thank you for your contribution.
@hammadahmed8952
@hammadahmed8952 3 жыл бұрын
Thank you so much you really help me allot in my project stay happy.
@avielalexander5005
@avielalexander5005 3 жыл бұрын
Amazing, Thanks for this one! When using a YoloV3 weights file, does it dramatically reduce the speed of detection? And also, on a standard PC with the built-in intel graphics GPU, should I opt for the CPU installation?
@isabellafukushima9120
@isabellafukushima9120 3 жыл бұрын
Wow, it feels like you have just read my mind! I've been working on this project for some time now but the tesseract ocr part is a little bit complicated for me... I've tried pytesseract as you did, but the font used in license plates in my country confuses it and the error is high. So I've been trying to finetune the tesseract with my font and well.. it has been quite a challenge. Thank you for the great content as always!
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Thanks for the kind words!
@rubyonrail1875
@rubyonrail1875 3 жыл бұрын
I agree with you on that..Tesseract does always work perfectly. .Another way would be to use a cloud API like AWS detect_text() function which performs better. But again, you want a local solution and nothing to do with cloud I presume.
@meudta293
@meudta293 3 жыл бұрын
I had madee this project before de lanch of yolov3, now will use the v4
@isabellafukushima9120
@isabellafukushima9120 3 жыл бұрын
@@rubyonrail1875 not working with cloud computing but that's a good suggestion. thank you!
@rubyonrail1875
@rubyonrail1875 3 жыл бұрын
@Isabella Fukushima, I just realised that what I meant to say in my previous message was that "Tesseract does NOT always work perfectly"..Just a point of correction. 😊
@tusharjain8572
@tusharjain8572 3 жыл бұрын
Thanks Guy for the videos. These are easy to follow and works perfect. Just want to know if we can add new my own class to existing yolov4 classes. So that I don't need to retrain whole model from scratch?
@arthurfarrapo
@arthurfarrapo 3 жыл бұрын
Thx, i made a market bot to a game using this!
@shubhamshah6645
@shubhamshah6645 3 жыл бұрын
Hello, I've been following your tutorials, they're really awesome. I've been working on this project since 2 weeks and I've tried several settings of Tesseract but it isn't working as expected. Because of skew and other problems, I haven't tried your code yet. But anyway, keep making such good content.
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Appreciate and hope this project helps your efforts!
@shubhamshah6645
@shubhamshah6645 3 жыл бұрын
@@TheAIGuy yes, I'll try this code, as soon as I can. And thanks once again for spending so much efforts to create such amazing content.
@sagartiwari3871
@sagartiwari3871 3 жыл бұрын
Hi mate ,thanks for the amazing video. How can I save the predicted coordinates in a "Result.txt" file, like we are doing earlier ?
@damienp7675
@damienp7675 2 жыл бұрын
Great job and explanation. I learnt a lot with this tutorial and others (deepsort one). Deepsort works nice on cars with yolov4-tiny. I'm wondering if it would be possible to train this custom plate detector for yolov4-tiny and make it faster?
@mahachaabene6750
@mahachaabene6750 Жыл бұрын
Helloo great work ! I wanted to ask if I can train YOLOV4 on my own dataset to detect individual digits in the images and then recognize the digits with the customized function you used ?
@pengjiabeitang2045
@pengjiabeitang2045 2 жыл бұрын
omg! thanks a lot! this really save me
@kwankunghkg
@kwankunghkg 3 жыл бұрын
👍👍👍 Good Job , Gentleman
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Appreciate it!
@shahidumar6513
@shahidumar6513 3 жыл бұрын
Can we have a video for vehicular speed detection using YOLOv4 in TensorFlow...?
@sandeepsandy9156
@sandeepsandy9156 2 жыл бұрын
Which camera did you use for the number plate recognition
@MatheusFP104
@MatheusFP104 Жыл бұрын
Hi! One question, I have a custom trained model of YOLOv4 but I run some prunning for better perfomance but now I can't convert to tensorflow. Any ideas? Thank you!
@ridhazaghdoud6208
@ridhazaghdoud6208 3 жыл бұрын
thanks for your job,can you explain this: download the binary files and set them up on your local machine
@Glopo2k
@Glopo2k 3 жыл бұрын
First of all, thx for ur work. Because of you i started with python. And now i try to learn more about DL and object detection. I wanna test out how much slower the object detection on my GPU is in comparision to the GPU from Google Colab. In your Colab tutorials u implemented a time measurment for the object detection. Can u give me a advice how i can implement such a thin in this --info function?
@SeucheAchat
@SeucheAchat 3 жыл бұрын
I think your thresholds to determine if it is a Number bounding box or not is very crucial. If you have a big image or a very small Number plate of a far away car, than this methods might fail. I know this is only a tutourial and no industry project :)
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Thanks for the feedback. I appreciate it a lot. :)
@MrKrvo
@MrKrvo 3 жыл бұрын
Hello, thank you for the video. I wanted to ask you, is there a simple method to alternate the command for detection, e.g.: (python detect.py --weights ./checkpoints/custom-416 --size 416 --model yolov4 --images ./data/images/car2.jpg --plate) to use it on the whole folder? E.g. -images ./data/images/*.jpg (did not work)?
@neeraj.kumar.1
@neeraj.kumar.1 Жыл бұрын
Did this command work for you?
@ZarlorFinance
@ZarlorFinance 2 жыл бұрын
Hello, I found the video very interesting. I followed all the steps in order. However, when I execute the last command, I only get the image with the license plate circled in red, but without the recognition of the different characters. Would you know how to fix this problem please?
@dennyyeo12
@dennyyeo12 2 жыл бұрын
hey,not sure if you're gonna reply to this but, do you have any advice on if the license plates im reading are on black backgrounds and on white texts instead?
@TheMrNatahx
@TheMrNatahx 3 жыл бұрын
Hi! Im verry impressed by your coding and your overall knowlege and I have to say that am I a complete noob is this area. Im wonderying if you can compile all of that code and turn it into a program that you can simply run by clicking on a executable? Let me know, looking foward to ear from you!
@nirmalhasantha986
@nirmalhasantha986 3 жыл бұрын
Wow!!! Great video sir. Thank you so much for your service. By the way, is tesseract still recognise if the license number is in 2 lines? Or do we have to run a text segmentation algorithms first to detect in such scenarios. Ex: CAS- 6748 Like that. Thank you
@batorgilit
@batorgilit 3 жыл бұрын
Hi tnks to your great tutorial. And i have a question. How can i add my country car licence plate datasets to this code ?
@dontgiveup5271
@dontgiveup5271 10 ай бұрын
The video is very clear & crisp Thank you so much for such content Im facing getting the following error License Plate #: Traceback (most recent call last): File "/content/drive/MyDrive/TheAIGuy/yolov4-custom-functions-master/detect.py", line 146, in app.run(main) File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 308, in run _run_main(main, args) File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 254, in _run_main sys.exit(main(argv)) File "/content/drive/MyDrive/TheAIGuy/yolov4-custom-functions-master/detect.py", line 136, in main image = utils.draw_bbox(original_image, pred_bbox, FLAGS.info, allowed_classes=allowed_classes, read_plate = FLAGS.plate) File "/content/drive/MyDrive/TheAIGuy/yolov4-custom-functions-master/core/utils.py", line 259, in draw_bbox cv2.rectangle(image, c1, (np.float32(c3[0]), np.float32(c3[1])), bbox_color, -1) #filled cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'rectangle' > Overload resolution failed: > - Can't parse 'pt2'. Sequence item with index 0 has a wrong type > - Can't parse 'pt2'. Sequence item with index 0 has a wrong type > - Can't parse 'rec'. Expected sequence length 4, got 2 > - Can't parse 'rec'. Expected sequence length 4, got 2 when running python detect.py --weights ./checkpoints/custom-416 --size 416 --model yolov4 --images ./data/images/car2.jpg --plate Plz help me with it Thank you
@talhayaqoob889
@talhayaqoob889 3 жыл бұрын
dude you are awesome literally working on this project it helps a lot. and my question is how do i train on all vehicle like bikes,trucks etc
@TheAIGuy
@TheAIGuy 3 жыл бұрын
If you are looking to train a custom YOLOv4 model on those classses then check out one of my previous videos that goes over how to do exactly that!
@talhayaqoob889
@talhayaqoob889 3 жыл бұрын
@@TheAIGuy hi! i trains the custom yolov4 model on indonesian number plates and its showing great results could you tell me how --crop parameter works because the video detect many plates but the code does't crop many of them could you please tell me how i set its threshold value
@senolkurt7864
@senolkurt7864 3 жыл бұрын
​@@talhayaqoob889. hi. The same problem here. Have you found any solution?
@talhayaqoob889
@talhayaqoob889 3 жыл бұрын
@@senolkurt7864 the problem is not with the vehicles there are many types you should have train model on custom plates because plates may be vary in size like on bikes and cars .
@senolkurt7864
@senolkurt7864 3 жыл бұрын
@@talhayaqoob889 . my problem is it detects the plates in a video but doesn't crop and save those images in "detections" folder.
@Maisonier
@Maisonier Жыл бұрын
Amazing video. It's possible to use this for OCR in old pdf files, with low quality image? It's possible to first detect the font?, like the web WhatTheFont. After detecting the font, comparing the original image with the original font to detect the letters reducing the image proccessing and filters to the image? I tried to use the software Rescribe, but the detection is not good enough for old scanned books. Thank you for sharing all this. Greetings from Argentina.
@niyatidatwani1728
@niyatidatwani1728 3 жыл бұрын
Hey, I liked your video just want to know can we do this by uploading a bulk of images in testing like 3 to 4 car images together?
@ansrajpoot473
@ansrajpoot473 2 жыл бұрын
Thank you for this informative tutorial @The AI Guy. I want to ask about dataset. Can you share it with me? I'm also going to train YOLOv4 on custom dataset. It will help me a lot. Or you can tell me how you labeled your dataset and how much classes you have? I'm waiting of your reply. Thank you!
@rizkijunianto846
@rizkijunianto846 Жыл бұрын
Hi, I have a question, is there any way to save the plate result into csv file, should I make the save function separately or can I put into some function that already in the project?please I really need this done by the end of the month
@yangdu3090
@yangdu3090 11 ай бұрын
Where can I download your dataset, images and corresponding labels?
@mohammedmagdy5298
@mohammedmagdy5298 2 жыл бұрын
Thank you for this tutorial
@arnoldchristianloaizafabia4657
@arnoldchristianloaizafabia4657 2 жыл бұрын
Hi . To recognize license plates from images located at a large height. Does this same tutorial work?
@davidchen7826
@davidchen7826 2 жыл бұрын
Which dataset do you use in training?
@RajSharma-ui5vq
@RajSharma-ui5vq 2 жыл бұрын
Great Video.
@miguelcampos867
@miguelcampos867 3 жыл бұрын
this channel is awesome. Could you do something about how to fine tuning deep sort with Yolo with custom dataset? Actually I am working on it in my job, but i cant get it
@sonasondarasaesaria1941
@sonasondarasaesaria1941 2 жыл бұрын
Hi, I have question. my plate detector is not working. it can only detect the plate with a bounding box. I have installed the tesseract-ocr for windows. I have also installed all the library in the requirements.txt. Do you have an idea what is the possible problem? thanks.
@wlmmusic9545
@wlmmusic9545 3 жыл бұрын
anyway, I can tweak some parameters to make it more accurate, currently, it's only giving wrong predictions?
@kagaminelen51
@kagaminelen51 3 жыл бұрын
is it also possible to create a model that find the region and also extract the text ??
@ingokaminski935
@ingokaminski935 3 жыл бұрын
Really great stuff!!! I have one question... when you have the tensorflow model... can you the also train the model in tensorflow?
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Yes there are ways to train the model within TensorFlow itself. I always find training YOLOv4 in Colab easiest however.
@gabrielacuna8530
@gabrielacuna8530 3 жыл бұрын
Hey great content and delivery man! Just had a question. I did everything as instructed and can run the commands to the point where the license plate is detected in pictures. The only mishap is that I am not getting License Plate # output on my console. Do you have an idea on what the problem may be?
@yaseenyaseen24
@yaseenyaseen24 3 жыл бұрын
The tesseract is not installed properly, I had the same problem. Make sure after installing it, you set it to the system variable path.
@gabrielacuna8530
@gabrielacuna8530 3 жыл бұрын
@@yaseenyaseen24 Thank you!
@neeraj.kumar.1
@neeraj.kumar.1 Жыл бұрын
​@@gabrielacuna8530 did you get the solution?
@dhcmega
@dhcmega 2 жыл бұрын
Amazing explanation, amazing repo. Sad the recognition is pretty slow, for real usage might be to slow, as for detecting plates in a video feed.
@diegoramos1410
@diegoramos1410 2 жыл бұрын
Thank you very much, a question How can I use it in real time with a webcam?
@vinhluu2719
@vinhluu2719 3 жыл бұрын
Hi thanks @The AI Guy, When I detected license with more than 1 line, It can't be recognized. Please provide how can I improve the code to recognize 2 lines? Thank you.
@pranavsuren9489
@pranavsuren9489 3 жыл бұрын
Amazing!
@khalidmaali2108
@khalidmaali2108 3 жыл бұрын
Thank you very much for this great content. I have a question : is this proposed method work at night and confirm it the robustness against severe imaging conditions? Could you, please, make a tutorial for Real-time license plate recognition based on improved Tiny-YOLOv3 ? n morning and night if that possible Last question there is any tutorial about segmentation of characters in Arabic license plate? Thank you in advance and the best for you
@marypaul9627
@marypaul9627 2 жыл бұрын
Hi it has worked but i want to run it on webcam which command do i run for that?or video
@komalprajapati3711
@komalprajapati3711 2 жыл бұрын
Hey what if I want to do text extraction on another image like ID_CARD with 2 or more classes , can I use the same method and can I use yolov3 instead of yolov4. As I already trained my data set.
@yonilokito
@yonilokito 2 жыл бұрын
What shell do you use? Thanks
@senolkurt7864
@senolkurt7864 3 жыл бұрын
Thanks for the great video. When I use it for images it can detect plates and put text on images. When I use "python detect_video.py" function with "crop" flag it creates folders (licanse_plate, frame_150, frame_300, etc.) but there isn't any file inside these folders.
@sakibhussnain6790
@sakibhussnain6790 3 жыл бұрын
How can we do this on real time video.
@akshayjaryal8930
@akshayjaryal8930 3 жыл бұрын
Hello, @AIGuy hope you are doing well. Can you make a video related to PP-YOLO and how PP-YOLO is different from YOLOv4? Thanks !!
@sysadmin9396
@sysadmin9396 3 жыл бұрын
So I’ve been watching your vids and created a program that recognizes digits on a card. 4 digits in my case. I’m to “pass” the recognized digits to another program that will handle some math calculations and solve a math problem for me. Can I use this video to learn how to use/pass/ assign “recognized” digits to a variable of some sort for it to be later used? Hope my question makes sense!
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Yes you could modify this program to read the digits using tesseract OCR for the image or you could learn from this code how to pass a detection on to a custom function! All the best!
@sysadmin9396
@sysadmin9396 3 жыл бұрын
The AI Guy Thanks man!!
@sysadmin9396
@sysadmin9396 3 жыл бұрын
@@TheAIGuy Do you think it would be better to just use your other video?. I just found it. How to Build Object Detection APIs Using TensorFlow and Flask
@hebataha5197
@hebataha5197 5 ай бұрын
Hello! I am trying to run the following command on my command prompt pip install -r requirements-gpu.txt but it can not find tensorflow-gpu 2.3.0cr , I tried to download the tensorflow-gpu but it says failed building wheel for tensorflow GPU, is that because my graphics card is intel 520 ?
@AHM3DYAR
@AHM3DYAR 3 жыл бұрын
Thank you for tutorial! However, I am facing a little difficulty. I have installed the tesseract OCR clicking 'For Windows I recommend: Windows Install' When I tried the command 'python detect.py --weights ./checkpoints/custom-416 --size 416 --model yolov4 --images ./data/images/car2.jpg --plate' the windows photo viewer opens and says says the image is removed or moved to another place but when I open the detection image from detection folder it is there with detected car and license plate also there is no number plate written over the bounding box and on terminal window it is also not displaying it.
@shehryar99
@shehryar99 3 жыл бұрын
I am facing the same problem
@m.arifffirdaus686
@m.arifffirdaus686 Жыл бұрын
@@shehryar99 same as me, did anyone manage to solve it?
@jongameshow
@jongameshow Жыл бұрын
same for me. Any ideas how I can fix it please?
@DonEduardo243
@DonEduardo243 3 жыл бұрын
It works!!!! thank you !!! How can I train this programm with my "own" data of plates? or how can I create my "own" weight-training file?
@ShaikMoAbdullah
@ShaikMoAbdullah 3 жыл бұрын
Hi Amin. I'm getting errors from the tensorflow step. It says either tensorboard version is too high or pip version is too high. And there are errors. Bro, if you have time tomorrow, can u help me with this. I will be grateful.
@DonEduardo243
@DonEduardo243 3 жыл бұрын
@@ShaikMoAbdullah Salam Bro, good news : I think I can help you to fix this problem. Can you locate the mistake exactly? If u contact me, I can send you a step by step instruction to build the program using anaconda Regards, Amine
@abhishakea9286
@abhishakea9286 2 жыл бұрын
When I converted my own custom model to tensorflow it doesnot show any detections can you please help
@grenorange
@grenorange 3 жыл бұрын
5:50 When I enter the command, I get an error --> ValueError: cannot reshape array of size 4554552 into shape (1024,512,3,3) Can you teach me how to solve it?
@bentalla
@bentalla 3 жыл бұрын
hi man , did this tuturials works withs an AMD GPU ?
@hamza-2127
@hamza-2127 2 жыл бұрын
hey can you pls share the data set you used for training
@AryanSingh-zo7op
@AryanSingh-zo7op 2 жыл бұрын
Plz reply, can you please tell a way to package all of this in a exe sort of thing which can be uses as a command line utility for easy distribution rather than installing python and all requirements on every system I wanna use it on. Exelent work btw, Thanks a lot
@fingerprint8479
@fingerprint8479 3 жыл бұрын
Hi, is it possible to integrate it to Nodered?
@dullandal3168
@dullandal3168 3 жыл бұрын
You are a god
@TheAIGuy
@TheAIGuy 3 жыл бұрын
haha thanks so much.
@husaindungrawala9552
@husaindungrawala9552 Жыл бұрын
Can we use the custom weights in yolo v7?
@Philipe_William
@Philipe_William 3 жыл бұрын
Thanks for the excellent tutorial, but I had a problem, when running the example line, the image returns without the description of the plate, only the red square written "license plate 0.92"what did I do wrong?
@Philipe_William
@Philipe_William 3 жыл бұрын
I had installed tesseract but it was not in my environment variables, I changed it and it worked.
@jewtatja
@jewtatja 3 жыл бұрын
@@Philipe_William hi im currently having the same issue.. can you help me solve it? i tried to reinstall tesseract but it still only shows a red box with no description of the plate..thank you
@Philipe_William
@Philipe_William 3 жыл бұрын
@@jewtatja the first step: find where your tesseract files are installed, after this, put the path found in your environment variables, click Path and then new, paste the path of the tesseract files and you're done. If need more help, contact my e-mail philipe.william@gmail.com. Best Regards!
@satyawanan
@satyawanan 3 жыл бұрын
when I save the model into tensorflow format, the prediction becomes bad. I did this on google colab. And the tensorflow model's size is also way much smaller than the darknet one
@houston3414
@houston3414 3 жыл бұрын
Thank you again for the great tutorial I'm more interested, I just have one question for changing language as you said, what if the plate number is not alphabetical i.e: like Chinese What function should I use? any Idea?
@talhayousuf4599
@talhayousuf4599 3 жыл бұрын
Research has a configuration option which takes languages as flag. Like for English it is "en" , these must be Chinese too. Check that out
@michaelmutekeri8770
@michaelmutekeri8770 3 жыл бұрын
thanx mate, I am a fan. but you have left us with a job on downloading the binaries. I have installed the program on windows, but the links takes you somewhere far to download. Id you could have filtered your video and take time to show us that, as the other part are explained well already. I am working on it. I does recognition but does not extract as per your video. Looking forward for more videos
@michaelmutekeri8770
@michaelmutekeri8770 3 жыл бұрын
It was a quick fix, to add it to the path environment, if anyone get stuck on a windows machine check this video kzbin.info/www/bejne/iJOcZKiCjc6HraM
@yashwant8108
@yashwant8108 3 жыл бұрын
Dude ! Can the tesseract use a video in place of picture to read the number plate ?
@TheAIGuy
@TheAIGuy 3 жыл бұрын
As far as I'm aware Tesseract can only run on images, so that is why you need to take a frame of the video as the image input to tesseract. If there is an easier way then I'd love to know!
@danishjawaid605
@danishjawaid605 3 жыл бұрын
Great Tutorial as always
@thanhtaiphan2651
@thanhtaiphan2651 2 жыл бұрын
Can you make a video about training a custom data ( Yolov3 or Yolov4) using google colab? Thanks
@rahulbolineni4671
@rahulbolineni4671 2 жыл бұрын
Good work!!!!!!!!! but can you tell me how to run this model in cloud?
@pustisheth2731
@pustisheth2731 3 жыл бұрын
can you recognize 2 or more license plates?
@sagihaviv5675
@sagihaviv5675 3 жыл бұрын
dude can i do programming language detection in tesseract ocr?
@usamatariq944
@usamatariq944 3 жыл бұрын
sir i have trained my custom model using your yolov4 notebook. can i further use those weights in this code with colab. ?
@TheAIGuy
@TheAIGuy 3 жыл бұрын
Yes you sure can! Follow the steps in the github repo.
@thelazydeveloper
@thelazydeveloper 2 жыл бұрын
i have applied the same preprocessing steps but i get a only white images
@krysis2155
@krysis2155 3 жыл бұрын
Hey man , thanks for the great work. One thing I am facing an issue with this code. The command `python detect.py --weights ./checkpoints/ocr-416 --size 416 --model yolov4 --images ./data/images/car2.jpg --plate` doesn't throw any errors but it doesn't show the license plate number. My model is called `ocr-416`. `License Plate #: ` is the only output i get. Could you tell me what could be an issue and possibly how to fix it. Thanks ans keep up the great work
@krysis2155
@krysis2155 3 жыл бұрын
I fixed it. Gotta add tesseract to the path.
@mysterious6057
@mysterious6057 3 жыл бұрын
Add following line in utils.py : pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract' Add your installation path of tesseracr
@vamshireddy9430
@vamshireddy9430 2 жыл бұрын
@@krysis2155 hello I am facing the same issue can you please help
@benaissayasser9305
@benaissayasser9305 3 жыл бұрын
thanks bro, i need The dataset of cars on which you train the model please
@danielgray2362
@danielgray2362 2 жыл бұрын
Following your tutorial directly but gives errors after trying to load the custom .weights
@ngoctoannguyen5872
@ngoctoannguyen5872 4 ай бұрын
I have an error when i use "python save_model.py --weights ./data/custom.weights --output ./checkpoints/custom-416 --input_size 416 --model yolov4" in the screen appear "DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found" how to fix this error, help me pls!
@huzaifah_yoo6280
@huzaifah_yoo6280 Жыл бұрын
Hello Sir! I follow all your tutorials. I did this project and integrated with PYQT5. I was doing number plate detection on cpu which is extremely slow. Now I bought new laptop with graphic card. I paste same project in new laptop. It is detecting 1st frame only on video with gpu. I can't figure out what to do? Can you please help me with that, I want to display project next week!!
@marypaul9627
@marypaul9627 2 жыл бұрын
I have a serious problem and question please how can i reach you?i can detect licence plates now but now i want to process the image and extract the text i have used your darknet version but the tutorial that i see you have extracted text text is in tensorflow pls how do i process the image detected in darkent?Please i am so stuck here help me
@rizkijunianto846
@rizkijunianto846 Жыл бұрын
Hi, I have follow your tutorial step by step, but whenever i run the command license plate recognition only the box show up but the result plate text didn't. Am I missing some step?but I'm sure doing exactly the same thing in the video, please help me
@michaelyip309
@michaelyip309 Жыл бұрын
i'm dealing with the same problem, did u find the solution ?
@rizkijunianto846
@rizkijunianto846 Жыл бұрын
@@michaelyip309 I did, turns out that I need to set PATH for tesseract on my machine and restart my pc, that worked for me
@michaelyip309
@michaelyip309 Жыл бұрын
@@rizkijunianto846 will try that, thank you sir 👌
@prateekgaur2709
@prateekgaur2709 2 жыл бұрын
Can we run this on google collab?
@lwa3i179
@lwa3i179 Жыл бұрын
thank you for thias video but what's error here > Overload resolution failed: > - Can't parse 'pt2'. Sequence item with index 0 has a wrong type > - Can't parse 'pt2'. Sequence item with index 0 has a wrong type > - Can't parse 'rec'. Expected sequence length 4, got 2 > - Can't parse 'rec'. Expected sequence length 4, got 2
@kurisutina8434
@kurisutina8434 3 жыл бұрын
Why I can't run this on Google Colab ??
@runlikeaninja6616
@runlikeaninja6616 3 жыл бұрын
can I run this project on raspberry pi ?
@marypaul9627
@marypaul9627 2 жыл бұрын
someone help me which command do i run to detect from a webcam please?
Train YOLO V8 on Custom Dataset for Object Detection | Licence Plate Detection Model Training
29:18
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 14 МЛН
Object Detection in 10 minutes with YOLOv5 & Python!
10:45
Rob Mulla
Рет қаралды 219 М.
Licence Plate Recognition with YOLO V8 and Easy OCR using Custom Dataset
21:26
SPARKLERS : We Are The Makers
Рет қаралды 19 М.
Automatic number plate recognition (ANPR) with Yolov9 and EasyOCR
11:38
License plate detector with Python and yolov3 | Computer vision tutorial
9:45
Computer vision engineer
Рет қаралды 8 М.
How to use Tesseract OCR in a Python script (pytesseract)
6:36
JayMartMedia
Рет қаралды 8 М.
Automatic number plate recognition in real time شرح عربي
46:59
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 12 МЛН
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Рет қаралды 2 МЛН