31 lines
766 B
Java
31 lines
766 B
Java
|
package com.kofax.android.abc.quickextractor;
|
||
|
|
||
|
import com.kofax.android.abc.document.Document;
|
||
|
import com.kofax.android.abc.vrs.VrsImage;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class MrzExtractor {
|
||
|
private long ptr = construct();
|
||
|
|
||
|
public static native long construct();
|
||
|
|
||
|
public static native long destroy(long j);
|
||
|
|
||
|
public static native long extract(long j, long j2);
|
||
|
|
||
|
static {
|
||
|
System.loadLibrary("a1ac4");
|
||
|
System.loadLibrary("d8b3e6");
|
||
|
System.loadLibrary("ee77d4");
|
||
|
System.loadLibrary("b2681f");
|
||
|
}
|
||
|
|
||
|
public void dispose() {
|
||
|
this.ptr = destroy(this.ptr);
|
||
|
}
|
||
|
|
||
|
public Document extract(VrsImage vrsImage) {
|
||
|
return new Document(extract(this.ptr, vrsImage.getPtr()), false, true);
|
||
|
}
|
||
|
}
|