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!
@NicholasRenotte3 жыл бұрын
Thanks so much @Anthony, glad you enjoyed it!
@mencychristian18313 жыл бұрын
Man you saved my presentation ....thank you so much!
@NicholasRenotte3 жыл бұрын
YESS, glad I could help @Mency, how did your presentation go?
@mencychristian18313 жыл бұрын
@@NicholasRenotte That was my best presentation ever 😀
@NicholasRenotte3 жыл бұрын
@@mencychristian1831 YESSSSS, so glad to hear!!
@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 😁
@philatkinson80512 жыл бұрын
Great video and really good explanation and as for typing that amount of code by hand and it working first time. . . Just amazing.
@dhruvdarji77298 ай бұрын
I import opencv library but kernal automatically close??
@abhinavsingh5952 жыл бұрын
Program is working well, that helped a lot thanks.
@abhinavsingh35135 ай бұрын
Bro please tell me how to install and run the project please
@padynz98692 жыл бұрын
Very lucid and beautifully presented, Nicholas.
@user-zj9pq5xc7x10 ай бұрын
I have mad respect towards you for this. thank you so much
@weixiangng8279 Жыл бұрын
Great explanation from you Nicholas. Like the method you used.
@ronaktawde3 жыл бұрын
please make object tracking & counting video on vehicles in opencv & python
@jesunahmadushno2 жыл бұрын
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?
@EduardoAvelar3 жыл бұрын
Amazing approach. Thanks for sharing.
@NicholasRenotte3 жыл бұрын
Thanks so much @Eduardo!
@JH-ms1jv3 жыл бұрын
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?
@NicholasRenotte3 жыл бұрын
Was smashing it out til late last night @J H, let me know what you think: kzbin.info/www/bejne/Zl6XoZKHnNeXmKc
@surajprakash4630 Жыл бұрын
Thanks man it's working fine...u explains very well
@vikashchand.3 жыл бұрын
Killing it man! 🔥 Can you show how you would turn this into an api and host it maybe?
@NicholasRenotte3 жыл бұрын
WHADDUP @Vikash! Definitely, have some stuff with Streamlit and FastAPI planned!!
@vikashchand.3 жыл бұрын
@@NicholasRenotte sounds awesome man! Looking forward to it!
@raymondmichael49873 жыл бұрын
9 months later; asking if you made it bro
@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.ksingh87653 жыл бұрын
Can u make some videos using open cv.... (Problem statement on real life based.. ) And also tere solution.
@ozlematz25283 жыл бұрын
Thank you my teacher. Nice education. ^_^
@NicholasRenotte3 жыл бұрын
So glad you enjoyed it Özlem!
@LuisMunoz-ju2in3 жыл бұрын
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!
@NicholasRenotte3 жыл бұрын
Definitely, going to try for deep learning @Luis!
@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 Жыл бұрын
What's the difference between this video and your 2 hour long video on ANPR
@Ben-gh1bz Жыл бұрын
This video uses OpenCv, the 2 hour long video uses TensorFlow
@joshinc68903 жыл бұрын
Thank you for sharing this great knowledge
@NicholasRenotte3 жыл бұрын
Anytime @Josh, glad you enjoyed it!
@subhronilbiswas21902 жыл бұрын
My Jupiter kernel is dying each and every time I'm trying to import easyocr. Plzzzz help 😭😭😭😭😭😭😭😭😭😭
@user-tw9oi5bu2k Жыл бұрын
why other images besides the 4 images provided cant extract the plate number?
@nathakritnukulrat3063 Жыл бұрын
I've got this problem too
@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 Жыл бұрын
is this the reason why the coordinates aren't population or am I missing something in the code
@godfreyfonseca57073 жыл бұрын
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!
@NicholasRenotte3 жыл бұрын
Stay tuned @Godfrey, updated version of this tutorial coming out this week!
@godfreyfonseca57073 жыл бұрын
@@NicholasRenotte great 😍🙌... looking forward to it!
@businessgamerprb53983 ай бұрын
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??
@rickieryan39193 жыл бұрын
Was just involved in a hit and run... Can you help me uncover the license plate number. should be fun haha
@NicholasRenotte3 жыл бұрын
Oh no! You should take a look at the super resolution models!
@Andy-rq6rq3 жыл бұрын
Awesome vid Nick, surprised you don't have more subs. Any chance of considering doing semantic segmentation, particularly with the human body.
@NicholasRenotte3 жыл бұрын
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-rq6rq3 жыл бұрын
@@NicholasRenotte Wow thanks!
@NicholasRenotte3 жыл бұрын
@@Andy-rq6rq anytime hombre!
@gustavojuantorena3 жыл бұрын
Another great tutorial, Nicholas! 👏👏
@NicholasRenotte3 жыл бұрын
🙏🙏🙏 thanks so much @Gustavo!!
@absormu9293 жыл бұрын
Thanks bro Nicholas Renotte....
@NicholasRenotte3 жыл бұрын
Thanks a ton @Absor!
@marziehkhaliliy69082 жыл бұрын
this Code is perfect. thanks. but, Is there anyone to help me? I have problem in 4th part and i got error:(
@jainvinay2 жыл бұрын
Can you please write down the code
@232nate3 жыл бұрын
Thank you for the detail
@NicholasRenotte3 жыл бұрын
Glad you enjoyed it @232nate, this is the updated version if you're interested: kzbin.info/www/bejne/Zl6XoZKHnNeXmKc
@satyanarayanakoppuravuriАй бұрын
i am not getting any location which you explained at 14:20 then what to do at that time?
@sedky697 ай бұрын
Great video. Do you have a video on how to incorporate machine learning into this?
@datapro0072 жыл бұрын
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?
@NicholasRenotte2 жыл бұрын
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.
@adityagoel27922 жыл бұрын
@@NicholasRenotte I had the same question. Thanks for clarifying Nick! Keep them coming - you're a GREAT teacher! :)
@swapnilchowdhury39572 жыл бұрын
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
@NicholasRenotte2 жыл бұрын
Try uninstalling opencv and reinstalling it using pip install opencv-python
@arabe74865 ай бұрын
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
@johanneszwilling2 жыл бұрын
😎👍🏼 PERFECT Tutorial!
@theertham93993 жыл бұрын
Hi sir am getting this error from matplotlib._path import ( ImportError: DLL load failed while importing _path: The specified module could not be found.
@NicholasRenotte3 жыл бұрын
Can you change it to from matplotlib import pyplot as plt?
@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 :)
@dharshinir71542 жыл бұрын
Clearly explained ....👏
@user-pv3ub2zz1y2 жыл бұрын
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.
@jiachuntan31443 жыл бұрын
I noticed that the program doesnt work well with black plates, how should I tweak it so it can detect black colour plates?
@NicholasRenotte3 жыл бұрын
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!
@jiachuntan31443 жыл бұрын
@@NicholasRenotte sure, can u drop your email here ??
@NicholasRenotte3 жыл бұрын
@@jiachuntan3144 hmu on LinkedIn to share privately! www.linkedin.com/in/nicholasrenotte/
@electromusic92063 жыл бұрын
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
@NicholasRenotte3 жыл бұрын
Try installing opencv-python!
@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.
@azmijedli7432 жыл бұрын
haw can i applied on raspberry pi plz for my graduation project
@pokojowyfreestyle92693 жыл бұрын
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?
@NicholasRenotte3 жыл бұрын
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-xi2qw2 жыл бұрын
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
@NicholasRenotte2 жыл бұрын
Haven't worked much with arduinos yet but when I do I got you!
@aniketbhanderi59272 жыл бұрын
I am getting this error. error: (-215:Assertion failed) (mtype == CV_8U || mtype == CV_8S) && _mask.sameSize(*psrc1) in function 'cv::binary_op'
@aniketbhanderi59272 жыл бұрын
@Nicholas Renotte Can you please help..!
@user-ed7cg1pv5f Жыл бұрын
Thank you so much for this code! Is there any way to do a performance evaluation of the code?
@jaytab36862 жыл бұрын
Is this one better than the other one?
@teilorlopes10392 жыл бұрын
Great tutorial! What about to implement usign live videos!
@kronos99133 жыл бұрын
Nice thanks bro!
@NicholasRenotte3 жыл бұрын
Thanks so much @Kronos!
@ChirawatNg Жыл бұрын
Great tutorial !!!! Thank you
@LIMYEOWCHYE3 жыл бұрын
Is it possible to actually automatically use the pictures inside the folder without manually typing the image file into cv2.imread?
@NicholasRenotte3 жыл бұрын
You can loop through the images in the folder using os.listdir then pass them to the model!
@tejeshwarrajput16793 жыл бұрын
Great video!! i have a doubt can do the same thing by using visual studio code ??
@NicholasRenotte3 жыл бұрын
Sure can, just need to install a Python interpreter into VSC.
@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
@erinbiju77667 ай бұрын
i copy pasted your code in Pycharm ,it shows no error but it does not display any output.
@Knowledge_Wave8132 жыл бұрын
Amazing 👍👍
@sakshishrivastava02103 жыл бұрын
Thanks a lot brother🙌
@NicholasRenotte3 жыл бұрын
Anytime @Sakshi!
@laponiec2 жыл бұрын
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-electronics6023 жыл бұрын
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!
@NicholasRenotte3 жыл бұрын
Hmm, what does it say in your terminal or command prompt that's running the Jupyter Notebook server?
@h-electronics6023 жыл бұрын
@@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!
@NicholasRenotte3 жыл бұрын
@@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!!
@okanmaden39803 жыл бұрын
hey bro can u explain why text = result [0] [-2]. I didnt understand why it's "-" and why "2".
@NicholasRenotte3 жыл бұрын
The -2 grabs the second last value from the array!
@Gudduyadav_198911 ай бұрын
Really great 👍 thank you 🙂
@rohit_mondal__3 жыл бұрын
thanks sir !...this helped me
@NicholasRenotte3 жыл бұрын
You're welcome man! So glad it helped!
@rohit_mondal__3 жыл бұрын
@@NicholasRenotte sir can u please make a video on yolo using keras ?
@NicholasRenotte3 жыл бұрын
@@rohit_mondal__ will take a look!
@01bit3 жыл бұрын
Great explanation!!!
@NicholasRenotte3 жыл бұрын
Thanks a bunch @01bit, so glad you enjoyed it!
@yativijay13363 жыл бұрын
can you please make a video for helmet detection using open cv please
@NicholasRenotte3 жыл бұрын
Heya @Yati, check out the latest video, should give you a walkthrough on how to do it!
@rverm1000Ай бұрын
can this be used to detect numbers on coins? and color of coins?
@DefendIntelligence3 жыл бұрын
You make amazing content Nicholas ! I have a (french) channel too on AI, we could collaborate on a video. Cheers :)
@NicholasRenotte3 жыл бұрын
Hell yeah!! Thanks so much 🙏!! Let’s touch base in the new year? Want to add me on LinkedIn and plan something out?
@giggslim49173 жыл бұрын
Hi nic anyway to edit the code such that it can better detect images of black license plates with white text? (Singaporean License Plate)
@NicholasRenotte3 жыл бұрын
Heya @Giggs! Try out the new workflow, it's way more accurate and can do different types of plates!
@candrasniper34042 жыл бұрын
What if there is another text beside the number plate? Such as, numbers on car sticker.
@NicholasRenotte2 жыл бұрын
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)
@candrasniper34042 жыл бұрын
@@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.
@raghuram98763 жыл бұрын
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
@ajaybhadwal3 жыл бұрын
Amazing Nicholas. I am into ANPR technology. Let me know how we can collaborate.
@NicholasRenotte3 жыл бұрын
Cool stuff @Viaggio!
@shukursabzaliev89292 жыл бұрын
Amazing intro ))) One question though, can the image size affect findContours functions?
@nishkarve Жыл бұрын
Nicholas, great job. How do I apply EasyOCR on a camera stream?
@MaestriiCabanelor3 жыл бұрын
please make video when u capture with live camera the plates
@NicholasRenotte3 жыл бұрын
Yup, definitely coming @Seby!
@vishwashehan84412 жыл бұрын
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?
@ygproductions40253 жыл бұрын
I want to make a executable file with a GUI for this project. How can I do that? Please help me.
@NicholasRenotte3 жыл бұрын
Check out PySimpleGUI, you could probably wrap the code into something like that!
@ramsimmha86723 жыл бұрын
How to perform the same operation using a video file. kindly update regarding that?
@NicholasRenotte3 жыл бұрын
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')
@rizaladhi706611 ай бұрын
please share tutorial how to search number in bulk image folder use free api ocr
@Eightminutesengineering2 жыл бұрын
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
@NicholasRenotte2 жыл бұрын
Heya @Faryal, can you ensure you're running the notebook in the same kernel as what you've installed the dependencies in.
@Alpha-mk5qw2 жыл бұрын
Are there any videos showing a physical prototype or build with a camera?
@gugasevero762 жыл бұрын
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?
@nimeshkumar36632 жыл бұрын
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.
@NicholasRenotte2 жыл бұрын
Sure can, check out the drug extraction video I did for PaddleOCR. I show how to do it there.
@byiringirooscar3213 жыл бұрын
how to store those number plate recognized like in mysql?
@NicholasRenotte3 жыл бұрын
You could connect to a DB using something like pypi.org/project/MySQL-python/ and push those results out!
@RanjitSingh-rq1qx Жыл бұрын
Sir how can we create the front end for this project by using flask.
@kennyackerman19383 жыл бұрын
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
@NicholasRenotte3 жыл бұрын
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.
@nas75533 жыл бұрын
Same problem
@kingsleydrah562 Жыл бұрын
Yeah, same issue 😢
@jafaraqeel8248 Жыл бұрын
File "c:\Users\AX\Desktop\ANPRwithPython-main\ANPR - Tutorial.ipynb", line 320, in "execution_count": null, NameError: name 'null' is not defined
@hariskabeerhariskabeer61903 жыл бұрын
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.
@NicholasRenotte3 жыл бұрын
Depends on your db but you could output the results using a Python SQL client or something along those lines!
@malikahmad24413 жыл бұрын
@@NicholasRenotte is there any comma separation technique used and extract only number plate characters from the result and store it into a db ?
@NicholasRenotte3 жыл бұрын
@@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
@AKKJ4202 жыл бұрын
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.
@AKKJ4202 жыл бұрын
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
@RavnnN2 жыл бұрын
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?
@bhushantayde57623 жыл бұрын
Sir can you further modify this code to be used in Parking Management System.
@NicholasRenotte3 жыл бұрын
Sure could!
@m02-0492 ай бұрын
In my case it is detecting headlights and bumper
@incredible7922 жыл бұрын
I got this error "too many values to unpack (expected 2)" when i did the crop part
@psybertron26503 жыл бұрын
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
@NicholasRenotte3 жыл бұрын
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!
@psybertron26503 жыл бұрын
Thank you so much bruhh!!! I'll research on this and get better at it.. and your video really helped me alot
@NicholasRenotte3 жыл бұрын
@@psybertron2650 awesome stuff, let me know how you go!
@meriljayasinghe92923 жыл бұрын
can u do this with deep learning ?
@NicholasRenotte3 жыл бұрын
@@meriljayasinghe9292 EasyOCR, is actually using PyTorch in the background to perform the detection!
@akshitsoni98002 жыл бұрын
Hey bro m facing assert error 251 for drawcontour anu suggestion how to solve it
@ankitprajapti221915 ай бұрын
Thank you
@C-Krunali Жыл бұрын
Can I use this code to detect number plate from videos
@gimanthadesilva3 жыл бұрын
I get an error when installing torch, windows 10 "Could not find a version that satisfies the requirement"
@NicholasRenotte3 жыл бұрын
Heya @Gimantha, what command did you use to run the install?
@gimanthadesilva3 жыл бұрын
@@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
@NicholasRenotte3 жыл бұрын
@@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/
@drew90173 жыл бұрын
@@gimanthadesilva make sure you are running 64 bit python, I had this issue too