Comments (3)
Hi Czery,
That is indeed an interesting point. We are both Dutch so we never considered or tested this, but I've been trying to get this to work for a couple of hours now. Unfortunately without any success. However I have been able to confirm that changing the configuration file has effect on the recognition service.
The way I've been testing this is as follows:
-
Have a local copy of the plugin (By downloading or cloning the git repo instead of installing the plugin with NPM)
-
Edit the ios/lib/openalpr.framework/runtime_data/config/eu.conf for iOS or android/assets/runtime_data/config/eu.conf for Android. Save.
-
Go to your cordova application (I use Ionic) and remove the platform (iOS or Android) from your platforms folder.
-
Remove the cordova-plugin-openalpr from your plugin folder.
-
Add your locally edited plugin to your cordova project by using the command:
npm plugins add /path/to/plugin/root/folder
followed by adding the desired platformnpm platforms add android
ornpm platforms add ios
. -
Build the project, Since I use Ionic I use the command
ionic build ios
to build the project. -
Open the application on an emulator or phone to test.
I only tested this on iOS.
If you don't get this to work I recommend making an issue on the official OpenALPR github repo (https://github.com/openalpr/openalpr/issues) since we only made OpenALPR usable with Cordova and are not the developers of the original framework.
Good Luck, and please keep me updated ;)
Cheers,
Melvin
from cordova-plugin-openalpr.
Hi Melvin,
thanks for you reply. Unfortunately I did not get this to work either. I did not even see a difference in recognition after altering the eu.conf ...
However I researched a little about OpenALPR and regions and found out that the additional characters have to be trained for the OCR library (Tesseract) for OpenALPR being able to detect them. There is a repo with a tool for specifically training OpenALPR for a new license plate font https://github.com/openalpr/train-ocr
I will see if I can generate a new region for Germany in the next weeks which would recognize German Umlaute but should also improve the recognition in general as it would be for the German license plate font specifically.
I will keep you updated on this.
Cheers
czery
from cordova-plugin-openalpr.
Hi @czery,
Thanks for your update! It is indeed an issue with the trainingdata in OpenALPR itself. You can also find a related issue here, about white spaces in German license plates. Maybe you can also find some assistance there.
We didn't know that German license plates are that hard to scan, with the white spaces and special characters (Umlaute).
I am gonna close this issue for now, since it is more an OpenALPR issue. Feel free to respond here if you have an update or create a pull request! 👍
from cordova-plugin-openalpr.
Related Issues (20)
- Example/Usage With Cordova-Plugin-Camera HOT 4
- Issue with Cordova Platforms : android 7.0.0 HOT 4
- No rego recognized or error message - 0: No image found for given file path. HOT 5
- Scanning retunrs nothing HOT 11
- Plugin Not Fetching Data From South Africa License Plate HOT 3
- TypeError cannot read property 'scan' of undefined HOT 2
- Ionic 4 support? HOT 3
- Error in Success callbackId: OpenALPR1194570412 : TypeError: callback.success.apply is not a function HOT 5
- I'm not able to use this plugin in ionic v4. HOT 1
- Not working on arm64-v8a, x86 or x86_64 Android devices. HOT 8
- add full support setDefaultRegion HOT 3
- Always returning empty array HOT 2
- Not working no response no error HOT 2
- Android 64-bit support HOT 2
- openalpr.conf changes not being picked up when app built HOT 2
- Enable Bitcode for ios HOT 1
- this.openalpr.scan is not a function / undefined
- Modern iOS / XCode / Capacitor support HOT 3
- Android armeabi-v7a issue? HOT 1
- java.lang.UnsatisfiedLinkError: dlopen failed: library "libopenalprjni.so" not found
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 cordova-plugin-openalpr.