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

26 lines
786 B
Java

package com.kofax.kmc.ken.engines.data;
/* loaded from: classes3.dex */
public class PassportDetectionSettings extends DetectionSettings {
public PassportDetectionSettings() {
setTargetFrameAspectRatio(1.45d);
}
public PassportDetectionSettings(PassportDetectionSettings passportDetectionSettings) {
super(passportDetectionSettings);
}
@Override // com.kofax.kmc.ken.engines.data.DetectionSettings
public double getTargetFrameAspectRatio() {
return super.getTargetFrameAspectRatio();
}
@Override // com.kofax.kmc.ken.engines.data.DetectionSettings
public void setTargetFrameAspectRatio(double d) {
if (d > 0.0d && d < 1.0d) {
d = 1.0d / d;
}
super.setTargetFrameAspectRatio(d);
}
}