No video

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

  Рет қаралды 214,135

Nicholas Renotte

Nicholas Renotte

Күн бұрын

Пікірлер: 385
@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!!
@ScaryLasers
@ScaryLasers Ай бұрын
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 😁
@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.
@dhruvdarji7729
@dhruvdarji7729 8 ай бұрын
I import opencv library but kernal automatically close??
@abhinavsingh595
@abhinavsingh595 2 жыл бұрын
Program is working well, that helped a lot thanks.
@abhinavsingh3513
@abhinavsingh3513 5 ай бұрын
Bro please tell me how to install and run the project please
@padynz9869
@padynz9869 2 жыл бұрын
Very lucid and beautifully presented, Nicholas.
@user-zj9pq5xc7x
@user-zj9pq5xc7x 10 ай бұрын
I have mad respect towards you for this. thank you so much
@weixiangng8279
@weixiangng8279 Жыл бұрын
Great explanation from you Nicholas. Like the method you used.
@ronaktawde
@ronaktawde 3 жыл бұрын
please make object tracking & counting video on vehicles in opencv & python
@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?
@EduardoAvelar
@EduardoAvelar 3 жыл бұрын
Amazing approach. Thanks for sharing.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much @Eduardo!
@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
@surajprakash4630
@surajprakash4630 Жыл бұрын
Thanks man it's working fine...u explains very well
@vikashchand.
@vikashchand. 3 жыл бұрын
Killing it man! 🔥 Can you show how you would turn this into an api and host it maybe?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
WHADDUP @Vikash! Definitely, have some stuff with Streamlit and FastAPI planned!!
@vikashchand.
@vikashchand. 3 жыл бұрын
@@NicholasRenotte sounds awesome man! Looking forward to it!
@raymondmichael4987
@raymondmichael4987 3 жыл бұрын
9 months later; asking if you made it bro
@manisharya2138
@manisharya2138 Жыл бұрын
Please make one more video with great accuracy. This video is also excellent but I test some images on the data sometimes accuracy miss
@ashish.ksingh8765
@ashish.ksingh8765 3 жыл бұрын
Can u make some videos using open cv.... (Problem statement on real life based.. ) And also tere solution.
@ozlematz2528
@ozlematz2528 3 жыл бұрын
Thank you my teacher. Nice education. ^_^
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
So glad you enjoyed it Özlem!
@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!
@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?
@piyushkumar-wg8cv
@piyushkumar-wg8cv Жыл бұрын
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
@joshinc6890
@joshinc6890 3 жыл бұрын
Thank you for sharing this great knowledge
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Anytime @Josh, glad you enjoyed it!
@subhronilbiswas2190
@subhronilbiswas2190 2 жыл бұрын
My Jupiter kernel is dying each and every time I'm trying to import easyocr. Plzzzz help 😭😭😭😭😭😭😭😭😭😭
@user-tw9oi5bu2k
@user-tw9oi5bu2k Жыл бұрын
why other images besides the 4 images provided cant extract the plate number?
@nathakritnukulrat3063
@nathakritnukulrat3063 Жыл бұрын
I've got this problem too
@vonvanmany997
@vonvanmany997 Жыл бұрын
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 Жыл бұрын
is this the reason why the coordinates aren't population or am I missing something in the code
@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!
@businessgamerprb5398
@businessgamerprb5398 3 ай бұрын
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??
@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!
@Andy-rq6rq
@Andy-rq6rq 3 жыл бұрын
Awesome vid Nick, surprised you don't have more subs. Any chance of considering doing semantic segmentation, particularly with the human body.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
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 3 жыл бұрын
@@NicholasRenotte Wow thanks!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@Andy-rq6rq anytime hombre!
@gustavojuantorena
@gustavojuantorena 3 жыл бұрын
Another great tutorial, Nicholas! 👏👏
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
🙏🙏🙏 thanks so much @Gustavo!!
@absormu929
@absormu929 3 жыл бұрын
Thanks bro Nicholas Renotte....
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks a ton @Absor!
@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
@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
@satyanarayanakoppuravuri
@satyanarayanakoppuravuri Ай бұрын
i am not getting any location which you explained at 14:20 then what to do at that time?
@sedky69
@sedky69 7 ай бұрын
Great video. Do you have a video on how to incorporate machine learning into this?
@datapro007
@datapro007 2 жыл бұрын
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 2 жыл бұрын
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! :)
@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
@arabe7486
@arabe7486 5 ай бұрын
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
@johanneszwilling
@johanneszwilling 2 жыл бұрын
😎👍🏼 PERFECT Tutorial!
@theertham9399
@theertham9399 3 жыл бұрын
Hi sir am getting this error from matplotlib._path import ( ImportError: DLL load failed while importing _path: The specified module could not be found.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Can you change it to from matplotlib import pyplot as plt?
@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 :)
@dharshinir7154
@dharshinir7154 2 жыл бұрын
Clearly explained ....👏
@user-pv3ub2zz1y
@user-pv3ub2zz1y 2 жыл бұрын
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.
@jiachuntan3144
@jiachuntan3144 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@NicholasRenotte sure, can u drop your email here ??
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@jiachuntan3144 hmu on LinkedIn to share privately! www.linkedin.com/in/nicholasrenotte/
@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!
@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.
@azmijedli743
@azmijedli743 2 жыл бұрын
haw can i applied on raspberry pi plz for my graduation project
@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!
@AbhinavKumar-xi2qw
@AbhinavKumar-xi2qw 2 жыл бұрын
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 2 жыл бұрын
Haven't worked much with arduinos yet but when I do I got you!
@aniketbhanderi5927
@aniketbhanderi5927 2 жыл бұрын
I am getting this error. error: (-215:Assertion failed) (mtype == CV_8U || mtype == CV_8S) && _mask.sameSize(*psrc1) in function 'cv::binary_op'
@aniketbhanderi5927
@aniketbhanderi5927 2 жыл бұрын
@Nicholas Renotte Can you please help..!
@user-ed7cg1pv5f
@user-ed7cg1pv5f Жыл бұрын
Thank you so much for this code! Is there any way to do a performance evaluation of the code?
@jaytab3686
@jaytab3686 2 жыл бұрын
Is this one better than the other one?
@teilorlopes1039
@teilorlopes1039 2 жыл бұрын
Great tutorial! What about to implement usign live videos!
@kronos9913
@kronos9913 3 жыл бұрын
Nice thanks bro!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much @Kronos!
@ChirawatNg
@ChirawatNg Жыл бұрын
Great tutorial !!!! Thank you
@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!
@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.
@MrLyasine
@MrLyasine Жыл бұрын
thank you for this videos but I found that works only on separated cars I mean when there is only one car in a photo, and also the car doesnt have rectangles in its shape
@erinbiju7766
@erinbiju7766 7 ай бұрын
i copy pasted your code in Pycharm ,it shows no error but it does not display any output.
@Knowledge_Wave813
@Knowledge_Wave813 2 жыл бұрын
Amazing 👍👍
@sakshishrivastava0210
@sakshishrivastava0210 3 жыл бұрын
Thanks a lot brother🙌
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Anytime @Sakshi!
@laponiec
@laponiec 2 жыл бұрын
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
@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!!
@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!
@Gudduyadav_1989
@Gudduyadav_1989 11 ай бұрын
Really great 👍 thank you 🙂
@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!
@01bit
@01bit 3 жыл бұрын
Great explanation!!!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks a bunch @01bit, so glad you enjoyed it!
@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!
@rverm1000
@rverm1000 Ай бұрын
can this be used to detect numbers on coins? and color of coins?
@DefendIntelligence
@DefendIntelligence 3 жыл бұрын
You make amazing content Nicholas ! I have a (french) channel too on AI, we could collaborate on a video. Cheers :)
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Hell yeah!! Thanks so much 🙏!! Let’s touch base in the new year? Want to add me on LinkedIn and plan something out?
@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!
@candrasniper3404
@candrasniper3404 2 жыл бұрын
What if there is another text beside the number plate? Such as, numbers on car sticker.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
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 2 жыл бұрын
@@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.
@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
@ajaybhadwal
@ajaybhadwal 3 жыл бұрын
Amazing Nicholas. I am into ANPR technology. Let me know how we can collaborate.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Cool stuff @Viaggio!
@shukursabzaliev8929
@shukursabzaliev8929 2 жыл бұрын
Amazing intro ))) One question though, can the image size affect findContours functions?
@nishkarve
@nishkarve Жыл бұрын
Nicholas, great job. How do I apply EasyOCR on a camera stream?
@MaestriiCabanelor
@MaestriiCabanelor 3 жыл бұрын
please make video when u capture with live camera the plates
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Yup, definitely coming @Seby!
@vishwashehan8441
@vishwashehan8441 2 жыл бұрын
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?
@ygproductions4025
@ygproductions4025 3 жыл бұрын
I want to make a executable file with a GUI for this project. How can I do that? Please help me.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Check out PySimpleGUI, you could probably wrap the code into something like that!
@ramsimmha8672
@ramsimmha8672 3 жыл бұрын
How to perform the same operation using a video file. kindly update regarding that?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya Ram, take a look at my latest ANPR video. All you need to do is sub out cv2.VideoCapture(0) for cv2.VideoCapture('path/to/your/file')
@rizaladhi7066
@rizaladhi7066 11 ай бұрын
please share tutorial how to search number in bulk image folder use free api ocr
@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.
@Alpha-mk5qw
@Alpha-mk5qw 2 жыл бұрын
Are there any videos showing a physical prototype or build with a camera?
@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?
@nimeshkumar3663
@nimeshkumar3663 2 жыл бұрын
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 2 жыл бұрын
Sure can, check out the drug extraction video I did for PaddleOCR. I show how to do it there.
@byiringirooscar321
@byiringirooscar321 3 жыл бұрын
how to store those number plate recognized like in mysql?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
You could connect to a DB using something like pypi.org/project/MySQL-python/ and push those results out!
@RanjitSingh-rq1qx
@RanjitSingh-rq1qx Жыл бұрын
Sir how can we create the front end for this project by using flask.
@kennyackerman1938
@kennyackerman1938 3 жыл бұрын
I have this error thats bugging me it says "CUDA not available - defaulting to cpu. Note: this module is much faster with a GPU." i have went on and installed Cuda on my windows 10 and I have also nvidia GeForce GTX 960M ..can anyone help me
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @Kenny, can you check you have a compatible version of Tensorflow, CUDA and cuDNN from this list: www.tensorflow.org/install/source you need to have a matching combination otherwise Tensorflow doesn't pick up GPU acceleration.
@nas7553
@nas7553 3 жыл бұрын
Same problem
@kingsleydrah562
@kingsleydrah562 Жыл бұрын
Yeah, same issue 😢
@jafaraqeel8248
@jafaraqeel8248 Жыл бұрын
File "c:\Users\AX\Desktop\ANPRwithPython-main\ANPR - Tutorial.ipynb", line 320, in "execution_count": null, NameError: name 'null' is not defined
@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
@AKKJ420
@AKKJ420 2 жыл бұрын
easyocr cannot be installed on a raspberry pi 4. I have spent hrs trying to fix it but I gave up and tried a different package pytesseract or something which seem to work now.
@AKKJ420
@AKKJ420 2 жыл бұрын
I have managed to get this to work on Jetson Nano until I got to easyOCR where I m getting the following error: CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU. Illegal instruction (core dumped) Another rabbit hole
@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?
@bhushantayde5762
@bhushantayde5762 3 жыл бұрын
Sir can you further modify this code to be used in Parking Management System.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Sure could!
@m02-049
@m02-049 2 ай бұрын
In my case it is detecting headlights and bumper
@incredible792
@incredible792 2 жыл бұрын
I got this error "too many values to unpack (expected 2)" when i did the crop part
@psybertron2650
@psybertron2650 3 жыл бұрын
How to make use of deep learning to improve it's accuracy.. I'm actually new to this do i don't really know much
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Nah no stress man, welcome to the fam! You can do it in a few ways: 1. Use a one step model to identify the frame (deep learning can improve the plate detection) then use standard OCR 2. Use a two step model to both identify the frame and extract the text!
@psybertron2650
@psybertron2650 3 жыл бұрын
Thank you so much bruhh!!! I'll research on this and get better at it.. and your video really helped me alot
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@psybertron2650 awesome stuff, let me know how you go!
@meriljayasinghe9292
@meriljayasinghe9292 3 жыл бұрын
can u do this with deep learning ?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@meriljayasinghe9292 EasyOCR, is actually using PyTorch in the background to perform the detection!
@akshitsoni9800
@akshitsoni9800 2 жыл бұрын
Hey bro m facing assert error 251 for drawcontour anu suggestion how to solve it
@ankitprajapti22191
@ankitprajapti22191 5 ай бұрын
Thank you
@C-Krunali
@C-Krunali Жыл бұрын
Can I use this code to detect number plate from videos
@gimanthadesilva
@gimanthadesilva 3 жыл бұрын
I get an error when installing torch, windows 10 "Could not find a version that satisfies the requirement"
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @Gimantha, what command did you use to run the install?
@gimanthadesilva
@gimanthadesilva 3 жыл бұрын
@@NicholasRenotte hey thanks for the reply, the command i used is, pip install torch==1.8.1+cu102 torchvision==0.9.1+cu102 torchaudio===0.8.1 -f download.pytorch.org/whl/torch_stable.html
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@gimanthadesilva And you're running Python 3.x? I'd check this and make sure that the machine you're running meets the dependencies: pytorch.org/get-started/locally/
@drew9017
@drew9017 3 жыл бұрын
@@gimanthadesilva make sure you are running 64 bit python, I had this issue too
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 97 МЛН
Dad gives best memory keeper
01:00
Justin Flom
Рет қаралды 19 МЛН
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 52 МЛН
Text detection with Python and Opencv | OCR using EasyOCR | Computer vision tutorial
15:39
License Plate Detection Demo Using Raspberry Pi Camera
52:14
Data Slayer
Рет қаралды 81 М.
Object Tracking with Opencv and Python
30:03
Pysource
Рет қаралды 608 М.
How to Preprocess Images for Text OCR in Python (OCR in Python Tutorials 02.02)
53:24
Python Tutorials for Digital Humanities
Рет қаралды 156 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 288 М.
Image Processing with OpenCV and Python
20:38
Rob Mulla
Рет қаралды 154 М.
Quest To Find The Largest Number
11:43
CodeParade
Рет қаралды 404 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 97 МЛН