This Cordova plugin adds support for the OpenALPR (Automatic License Plate Recognition) library, which provides support for retrieving the license plate from a picture.
The current master branch supports the following platforms:
- iOS (>= 8)
- Android (>= SDK 21)
This plugin requires Cordova 5.0+ and can be installed from the Cordova Plugin Registry.
cordova plugin add cordova-plugin-openalpr
This plugin defines a global cordova.plugins.OpenALPR
object, which provides an API for scanning license plates. It is possible to use the output of cordova-plugin-camera and pass it to the scan function of this plugin.
cordova.plugins.OpenALPR.scan(filepath, function (data) {
//Results
console.log(data);
}, function (error) {
console.log(error.code + ': ' + error.message)
});
- This project includes prebuilt OpenALPR libraries for iOS and Android, because the compilation of the OpenALPR framework requires a lot of effort and dependencies.
- License plate scanning based on OpenALPR.
- iOS platform support based on OpenALPR iOS.
- Android platform support based on OpenALPR Java bindings