what-the-bank/sources/com/kofax/kmc/ken/engines/DetectionModule.java

28 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.kmc.ken.engines;
import android.os.Build;
import com.kofax.kmc.ken.engines.data.DocumentDetectionResult;
import com.kofax.kmc.ken.engines.data.DocumentDetectionSettings;
import com.kofax.kmc.kui.uicontrols.Utility;
import com.kofax.mobile.sdk._internal.detection.IFaceDetector;
import o.InterfaceC13390fZB;
import o.fZE;
/* loaded from: classes3.dex */
public class DetectionModule {
/* JADX INFO: Access modifiers changed from: package-private */
public IFaceDetector a(com.kofax.mobile.sdk._internal.impl.detection.e eVar) {
return eVar;
}
/* JADX INFO: Access modifiers changed from: package-private */
@InterfaceC13390fZB(a = "FORCED_DOCUMENT")
public IDocumentDetector<DocumentDetectionSettings, DocumentDetectionResult> a(@InterfaceC13390fZB(a = "FORCED_ISG_DOCUMENT") fZE<IDocumentDetector<DocumentDetectionSettings, DocumentDetectionResult>> fze, @InterfaceC13390fZB(a = "FORCED_GPU_DOCUMENT") fZE<IDocumentDetector<DocumentDetectionSettings, DocumentDetectionResult>> fze2) {
return d() ? fze.get() : fze2.get();
}
private static boolean d() {
return Build.MODEL.equalsIgnoreCase(Utility.ASUS_ZENFONE_2E);
}
}