Creates instance of
IAnprEngine
As an example, the anpr engine creation could be initiate from
Activity.onCreate(Bundle)
method:
mAnprEngineListener = new IAnprEngineListener() {
// Listener methods
...
}
...
IAnprEngine engine = AnprEngineFactory.createAnprEngine(this);
Intent runIntent = new Intent(this, this.getClass());
runIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
engine.open(mAnprEngineListener, runIntent);
For a complete example please refer to: https://github.com/sd-toolkit/android-anpr-reader