Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not recognize image #7

Open
Xaaris opened this issue Jul 20, 2018 · 4 comments
Open

Can not recognize image #7

Xaaris opened this issue Jul 20, 2018 · 4 comments

Comments

@Xaaris
Copy link

Xaaris commented Jul 20, 2018

Hey, I followed your installation instructions and everything seems to be correct so far. But when I try to recognize a basic image (even the official example image http://plates.openalpr.com/h786poj.jpg) I get no results. I followed you example closely and have the following code:

let image = UIImage(named: "testImage")! let alprScanner = OAScanner(country: "eu", patternRegion: "de") print("ALPR version: \(alprScanner?.version())") alprScanner?.scanImage(image, onSuccess: { (plates) in print("found \(plates?.count) plate(s)") plates?.forEach({ (plate) in print("result: \(plate.number) : confidence: \(plate.confidence)") }) }, onFailure: { (error) in print("error: \(error)") })
All I'm getting is
ALPR version: 2.3.0 found Optional(0) plate(s)

Do you have any ideas what I might be doing wrong?

@damien-nd
Copy link

@Xaaris I know it is a long time ago, but do you have solve your problem? I'm facing the same issue and I can't fix it. Thank you.

@Xaaris
Copy link
Author

Xaaris commented Mar 25, 2019

@damien-nd I have not. I went on to build my own system in Python which you can find here: https://github.com/Xaaris/Hauptprojekt
Its nowhere near perfect or presentable at this point though. But I'm working on it

@damien-nd
Copy link

@Xaaris I'm new to Python but I will have a try. Your screenshoot looks promising, nice job.

@Xaaris
Copy link
Author

Xaaris commented Mar 25, 2019

As I said, its still in a rough state but hit me up if you have questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants