Comments (6)
Hey Apoorva, how should I run it on an image? It is giving the above errors, I tried changing the path to the image but it didn't work. Where should i make changes?
from licenseplatedetector.
@ldkhuong35 plate_like_objects is a list that contains the objects which it finds similar to license plates. The list is empty if it is unable to find any plate looking object and so it is throwing an error. You can try with different image or test dataset in the repo. This code assumes there is only one car in the image with a clear license plate.
I haven't tested for 2 line characters. However, I beileve you can use similar approach CCA for detecting characters as it identifies dense regions.
from licenseplatedetector.
@sam-d007 you just need to change the input file. For a video, we are taking different frames. For an image, it would be straightforward. You can read a car image as a grayscale image in DetectPlate.py rest of the code will remain same. Try using the test image in repo.
from licenseplatedetector.
@apoorva-dave Thanks, it worked. Do you know of any model that is trained on Indian License Plates? I found a haar cascade for Russian plates but not for Indian plates.
from licenseplatedetector.
@sam-d007 Not that I aware of. But these links might be helpful for you -
https://www.kaggle.com/questions-and-answers/50622
https://towardsdatascience.com/number-plate-detection-with-supervisely-and-tensorflow-part-1-e84c74d4382c
from licenseplatedetector.
Hi, @apoorva-dave I am trying to detect licence plate number using your code and it is working like a charm for videos but I am facing some issue while detecting number from an image. In DetectPlate.py
I am trying to pass the image path in this line car_image = imread("./car6.jpg", as_gray=True)
. But after this, I am getting the following error.
LicensePlateDetector-master\SegmentCharacters.py", line 10, in <module> license_plate = np.invert(DetectPlate.plate_like_objects[0]) IndexError: list index out of range
I tried to rectify by checking other files but no luck yet. Any help would be highly appreciated.
from licenseplatedetector.
Related Issues (20)
- Can i use this for real time HOT 2
- The output is not correct HOT 1
- Not getting predicted characters same as segmented characters HOT 1
- LicensePlateDetector-master\SegmentCharacters.py", line 10, in <module> license_plate = np.invert(DetectPlate.plate_like_objects[0]) IndexError: list index out of range HOT 6
- Output not correct HOT 5
- How to train my own data? HOT 1
- Trying to unpickle estimator SVC HOT 1
- license_plate = np.invert(DetectPlate.plate_like_objects[0]) IndexError: list index out of range HOT 2
- FileNotFoundError - cannot find ./output/frame106.jpg HOT 2
- gray and silver car not working. HOT 13
- Issue with training?
- Windows 10 Fresh Install HOT 2
- how to work on image..... it only take videos HOT 1
- List index out of range HOT 6
- Index out of range HOT 6
- Can't replicate the test results HOT 2
- testing accuracy is low
- 12 types of license plate recognition, implemented by C++ TneosrRT, with an accuracy rate of up to 99.5%!!!
- Request for Detailed Steps and Suggestions for Model Training and Parameter Adjustment
- increase images in tarining module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from licenseplatedetector.