Python ANPR with OpenCV and EasyOCR in 25 Minutes | Automatic Number Plate Recognition Tutorial

  Рет қаралды 223,763

Nicholas Renotte

Nicholas Renotte

Күн бұрын

Пікірлер
@anthonylwalker
@anthonylwalker 3 жыл бұрын
Thanks, this has helped simplify a lot of techniques I was getting my head around. Such a great pipeline, and a great tutorial. Keep them up in the same style!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much @Anthony, glad you enjoyed it!
@mencychristian1831
@mencychristian1831 3 жыл бұрын
Man you saved my presentation ....thank you so much!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
YESS, glad I could help @Mency, how did your presentation go?
@mencychristian1831
@mencychristian1831 3 жыл бұрын
@@NicholasRenotte That was my best presentation ever 😀
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@mencychristian1831 YESSSSS, so glad to hear!!
@PlateCatcher
@PlateCatcher 7 ай бұрын
Awesome content! I've been diving into ANPR technology myself and recently developed a Windows app for it. It's fascinating to see the different approaches out there.
@philatkinson8051
@philatkinson8051 2 жыл бұрын
Great video and really good explanation and as for typing that amount of code by hand and it working first time. . . Just amazing.
@geethasubramanyam
@geethasubramanyam Жыл бұрын
Notes to Self: @ 7:22 In the given code, the imshow() function is used to display the grayscale image, which has only one color channel. However, the imshow() function expects an RGB image to display, so the cvtColor() function is used to convert the grayscale image to RGB format by replicating the pixel values across all three color channels. This allows the imshow() function to display the image correctly, but the resulting plot will still show the image in grayscale.
@ScaryLasers
@ScaryLasers 6 ай бұрын
You are awesome! I am just digging in to python and you my friend are so informative, easy to undersatand, and the pacing is perfect. Thank you will be following and checking out your other vids 😁
@Matt.D-x9v
@Matt.D-x9v 2 ай бұрын
Some great inspiration for my related project; just one tip, I seem to find that adaptive mean thresholding works better than the canny filter. You're looking for a discrete shape, a number plate - not the edges of something which could be one of any number of shapes like.. well, the actual car. All license plates are going to either be rectangular or some small-vertex polygon similarly (
@padynz9869
@padynz9869 2 жыл бұрын
Very lucid and beautifully presented, Nicholas.
@abhinavsingh595
@abhinavsingh595 3 жыл бұрын
Program is working well, that helped a lot thanks.
@abhinavsingh3513
@abhinavsingh3513 10 ай бұрын
Bro please tell me how to install and run the project please
@user-zj9pq5xc7x
@user-zj9pq5xc7x Жыл бұрын
I have mad respect towards you for this. thank you so much
@weixiangng8279
@weixiangng8279 2 жыл бұрын
Great explanation from you Nicholas. Like the method you used.
@surajprakash4630
@surajprakash4630 Жыл бұрын
Thanks man it's working fine...u explains very well
@EduardoAvelar
@EduardoAvelar 3 жыл бұрын
Amazing approach. Thanks for sharing.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much @Eduardo!
@ozlematz2528
@ozlematz2528 3 жыл бұрын
Thank you my teacher. Nice education. ^_^
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
So glad you enjoyed it Özlem!
@johanneszwilling
@johanneszwilling 2 жыл бұрын
😎👍🏼 PERFECT Tutorial!
@JH-ms1jv
@JH-ms1jv 3 жыл бұрын
Hey mate. Great videos. I’ve read through a few comments and pretty excited to see this “new” video ahah. Any idea when it’s going to be released?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Was smashing it out til late last night @J H, let me know what you think: kzbin.info/www/bejne/Zl6XoZKHnNeXmKc
@joshinc6890
@joshinc6890 3 жыл бұрын
Thank you for sharing this great knowledge
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Anytime @Josh, glad you enjoyed it!
@satyanarayanakoppuravuri
@satyanarayanakoppuravuri 6 ай бұрын
i am not getting any location which you explained at 14:20 then what to do at that time?
@gustavojuantorena
@gustavojuantorena 4 жыл бұрын
Another great tutorial, Nicholas! 👏👏
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
🙏🙏🙏 thanks so much @Gustavo!!
@dharshinir7154
@dharshinir7154 2 жыл бұрын
Clearly explained ....👏
@jesunahmadushno
@jesunahmadushno 2 жыл бұрын
Hi, whenever i'm trying to import cv2 and other my jupyter kernel The kernel appears to have died. It will restart automatically. do you have any solution?
@LuisMunoz-ju2in
@LuisMunoz-ju2in 3 жыл бұрын
You're amazing. This is the best video and tutorial I've seen. Please create a tutorial to apply Machine Learning to Number Plate Recognition!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Definitely, going to try for deep learning @Luis!
@businessgamerprb5398
@businessgamerprb5398 7 ай бұрын
Hi... Great video but the problem is it works only on about 10 percent of images in my data set... On others it either says cannot find contour or just detects wrong contour... I have tried with 400+ images and only got about 40-50 correct results... What should i do... Or is this algorithm not enough??
@godfreyfonseca5707
@godfreyfonseca5707 3 жыл бұрын
Really amazing,was very helpful. Just wanted to know if there's a way to use an entire dataset of images for this technique? Any tutorial you may know of? Thanks In advance!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Stay tuned @Godfrey, updated version of this tutorial coming out this week!
@godfreyfonseca5707
@godfreyfonseca5707 3 жыл бұрын
@@NicholasRenotte great 😍🙌... looking forward to it!
@ronakttawde
@ronakttawde 3 жыл бұрын
please make object tracking & counting video on vehicles in opencv & python
@abdulwaseymohammed9729
@abdulwaseymohammed9729 Жыл бұрын
Hi Nicholas, thanks for this video. Could you do another video that shows how to extract hand written text from the Crosswords puzzles and compare that with the correct answers?
@srabonbhowmik3780
@srabonbhowmik3780 3 жыл бұрын
Hi, In [44]: you have typed 'en' as the plate number is in English. but my question is will it work for the other languages like Bangla or Arabic or even German? Video duration: 19:28
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Supports a ton of languages @Srabon. Check this out: www.jaided.ai/easyocr/
@Knowledge_Wave813
@Knowledge_Wave813 2 жыл бұрын
Amazing 👍👍
@ChirawatNg
@ChirawatNg Жыл бұрын
Great tutorial !!!! Thank you
@Gudduyadav_1989
@Gudduyadav_1989 Жыл бұрын
Really great 👍 thank you 🙂
@jhansiballini5863
@jhansiballini5863 3 ай бұрын
Thank you for the detail. But could you please make a video of collecting toll tax using this ANPR.
@01bit
@01bit 3 жыл бұрын
Great explanation!!!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks a bunch @01bit, so glad you enjoyed it!
@vonvanmany997
@vonvanmany997 2 жыл бұрын
Hi Nicholas, Thank You for all the hard work you put into this tutorial, its taught me SO Much.. I have a question about the images you used vs. My own images , yours work fine in the program, but the ones I used doesn't populate any coordinates in the location cell. the properties of your images are: 160KB in sizes, 300dpi, 960x722 (dimensions) and 24 bit depth, my images are: 600KB, 96dpi, 2000x1500, and 24 bit depth, aren't
@vonvanmany997
@vonvanmany997 2 жыл бұрын
is this the reason why the coordinates aren't population or am I missing something in the code
@ashish.ksingh8765
@ashish.ksingh8765 3 жыл бұрын
Can u make some videos using open cv.... (Problem statement on real life based.. ) And also tere solution.
@manisharya2138
@manisharya2138 2 жыл бұрын
Please make one more video with great accuracy. This video is also excellent but I test some images on the data sometimes accuracy miss
@Andy-rq6rq
@Andy-rq6rq 4 жыл бұрын
Awesome vid Nick, surprised you don't have more subs. Any chance of considering doing semantic segmentation, particularly with the human body.
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
Thanks so much @Andy, 😅 it's taken a little while but i've really only hit the ground running for a few months now! We'll get there! I've done it with JS (kzbin.info/www/bejne/gXLEiZV9p56iZtU), Python is defs coming!
@Andy-rq6rq
@Andy-rq6rq 4 жыл бұрын
@@NicholasRenotte Wow thanks!
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
@@Andy-rq6rq anytime hombre!
@sakshishrivastava0210
@sakshishrivastava0210 3 жыл бұрын
Thanks a lot brother🙌
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Anytime @Sakshi!
@datapro007
@datapro007 3 жыл бұрын
Hi, Nick, Great video. I did spend a lot of time on the Tensorflow version of this project that you posted a while back. What do you see as the plusses and minuses of the two different approaches?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
The TF version is a lot more resilient to different photos of plates. This almost needs to be tuned each time depending on lighting, contrast, hue and sat to be able to effectively pick up the plate each time. However the TF version is wayyyy more compute heavy.
@adityagoel2792
@adityagoel2792 2 жыл бұрын
@@NicholasRenotte I had the same question. Thanks for clarifying Nick! Keep them coming - you're a GREAT teacher! :)
@nickgoddard8450
@nickgoddard8450 2 ай бұрын
i am trying to do this but just for single images, to send the program an image URL and have it return the numberplate text. Is there another tutorial or idea for something like that ? Thanks !
@MUHAMMADIZZKAMARUDDIN
@MUHAMMADIZZKAMARUDDIN Жыл бұрын
why other images besides the 4 images provided cant extract the plate number?
@nathakritnukulrat3063
@nathakritnukulrat3063 Жыл бұрын
I've got this problem too
@user-ed7cg1pv5f
@user-ed7cg1pv5f Жыл бұрын
Thank you so much for this code! Is there any way to do a performance evaluation of the code?
@piyushkumar-wg8cv
@piyushkumar-wg8cv 2 жыл бұрын
What's the difference between this video and your 2 hour long video on ANPR
@Ben-gh1bz
@Ben-gh1bz Жыл бұрын
This video uses OpenCv, the 2 hour long video uses TensorFlow
@232nate
@232nate 3 жыл бұрын
Thank you for the detail
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Glad you enjoyed it @232nate, this is the updated version if you're interested: kzbin.info/www/bejne/Zl6XoZKHnNeXmKc
@kronos9913
@kronos9913 3 жыл бұрын
Nice thanks bro!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much @Kronos!
@costin2k
@costin2k Жыл бұрын
Great video , i want to add to this project real time object detection from webcam. Can you tell me few stepts for that? Thanks in advance :)
@nishkarve
@nishkarve Жыл бұрын
Nicholas, great job. How do I apply EasyOCR on a camera stream?
@Владимир-ъ2ф9у
@Владимир-ъ2ф9у 3 жыл бұрын
Thank you!!! It is very interesting. I have a question. If the number is compound. And there are 2 rectangular counters? How much I tried, only the last contour defines.
@Alpha-mk5qw
@Alpha-mk5qw 2 жыл бұрын
Are there any videos showing a physical prototype or build with a camera?
@rohit_mondal__
@rohit_mondal__ 3 жыл бұрын
thanks sir !...this helped me
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
You're welcome man! So glad it helped!
@rohit_mondal__
@rohit_mondal__ 3 жыл бұрын
@@NicholasRenotte sir can u please make a video on yolo using keras ?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@rohit_mondal__ will take a look!
@tejeshwarrajput1679
@tejeshwarrajput1679 3 жыл бұрын
Great video!! i have a doubt can do the same thing by using visual studio code ??
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Sure can, just need to install a Python interpreter into VSC.
@giggslim4917
@giggslim4917 3 жыл бұрын
Hi nic anyway to edit the code such that it can better detect images of black license plates with white text? (Singaporean License Plate)
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @Giggs! Try out the new workflow, it's way more accurate and can do different types of plates!
@simbarashenyaruwata7740
@simbarashenyaruwata7740 2 жыл бұрын
Good day, Nicholas can i use opencv contour detection to detect square number plates used in Zimbabwe
@RavnnN
@RavnnN 2 жыл бұрын
line 28, in new_image = cv2.drawContours(mask, [location], 0,255, -1) error: (-215:Assertion failed) reader.ptr != NULL in function 'cvDrawContours' got this error... can u resolve it?
@nimeshkumar3663
@nimeshkumar3663 3 жыл бұрын
hi, I just wanted to know can I use this model as a Text detection model, will this model be able to recognize text from images.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Sure can, check out the drug extraction video I did for PaddleOCR. I show how to do it there.
@subhronilbiswas2190
@subhronilbiswas2190 2 жыл бұрын
My Jupiter kernel is dying each and every time I'm trying to import easyocr. Plzzzz help 😭😭😭😭😭😭😭😭😭😭
@arabe7486
@arabe7486 9 ай бұрын
hi, im like zero of python, im trying to follow step by step but i could not install imutil, i've installed easyocr but here can i find imutil to install? thanks
@jaytab3686
@jaytab3686 3 жыл бұрын
Is this one better than the other one?
@vishwashehan8441
@vishwashehan8441 3 жыл бұрын
im having a error in reader = easyocr.Reader(['en']) line it says it's detection models an after like 2% it is getting stucked kinda very very slow any idea?
@swapnilchowdhury3957
@swapnilchowdhury3957 2 жыл бұрын
Everything worked perfectly fine and I even got the cropped number plate but the line result = reader.readtext(cropped_image) Showing unknown C++ exception from opencv code I don't have GPU so using CPU only Plz help
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Try uninstalling opencv and reinstalling it using pip install opencv-python
@laponiec
@laponiec 3 жыл бұрын
All I got after reading the text from the cropped image was an error: \Scripts\venv\lib\site-packages\easyocr\craft_utils.py", line 31, in getDetBoxes_core nLabels, labels, stats, centroids = cv2.connectedComponentsWithStats(text_score_comb.astype(np.uint8), connectivity=4) cv2.error: Unknown C++ exception from OpenCV code
@AbhinavKumar-xi2qw
@AbhinavKumar-xi2qw 3 жыл бұрын
Can you please tell me how can we give command to Arduino to do something when we detect face or our algorithms given us yes to do something
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Haven't worked much with arduinos yet but when I do I got you!
@jiachuntan3144
@jiachuntan3144 4 жыл бұрын
I noticed that the program doesnt work well with black plates, how should I tweak it so it can detect black colour plates?
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
Heya @Jia, can you share some of your example images? I can play around with the mask settings for you and give you some updated parameters!
@jiachuntan3144
@jiachuntan3144 4 жыл бұрын
@@NicholasRenotte sure, can u drop your email here ??
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
@@jiachuntan3144 hmu on LinkedIn to share privately! www.linkedin.com/in/nicholasrenotte/
@aimenino7285
@aimenino7285 2 жыл бұрын
Hi have a small request in the last step (step 6) for rendering results can you help me how i can add Chinese characters and English on the image
@gugasevero76
@gugasevero76 2 жыл бұрын
Hi body! I run your code on colab. Almost everything perfect but other plate I tryed it recognize letter "I" as "1". There is some update?
@vikashchand.
@vikashchand. 4 жыл бұрын
Killing it man! 🔥 Can you show how you would turn this into an api and host it maybe?
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
WHADDUP @Vikash! Definitely, have some stuff with Streamlit and FastAPI planned!!
@vikashchand.
@vikashchand. 4 жыл бұрын
@@NicholasRenotte sounds awesome man! Looking forward to it!
@raymondmichael4987
@raymondmichael4987 3 жыл бұрын
9 months later; asking if you made it bro
@pokojowyfreestyle9269
@pokojowyfreestyle9269 3 жыл бұрын
I don't know why, but it works for me only with Porsche, the others have still None on location step. Could you help me and tell on which parts of code should i focus?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @Pokojowy, walk through each step and ensure you're still detecting the edges appropriately. You might need to play with the Canny algorithm line!
@dhruvdarji7729
@dhruvdarji7729 Жыл бұрын
I import opencv library but kernal automatically close??
@shukursabzaliev8929
@shukursabzaliev8929 3 жыл бұрын
Amazing intro ))) One question though, can the image size affect findContours functions?
@LIMYEOWCHYE
@LIMYEOWCHYE 3 жыл бұрын
Is it possible to actually automatically use the pictures inside the folder without manually typing the image file into cv2.imread?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
You can loop through the images in the folder using os.listdir then pass them to the model!
@teilorlopes1039
@teilorlopes1039 3 жыл бұрын
Great tutorial! What about to implement usign live videos!
@h-electronics602
@h-electronics602 3 жыл бұрын
I have another question how can I detect a plate in a video instead of a high-quality picture I modified the code to take frames from a video but the plate is not really clear. In another video I used, the plate in it was very clear, but could not detect, and even I tried your original code with a screenshot of the scene but it could not detect the picture anyway. Any suggestions?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @H-Electronics, it might take some additional processing to detect. What I would suggest is using a DL model to identify the region with the plate, single out the region, apply perspective transformation (www.pyimagesearch.com/2014/08/25/4-point-opencv-getperspective-transform-example/) THEN applying OCR.
@h-electronics602
@h-electronics602 3 жыл бұрын
@@NicholasRenotte Oops! The page you are looking for no longer exists. Perhaps starting from the site's homepage will get you on the right track. XD That what I found
@h-electronics602
@h-electronics602 3 жыл бұрын
@@NicholasRenotte I am thinking of an algorithm to detect all the possible rectangles in the frame and then by machine learning try to identify whether this rectangle is a plate or not. Like the algorithm that recognize if this animal is cat or dog.The problem I think it will not be efficient because the processing time will belong. What do you think?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@h-electronics602 from what I've seen, it's normally a little slower than using non-deep learning powered OCR. It should be a lot more resilient to different styled plates though!
@joshuamiranda6688
@joshuamiranda6688 3 жыл бұрын
Amazing!!!!!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much @Joshua!
@h-electronics602
@h-electronics602 3 жыл бұрын
I have a problem in when in section number zero when I import the libraries. "The kernel appears to have died. It will restart automatically." it occurs only when I try to run "import easyocr", when I remove it runs normally, please help!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Hmm, what does it say in your terminal or command prompt that's running the Jupyter Notebook server?
@h-electronics602
@h-electronics602 3 жыл бұрын
@@NicholasRenotte I solved the problem, I cleaned my pc from everything related to python and download everything from the begging I Guess something was related to the log in appdata file was making problem. Thank you!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@h-electronics602 awesome stuff, yeah sometimes there's a bunch of conflicts and it requires a clean slate. Awesome work on getting it working though!!
@absormu929
@absormu929 3 жыл бұрын
Thanks bro Nicholas Renotte....
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks a ton @Absor!
@azmijedli743
@azmijedli743 2 жыл бұрын
haw can i applied on raspberry pi plz for my graduation project
@Eightminutesengineering
@Eightminutesengineering 2 жыл бұрын
Great video , very helpful. When i am running this code , i am getting this error message ModuleNotFoundError: No module named 'imutils can you please guide
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Heya @Faryal, can you ensure you're running the notebook in the same kernel as what you've installed the dependencies in.
@Dillil
@Dillil 3 жыл бұрын
Nice tutorial. Do you know how to recognize the characters without using easy OCR at the last step..? I want to use template matching technique to recognize the characters and i will have to use a dataset for it as well. Is there any tutorials you can point me to if you know..? Would be a huge help thank you.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @Dil lil, you could also use something like Tesseract or an API? Any reason you can't use Easy OCR?
@Dillil
@Dillil 3 жыл бұрын
@@NicholasRenotte It’s for a college project. So I have to train a model.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@Dillil ah got it, I don't really have anything that's built from scratch yet unfortunately!
@jeeyashah2016
@jeeyashah2016 3 жыл бұрын
cv2.bitwise_and(img, img , mask=mask) why are you passing both sources parameter as the same 'img'? and why not img and new_image as first two parametres? also what does mask=mask mean?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @jeeya, this is probably the best explanation I've seen for it: stackoverflow.com/questions/32774956/explain-arguments-meaning-in-res-cv2-bitwise-andimg-img-mask-mask
@RanjitSingh-rq1qx
@RanjitSingh-rq1qx 2 жыл бұрын
Sir how can we create the front end for this project by using flask.
@akshitsoni9800
@akshitsoni9800 2 жыл бұрын
Hey bro m facing assert error 251 for drawcontour anu suggestion how to solve it
@electromusic9206
@electromusic9206 3 жыл бұрын
Hiii I am getting error like attribute error Cv2. Cv2 module not found something like that Help me out off it I am using Jupiter notebook
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Try installing opencv-python!
@jaap6384
@jaap6384 3 жыл бұрын
Hey, amazing video first of. I do have one problem with the mask, it does not mask out the numberplate but instead masks out the window, any clue how i can fix this?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Hold up on it, I've actually got a significantly better version of it coming this week!
@jaap6384
@jaap6384 3 жыл бұрын
@@NicholasRenotte Oh that is great to hear? Does it use something like TensorFlow?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@jaap6384 sure does!
@ygproductions4025
@ygproductions4025 4 жыл бұрын
I want to make a executable file with a GUI for this project. How can I do that? Please help me.
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
Check out PySimpleGUI, you could probably wrap the code into something like that!
@santoshnarayana8593
@santoshnarayana8593 3 жыл бұрын
Can this be embedded into android phone & used on live streaming 📷 in offline mode plz advice Thx in advance.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Wouldn't recommend as it's super compute heavy.
@ahmedhelal920
@ahmedhelal920 3 жыл бұрын
Hi thanks for this fantastic tutorial , how can we add button to add more than one picture and result convert it to excel ?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Check out the new tutorial on the channel!
@rverm1000
@rverm1000 5 ай бұрын
can this be used to detect numbers on coins? and color of coins?
@candrasniper3404
@candrasniper3404 3 жыл бұрын
What if there is another text beside the number plate? Such as, numbers on car sticker.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Normally would need to do some additional processes to manually filter it out. Could also filter based on detected region size i.e. the main plate is going to be the largest detected block of text (most of the time)
@candrasniper3404
@candrasniper3404 3 жыл бұрын
@@NicholasRenotte if using region detected trick, so it must have a certain distance from the camera to get the range of plate box, if you do it in real time from a video capture, not from a photo. But it will also get another text in a box that close to the range region that we've set.
@diegolozano8539
@diegolozano8539 3 жыл бұрын
Great video, is there a way to store those number plates?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Yup definitely could @Diego, let me know if you want a vid on it. In the meantime you could write it out to a file once, just grab the text then use a standard output function: with open('outputfile.txt', 'w') as f: f.write()
@diegolozano8539
@diegolozano8539 3 жыл бұрын
@@NicholasRenotte Thank you for your reply! it would be awesome to have a video on that!!
@MaestriiCabanelor
@MaestriiCabanelor 3 жыл бұрын
please make video when u capture with live camera the plates
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Yup, definitely coming @Seby!
@rickieryan3919
@rickieryan3919 3 жыл бұрын
Was just involved in a hit and run... Can you help me uncover the license plate number. should be fun haha
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Oh no! You should take a look at the super resolution models!
@lizzyangelinalphonsag1652
@lizzyangelinalphonsag1652 Жыл бұрын
when I run the import cell , my kernel is keep on dying .what should I do to recover from this problem ?@Nicholas Renotte
@35_pranotisarjoshi_2b6
@35_pranotisarjoshi_2b6 2 жыл бұрын
Nich Sir, what if I dont have External Graphics card can it still work?
@hariskabeerhariskabeer6190
@hariskabeerhariskabeer6190 3 жыл бұрын
hi nicholas the video was literally awseome. but there is one thing i need to ask is how can i store the results in my data base because i am working on a parking system based on facial recognition and license plate recognition i have to first save the license plate result then go to the next process of verification and other stuff help will be appreciated.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Depends on your db but you could output the results using a Python SQL client or something along those lines!
@malikahmad2441
@malikahmad2441 3 жыл бұрын
@@NicholasRenotte is there any comma separation technique used and extract only number plate characters from the result and store it into a db ?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@malikahmad2441 not sure what's the goal of splitting by commas but you could use the split method. e.g. 'PLATE,99'.split(',') #will split based on commas
@yativijay1336
@yativijay1336 3 жыл бұрын
can you please make a video for helmet detection using open cv please
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @Yati, check out the latest video, should give you a walkthrough on how to do it!
@marziehkhaliliy6908
@marziehkhaliliy6908 2 жыл бұрын
this Code is perfect. thanks. but, Is there anyone to help me? I have problem in 4th part and i got error:(
@jainvinay
@jainvinay 2 жыл бұрын
Can you please write down the code
@raghuram9876
@raghuram9876 3 жыл бұрын
it is not working for me cv2.error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wvn_it83\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' it is showing me this no matter how many times i am editing
@sedky69
@sedky69 Жыл бұрын
Great video. Do you have a video on how to incorporate machine learning into this?
@charradmalek7020
@charradmalek7020 2 жыл бұрын
Hi Nick great video thanks , i just wanted to ask you a question if it is possible to give me a tool so that it reads plates in Arabic I tried with ArabicOcr but I cannot install it on my computer
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Try PaddleOCR: github.com/PaddlePaddle/PaddleOCR
@lindazakraoui3974
@lindazakraoui3974 2 жыл бұрын
hi there, did you find a solution to read plates in arabic please?
@abrahammathew9783
@abrahammathew9783 3 жыл бұрын
Hi Nick, Great Video!! One question, Is it possible to run this on a mp4 file.
@okanmaden3980
@okanmaden3980 3 жыл бұрын
hey bro can u explain why text = result [0] [-2]. I didnt understand why it's "-" and why "2".
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
The -2 grabs the second last value from the array!
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
OpenCV Course - Full Tutorial with Python
3:41:42
freeCodeCamp.org
Рет қаралды 4,1 МЛН
Optical Character Recognition with EasyOCR and Python | OCR PyTorch
16:00
Nicholas Renotte
Рет қаралды 152 М.
I Ran a Raspberry Pi License Plate Scanner for 2 Hours
18:35
Data Slayer
Рет қаралды 29 М.
Automatic number plate recognition (ANPR) with Yolov8 and EasyOCR
13:12
Code With Aarohi
Рет қаралды 17 М.
I Helped 2,000 People Walk Again
15:31
MrBeast
Рет қаралды 10 МЛН
License Plate Detection Demo Using Raspberry Pi Camera
52:14
Data Slayer
Рет қаралды 92 М.
Text detection with Python and Opencv | OCR using EasyOCR | Computer vision tutorial
15:39
КОРОЧЕ ГОВОРЯ, НЕДЕЛЯ БЕЗ ТЕЛЕФОНА
3:54
ПОСТАРЕЛА ЗА 1 ДЕНЬ НА 20 ЛЕТ - МУЖСКОЕ ЖЕНСКОЕ
55:44
ПРИЯТНЫЙ ИЛЬДАР
Рет қаралды 677 М.
Массаж головы пранк🤣
0:55
Kirya Kolesnikov
Рет қаралды 5 МЛН
BIP HOUSE  .бип хаус 🥰🏡  #shorts
0:13
bip_house
Рет қаралды 1,2 МЛН
для всей семьи
0:56
Стакановец
Рет қаралды 191 М.