what-the-bank/sources/com/google/firebase/ml/vision/label/FirebaseVisionOnDeviceImage...

43 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.firebase.ml.vision.label;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.internal.firebase_ml.zzmd;
import com.google.android.gms.internal.firebase_ml.zzue;
/* loaded from: classes2.dex */
public class FirebaseVisionOnDeviceImageLabelerOptions {
private final float zzavp;
private FirebaseVisionOnDeviceImageLabelerOptions(float f) {
this.zzavp = f;
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
return (obj instanceof FirebaseVisionOnDeviceImageLabelerOptions) && this.zzavp == ((FirebaseVisionOnDeviceImageLabelerOptions) obj).zzavp;
}
/* loaded from: classes2.dex */
public static class Builder {
private float zzavp = 0.5f;
public FirebaseVisionOnDeviceImageLabelerOptions build() {
return new FirebaseVisionOnDeviceImageLabelerOptions(this.zzavp);
}
}
public int hashCode() {
return Objects.hashCode(Float.valueOf(this.zzavp));
}
public final zzmd.zzy zzno() {
return (zzmd.zzy) ((zzue) zzmd.zzy.zzko().zzq(this.zzavp).zzrj());
}
public float getConfidenceThreshold() {
return this.zzavp;
}
}