Comments (6)
Hi @kstar1996
Could you please share with me the code that you're trying? It seems like a referencing issue which should be pretty straightforward to deal with
from license-plate-recognition.
Just demo.py! I haven't changed anything. I was just trying it out and it works for some images(including test.jpeg which you provided), but for some images it gives me that error above.
To be exact, it says this.
Traceback (most recent call last):
File "/Users/eujin/Downloads/License-Plate-Recognition-master/demo.py", line 12, in
plate_img, plate = extract_plate(original_image)
File "/Users/eujin/Downloads/License-Plate-Recognition-master/license_plate_extraction.py", line 19, in extract_plate
return plate_img, plate # returning the processed image.
UnboundLocalError: local variable 'plate' referenced before assignment
from license-plate-recognition.
@kstar1996
Can you please share with me the image you're trying to test? I think the cascade classifier isn't able to detect any licence plates in the image
from license-plate-recognition.
Yeah sure.
This is one of the images! I think the problem is what you said.
I have another question related to something else.
'bash download.sh' doesn't work.
So I went here http://sergiomsilva.com/pubs/alpr-unconstrained/ and downloaded the weights and descriptor for
WPOD-NET and OCR-NET
but the license-plate-ocr.py requires also two other files called "ocr-net.data" and "ocr-net.names".
also the vehicle-detector weights yolo-voc.weights and configurations yolo-voc.cfg files are needed.
Do you maybe have the files that are needed? I think it is not public anymore!
from license-plate-recognition.
This meta file is generated purely for Indian license plates. It might not recognise the characters that are present in your image's plate
You can download yolo-voc files from the official darknet website instead. I'm not sure if I'd have ocr.data and ocr.names files but if I get them, I'll let you know
The author's site seems to be down intermittently. You can probably try some time later
from license-plate-recognition.
Thanks!
from license-plate-recognition.
Related Issues (9)
- Demo HOT 1
- video.py , OpenCV Error: Unknown error code -10 HOT 6
- Image has string type, instead of Numpy Array HOT 4
- How many frames can you process in one second HOT 2
- How did you make the wpod-net run fast? ? HOT 2
- what is the opencv version? HOT 3
- How many frames can be processed in one second HOT 5
- How many frames can be processed per second HOT 3
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 license-plate-recognition.