28 lines
1.2 KiB
Java
28 lines
1.2 KiB
Java
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);
|
|
}
|
|
}
|