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

Error initializing OpenALPR #42

Closed
kevinjpetersen opened this issue Mar 5, 2017 · 2 comments
Closed

Error initializing OpenALPR #42

kevinjpetersen opened this issue Mar 5, 2017 · 2 comments

Comments

@kevinjpetersen
Copy link

I'm trying to use this in my Android App, everything compiles correctly and the files DOES exists in the APK. I confirmed this by doing a InputStream to the Config file and then read it. I could do that no problem.

These are my paths to my files, and then at the bottom it says the error.

image

This is my Config file.

image

This is my MainActivity

image

What could go wrong?

@kevinjpetersen
Copy link
Author

Appearently this method, doesn't actually work:

OpenALPR.Factory.create(MainActivity.this, ANDROID_DATA_DIR).recognize(testImage, 10);

Because when I change it to this:

OpenALPR.Factory.create(MainActivity.this, ANDROID_DATA_DIR).recognizeWithCountryRegionNConfig("eu", "", testImage, openAlprConfFile, 10);

It works like a charm

Closing.

@NoumanBaig
Copy link

Hi,
I got this error while i changed to india in config file.what can i do for that?

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