package com.kofax.kmc.ken.engines.data; import android.graphics.Point; /* loaded from: classes3.dex */ public class SelfieDetectionSettings { private Point cH; private double cI; private double cJ; private double fq; private double fr; public SelfieDetectionSettings() { this.cI = 0.0d; this.cJ = 15.0d; this.fq = 0.35d; this.fr = 15.0d; } public SelfieDetectionSettings(SelfieDetectionSettings selfieDetectionSettings) { this.cI = 0.0d; this.cJ = 15.0d; this.fq = 0.35d; this.fr = 15.0d; this.cH = selfieDetectionSettings.cH; this.cI = selfieDetectionSettings.cI; this.cJ = selfieDetectionSettings.cJ; this.fq = selfieDetectionSettings.fq; this.fr = selfieDetectionSettings.fr; } public void setTargetFramePaddingPercent(double d) { if (d < 0.0d) { this.cJ = 0.0d; } else if (d > 50.0d) { this.cJ = 50.0d; } else { this.cJ = d; } } public void setTargetFrameAspectRatio(double d) { if (d <= 0.0d) { this.cI = 0.0d; } else { this.cI = d; } } public void setMinimumFaceSize(double d) { if (d < 0.0d || d > 1.0d) { return; } this.fq = d; } public void setFaceAngleTolerance(double d) { if (d >= 0.0d || d <= 60.0d) { this.fr = d; } } public void setCenterPoint(Point point) { this.cH = point; } public double getTargetFramePaddingPercent() { return this.cJ; } public double getTargetFrameAspectRatio() { return this.cI; } public double getMinimumFaceSize() { return this.fq; } public double getFaceAngleTolerance() { return this.fr; } public Point getCenterPoint() { return this.cH; } }