OpenCV 3 License Plate Recognition C++ full source code
Вставка
- Опубліковано 3 жов 2024
- GitHub site:
github.com/Mic...
Prerequisites:
• OpenCV 3 Windows 10 In...
• OpenCV 3 KNN Character...
If you found this video helpful please consider supporting me on Patreon:
www.patreon.co...
License Plate Detection Demo Using Raspberry Pi Camera - ua-cam.com/video/E-U_H9EbW60/v-deo.html
Hi Chris ! You are saving lives here ... Thank You !!!!!!! millions of love and respect for you. You are awesome . !
Thank you.. I have run your program. It works.. but i want to understand the method(every steps) mathematically. Can anyone help me?
Can we run it with vs 2012 ?
Best tutorial in the universe!
there were other words like "california" and "cobra" how did that program distinguish plate or other words?
KNN
Hi Chris, I loved how your programs work, but I have some doubts, I would like to know what is the data for training based on, more specifically in the programs classification.txt and flattened_images.txt. Thank you :)
Thank you very much Chris Dahms about this clip. It was very useful for me. However I have the problem about kNN . It was not successful and exit. How did you fix it? Please kindly advise;
Hello Chris, i do a BAC project in France, license plate recognition, i follow your full tutorial without error of myself so, when i F5 the programm, the softaware say "(lot of files) ". Unable to find or open PDB file. Can you help me plz ??? :'(
i got error "error C3083: 'ml': the symbol to the left of a '::' must be a type C:\Users\dip\Documents\Visual Studio 2010\Projects\OpenCV_3_License_Plate_Recognition_Cpp\DetectChars.cpp 6 1 OpenCV_3_License_Plate_Recognition_Cpp"
i used visual studio 10 and opencv 249...
is there any way of characters from different languages?
Hello, Chris thank you for the kind explanation about Opencv. It really helped a lot. However I have few errors to solve.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(358,5): error MSB6006: "CL.exe"이(가) 종료되었습니다(코드: -1073741515). Error sign kept coming out which means "CL.exe" has closed. I used Opencv 3.2.0, Visual Studio 2017. Can you help me with the error? Thank you again.
Thank you very much chris it was very useful, really appreciate it. I want to know whether this theory can be used for a video of vehicles and to detect the plates in the video. I'll be really thankful if you provide me any useful tips or links regarding how this can be used for a video or can be changed for a video. Thank you.
The installation/configuration vid ua-cam.com/video/7SM5OD2pZKY/v-deo.html has a webcam example, it would not be difficult to put the webcam code from that in place of the still image code in this project to get a webcam working.
+Chris Dahms hi Chris.. sorry bothering you. I'm very thankful if you could show us which part that can be used from cannywebcam.cpp to apply in this plate recognition coding? i tried many times. it get worse :'(
Hi Dela, have you been able to dock a webcam for image recognition rather than a still image?
i want to understand the method(every internal steps) mathematically. Can anyone help me?
Hi Chris, can this program also be use for real time too?
Your series is pretty good with one caveat. Windows is a bad choice for software development and its use introduces needless complexity to the process. Computer vision applications are more naturally run on stand-alone systems such as Arduino and the whole windows paradigm just wastes resources. Thus, at the very least your packages should include Makefile scripts for building under Linux. As I understand it, Linux and Python are native to Arduino so adding support for them should make your videos much more useful to the world.
Thank you very much chris it was very useful, really appreciate it. but ,i want know where is the theory coming from?Please provide me .Thank you !!
Hi man, how can I generate myown *.xml files for kNearest algo? Unforyunately, I haven't found guides about kNearest-training on real images.
Hello Quick Question. I'm working on a mobile (android) solution using NDK. How well would a solution like this work for analyzing a video stream not just a single frame? I'm mostly concerned with the license plate detection and not actually recognizing characters as I just want to save an image from a video stream that sees a license plate. Thanks!
Thank you bro !!!!!
hi Chris am getting error in the detectchar.cpp file it says error: name followed by '::' must be namespace or class...any help
Hi Chris thanks very much , it's awesome
i want to knew How use license recognition plate in another language for plates has another character language else english ?
i saw you use a classifications.xml to detect character
is it possible to change or make like this for another one??
It is a great video. What if i want to detect the car plate with white font black background?
Thank you very much chris it was very useful, really appreciate it. I want to know whether this theory can be used for a live video streming and to detect the code in the video. I'll be really thankful if you provide me any useful tips or links regarding how this can be used for a video or can be changed for a video . Thank you.
The first video in the prerequisites section covers how to use a webcam with OpenCV, you could use the webcam code from that example with this project.
hello as is possible to run the same example but with a loaded video file from my computer ... I tried it with the example of the webcam you have in a previous video but is not the same as uploading a file ... Could you help me please
Hello Chris! great video series for computer vision enthusiast's. There will be two row license plates for some vehicles in INDIA. can this code be modified for the same??
I have error "unable to open training classifications file, exiting program". can someone tell me how fix it ?
Hello, I'm a UA-cam viewer in Korea. What version of the C++ source code did you work on? Did you set opencv to 3? Please tell me the exact version of opencv.
I am having trouble in recognizing Indian Number plates and also I need to make use of active learning please help me
Hi. Are you performing Viola-Jones for the detection?
hello chris, thanks for the video but there is a problem with my file. the visual studio cannot read the file of "opencv_world310d". is it i'm wrongly installed or what? need your help. thank you.
hey,it's very nice to watch your tutorials, just wondering where you learn about those opencv programming? from official website?
who can help me,my country license char 1 will be filtered
respect !!!!
could you guide me how to create images.xml file? thanks so much
Hello, how can i only scan the pixels i want. I mean , i will set pixel range
Hello, can this software to recognize the number from a video stream?
hi Chris. thanks for the tutorial. however, i hope that you show about the plate recognition using camera. :D
very good!
Hey, Really great tutorial. If i want to recognize two or more car's plate at the same time so how it can be done? Please help
Hi Chris! can we use webcam to take a live image of plate and then extract the number on it
Hi Chris, Thanks a lot for this video. I tried your code and worked perfectly with the pics you included in the folder. The problem I have is that when I used some pictures I took from internet and from my camera some worked but for some it returned an error "error: image not read from file". Are there any limitations or restrictions for type of photos that should be used? Waiting for your reply, Thank you
Based on the error message you have mentioned it would seem that OpenCV was unable to open the image you provided. To my knowledge OpenCV supports pretty much any common image format and a wide range of sizes, I'm not sure what type or size you are using.
I would suggest to feed the image giving you trouble into the first program in the installation tutorial ua-cam.com/video/7SM5OD2pZKY/v-deo.html you get the same error then that confirms it's a limitation of OpenCV or something is wrong with the image, in which case that is not something I can assist with and I would suggest you post a question about it on answers.opencv.org/questions/. Best of luck
+Chris Dahms Thanks chris. I built it again and it works now. Sorry about that.
Hello, please when I run the program, there is an error: "opencv_world320d not found in my computer". what should I do? thank you.
Hi i want to recognize national id card number. Can i use this code for it?
hi chris pliz tell me what version of opencv you use ? AND what's your system exploitation u have 32BITS OR 64 bits
3.1.0
How can I add this project to my STM32 card?
Can I request tutorial video ,tesseract ocr with visual studio ?
I can run you code and recognize the povided images. However when I try to load my photos, opencv is not able to open it in "cv::imread("my_image.png"); " do you known if there are any restriction in the specifications of images?
is the image in the project folder? try using full path "C:/Users/..."
any way to make this work with video? been trying
I still don't understand in your train data, you are using many number in classifications.txt, is that a random number of something?
Thanks bro for your hard work, this video was really informative.
actually some plates are not recognised correctly can you please help how to fix this problem.
I can help you for this: mail to faresiala@live.fr
what if i want to recognize multiple plates?
how can we do this on a video please help
Hi Chris! I just done all steps shown in this video but the probelm am facing is output image not displaying in it. It is not showing any error. The .exe file is generating but diappeared in fraction of second. In output explorer it is showing like many .dll symbols loaded eg: 'arplatedetection.exe' (Win32): Loaded 'C:\Windows\System32
pcrt4.dll'.Symbols loaded. It is I had installed Visual Studio 2013 and opencv3.1.0 and OS: Windows 10 x64bit. Can you suggest me to fix this problem?
Hi Lavanya, have you solved this problem?
Yeah! Later I found that I did not include some lib files. After added all files in properties I got output.
is there some libraries different from video 1?
Can the program run fast enough to process, in real time, video of cars passing by if you use a really good camera? or can it only process still photos?
You may want to employ accelerated computing, using OpenCL and Intel FPGA platform. They can process video stream in real time.
Hi , this is my error: 'OpenCV_3_License_Plate_Recognition_Cpp-master.exe' (Win32) : Chargé 'C:\opencv\build\x64\vc12\bin\opencv_world310d.dll'. Impossible de trouver ou d'ouvrir le fichier PDB.
Did you follow the steps in the 1st prerequisite video linked in the description above to configure OpenCV?
Hello chris, Thank you very much for your video. In the code you just loaded two xml files. I want to know more about your training process and how these two xml files are generated. Can you give me your training code?
Can you please make this project in C# or what changes do i need to create one in c#
have seen in visual basic, any information would be highly appreciable
Thank You!
Can I need you help me ? please !
Thank you a lot!
Hi! thanks for sharing this to us.
Do you think we can use this for road signs instead of plate number? Any recommendations? Thanks!
I would tend towards using keypoints (try Googling on "OpenCV ORB" or "OpenCV AKAZE" for more info) for most road signs, but this method may work as well. I'm planning on a road sign tutorial eventually but it will be a while as I have some other projects planned immediately. Thanks for the suggestion though.
how can we do this on Qt platform?
HI Chris, i am getting a error that a dependent dll was not found opencv_world310.lib
You have not added the path, see ua-cam.com/video/7SM5OD2pZKY/v-deo.html
Do you have some tutorial on how am I going to train my own model and plate number?
Thank you! crazy good video
what about matlab if i'm working on it how can i use Raspberry p???i
You should follow his tutorial on plate recognitionon with Python since you can use Python on Raspberry Pi, I will try it myself later
Does anyone has an idea
Hey,
Awesome video!! can you please do a video on vehicle color recognition?
Thank you.
This is easy compared to this licence plate recognition
My .exe file is not getting created .When I try running the code at compie time it shows an error .exe specified could not be found.
please someone help
please see my comment above
Hello chris,
How to do all this in Ubuntu, which IDE?
clone the git repository, install all the dependencies you're missing, if you have ubuntu 14.04 or a version above python is already installed... all you have to do afterward is type $ python Main.py in terminal
Hi Chris! The vehicle plates I am analyzing is of opposite colors(Black plate, white characters). How do I cater for this?
Hey there, so do u have any clue about it yet? Please email me, lchong93@gmail.com
Thank you!
I have the same problem
I've solved this part. After many trial and errors, I decided to just invert the colors of the source image and it works. lol. Currently working on improving the speed and accuracy of applying this on a video stream.
Hi Daren
Can I get the code? Because I want to know how it works. I hope you can share with me :)
Thanks bro
I can send you an ANPR code: mail to faresiala@live.fr
Hallo!! thank you so much!
I have a question...Is it possibile to correct the error OCR in KNN?
In this mode Can I improve the precision and limited the errors?
With substantially more time it would be possible to get the character recognition perfect for the limited data set used here, however due to moving on to other projects and time limitations I do not have any immediate plans to so at this time.
what you use for identification character ?
can u pls show me how to create a simple gui in opencv
See part 3 (Emgu CV) or part 4 (Qt) of this series for GUI options.
Hey Chris, great video! Wondering how did you train the character recognition for the car licence plates. Did you crop and paste multiple car licence plates onto a large graphic file and train from there onwards?
Please see the 2nd video in the prerequisites section in the comments above.
+Chris Dahms Thanks for the heads up Chris - sorry for the bother!
hi chris. i have a question. is it possible to store the result in sql?
I'm not very familiar with the various SQL options out there and I've not tried that myself, but I don't see any reason the data could not be written from an OpenCV Mat into some sort of database format.
+Chris Dahms and there are any possible this tutorial can be use with webcam? and can i use the training set with white characters? in my country, vehicles are using plat number with black background. i tried with training set provided and could not detect any characters. my project for detection in real time.
Error 1 error C2065: 'CV_ADAPTIVE_THRESH_GAUSSIAN_C' : undeclared identifier
how to resolve this error
Did you fix it? i face the same problem also
Please see my comment above
Hello Chris ! when i build success, the program report unable to open trainning classfication, exit program and KNN traning was not successful after exit
immediately. Can u help me ? Thank you so much.
did you solve this problem ?
yes, i did.
can you tell how , plz ?
mohamed eid u use OS ?? Window ?
Tell me yr email. i will send source.
Can you teach me how to open .xml ??? thanks!
i want to recognition chinese
Hi i follow every step in video i am getting this error
'ml': the symbol to the left of a ''::'" must be a type