what-the-bank/sources/com/kofax/android/abc/xvrs/Detection/XVrsMultiDetector.java

67 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.android.abc.xvrs.Detection;
import com.kofax.android.abc.xvrs.XVrsDocument;
import com.kofax.android.abc.xvrs.XVrsImage;
/* loaded from: classes3.dex */
public class XVrsMultiDetector {
private long m_impl = nativeCreate();
public static native boolean nativeStaticInitializer();
public native long nativeCreate();
public native void nativeDispose();
public native XVrsDocument nativeGetDocument();
public native XVrsImage nativeGetProcessedImage();
public native void nativeInitializeFromFile(String str, String str2);
public native void nativeInitializeFromString(String str, String str2);
public native void nativeProcess(long j);
public native void nativeReset();
static {
if (!nativeStaticInitializer()) {
throw new RuntimeException("com.kofax.android.abc.xvrs.Detection.XVrsMultiDetector: Static initializer failed.");
}
}
public void dispose() {
nativeDispose();
this.m_impl = 0L;
}
public void loadConfigurationFile(String str, String str2) {
nativeInitializeFromFile(str, str2);
}
public void loadConfigurationString(String str, String str2) {
nativeInitializeFromString(str, str2);
}
public void reset() {
nativeReset();
}
public void process(XVrsImage xVrsImage) {
nativeProcess(xVrsImage.getPtr());
}
public XVrsDocument getDocument() {
return nativeGetDocument();
}
public XVrsImage getProcessedImage() {
return nativeGetProcessedImage();
}
public long getPtr() {
return this.m_impl;
}
}