what-the-bank/sources/o/fQS.java

86 lines
2.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.firebase.ml.vision.face.FirebaseVisionFace;
import java.util.List;
/* loaded from: classes5.dex */
public final class fQS implements fQU<C13099fQm> {
private static C13099fQm a;
private final C13106fQt b;
private final InterfaceC13090fQd<C13099fQm> c;
@Override // o.fQU
public final void b() {
}
@Override // o.fQU
public final void d(List<C13099fQm> list) {
fQG g;
C13099fQm c13099fQm = a;
if (list.size() == 0) {
C13099fQm c13099fQm2 = a;
if (c13099fQm2 == null) {
this.b.d.j();
return;
}
C13106fQt c13106fQt = this.b;
FirebaseVisionFace firebaseVisionFace = c13099fQm2.d;
c13106fQt.d.j();
return;
}
for (C13099fQm c13099fQm3 : list) {
if (c13099fQm == null) {
c13099fQm = c13099fQm3;
}
if (c13099fQm.d.getBoundingBox().width() * c13099fQm.d.getBoundingBox().height() < c13099fQm3.d.getBoundingBox().width() * c13099fQm3.d.getBoundingBox().height() || c13099fQm.d.getTrackingId() == c13099fQm3.d.getTrackingId()) {
c13099fQm = c13099fQm3;
}
}
if (a == null) {
a = c13099fQm;
}
if (a.d.getTrackingId() != c13099fQm.d.getTrackingId()) {
C13106fQt c13106fQt2 = this.b;
FirebaseVisionFace firebaseVisionFace2 = a.d;
c13106fQt2.d.j();
return;
}
a = c13099fQm;
c13099fQm.d.getTrackingId();
C13106fQt c13106fQt3 = this.b;
C13099fQm c13099fQm4 = a;
if (c13099fQm4 != null) {
c13106fQt3.d.c();
c13106fQt3.d.d();
boolean z = fQP.b().g;
if (c13099fQm4.b) {
c13099fQm4.d.getRightEyeOpenProbability();
} else {
c13099fQm4.d.getLeftEyeOpenProbability();
}
if (c13099fQm4.b) {
c13099fQm4.d.getLeftEyeOpenProbability();
} else {
c13099fQm4.d.getRightEyeOpenProbability();
}
c13099fQm4.d.getSmilingProbability();
int i = c13099fQm4.c;
c13099fQm4.d.getHeadEulerAngleY();
int i2 = c13099fQm4.c;
c13099fQm4.d.getHeadEulerAngleZ();
if (c13106fQt3.d.d()) {
c13106fQt3.d.a();
if (c13106fQt3.d.a() < 0 || (g = c13106fQt3.d.g()) == null) {
return;
}
g.c(c13099fQm4);
}
}
}
public fQS(C13121fRc c13121fRc, C13106fQt c13106fQt) {
this.c = c13121fRc;
this.b = c13106fQt;
}
}