iMicknl / cordova-plugin-openalpr

This Cordova plugin adds support for the OpenALPR (Automatic License Plate Recognition) library, which provides support for retrieving the license plate from a picture.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library not supported

hafiz013 opened this issue · comments

Hai there, this library not support for car plate from my country malaysia. Is there way to get myt.xml for my country?

Hi @hafiz013,

You can change the country by editing the following line of code:

Android: src/android/OpenALPR.java @ line 74

Alpr alpr = new Alpr("eu", conf_file, runtime_dir);

iOS: src/ios/PlateScanner.mm @ line 27

delegate->setCountry("eu");

Just change eu to whatever country you want (only countries with a corresponding xml file will work).

We would like to enhance this in the future as explained in issues #2 and #9

If you have any more questions feel free to ask.

Cheers,
Melvin

I have checked that corresponding xml not supported to my country malaysia after change this

Alpr alpr = new Alpr("eu", conf_file, runtime_dir); and delegate->setCountry("eu");

Questions about country support belong in the OpenALPR repository, please ask them there.