what-the-bank/sources/com/kofax/mobile/sdk/m/c.java

32 lines
992 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.m;
import android.graphics.Bitmap;
import com.kofax.android.abc.image_classification.ImageClassifier;
import com.kofax.android.abc.image_classification.ResultPair;
import java.util.List;
import java.util.Vector;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class c implements com.kofax.mobile.sdk.c.b {
private final com.kofax.mobile.sdk.c.d Hg;
/* JADX INFO: Access modifiers changed from: package-private */
@InterfaceC13391fZD
public c(com.kofax.mobile.sdk.c.d dVar) {
this.Hg = dVar;
}
@Override // com.kofax.mobile.sdk.c.b
public List<ResultPair> a(String str, Bitmap bitmap, int i) {
Vector<ResultPair> classificationResults;
synchronized (this) {
ImageClassifier N = this.Hg.N(str);
N.classify(bitmap, i);
classificationResults = N.getClassificationResults();
N.dispose();
}
return classificationResults;
}
}