Mobile SDKs18 pages

SelfieCaptureOptions

← Browse native SDK reference

On this page · 4 sections
IDentity-SDK/com.idmission.sdk2.client.model/SelfieCaptureOptions

SelfieCaptureOptions

public final class SelfieCaptureOptions implements Parcelable

Provides options to change threshold or default threshold in Selfie Capture Screens.

Constructors

public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold, Float liveFaceProbabilityThreshold, Integer consecutiveFakeFaceLimit, Float lightIntensityThreshold, Boolean capture4K, Boolean uploadFaceData, Float focusFaceThreshold, Boolean isSelfieCapturePreviewEnabled)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold, Float liveFaceProbabilityThreshold, Integer consecutiveFakeFaceLimit, Float lightIntensityThreshold, Boolean capture4K, Boolean uploadFaceData, Float focusFaceThreshold)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold, Float liveFaceProbabilityThreshold, Integer consecutiveFakeFaceLimit, Float lightIntensityThreshold, Boolean capture4K, Boolean uploadFaceData)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold, Float liveFaceProbabilityThreshold, Integer consecutiveFakeFaceLimit, Float lightIntensityThreshold, Boolean capture4K)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold, Float liveFaceProbabilityThreshold, Integer consecutiveFakeFaceLimit, Float lightIntensityThreshold)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold, Float liveFaceProbabilityThreshold, Integer consecutiveFakeFaceLimit)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold, Float liveFaceProbabilityThreshold)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold, Float faceMaskProbabilityThreshold)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight, Float labelsConfidenceThreshold)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight, Float maxRelativeNoseHeight)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle, Float minRelativeNoseHeight)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle, Float maxHeadEulerAngle)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability, Float minHeadEulerAngle)
public SelfieCaptureOptions SelfieCaptureOptions(Float minFaceWidth, Float eyeOpenProbability)

Properties

Option to enable capture 4k. Whether or not to always try to capture in 4K. Default is false.

Option to set consecutive fake face limit. Consecutive fake face limit count. Default is 3.

Option to set eye open probability while capturing.

Option to set Face mask detection probability threshold. Face mask detection probability threshold percentage, represented as a value between 0.0 to 1.0. Default is 0.98.

Option to set face focus threshold. focus threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.20.

Option to enable selfie preview screen after selfie capture. Type: Boolean
nullable: false

Option to set label confidence threshold.

Option to set light intensity threshold. Maximum percentage of pixels with a light intensity over the threshold, represented as a varue between 0.0 and 1.0. Default is 0.05.

Option to set live face probability threshold. Live face detection probability threshold percentage, represented as a varue between 0.0 and 1.0. Default is 0.9.

Option to set max head euler angle.

Option to set max relative nose height.

Option to set min face width while capturing.

Option to set min head euler angle.

Option to set min relative nose height.

Option to enable upload face data. Whether or not to upload face data to the Ground Truth Engine (GTE) service. Default is true.

Functions

public final Boolean getCapture4K()

Option to enable capture 4k. Whether or not to always try to capture in 4K. Default is false.

Option to set consecutive fake face limit. Consecutive fake face limit count. Default is 3.

Option to set eye open probability while capturing.

Option to set Face mask detection probability threshold. Face mask detection probability threshold percentage, represented as a value between 0.0 to 1.0. Default is 0.98.

Option to set face focus threshold. focus threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.20.

Option to set label confidence threshold.

Option to set light intensity threshold. Maximum percentage of pixels with a light intensity over the threshold, represented as a varue between 0.0 and 1.0. Default is 0.05.

Option to set live face probability threshold. Live face detection probability threshold percentage, represented as a varue between 0.0 and 1.0. Default is 0.9.

public final Float getMaxHeadEulerAngle()

Option to set max head euler angle.

Option to set max relative nose height.

public final Float getMinFaceWidth()

Option to set min face width while capturing.

public final Float getMinHeadEulerAngle()

Option to set min head euler angle.

Option to set min relative nose height.

public final Boolean getUploadFaceData()

Option to enable upload face data. Whether or not to upload face data to the Ground Truth Engine (GTE) service. Default is true.

Option to enable selfie preview screen after selfie capture. Type: Boolean
nullable: false

public final Unit setCapture4K(Boolean capture4K)

Option to enable capture 4k. Whether or not to always try to capture in 4K. Default is false.

public final Unit setConsecutiveFakeFaceLimit(Integer consecutiveFakeFaceLimit)

Option to set consecutive fake face limit. Consecutive fake face limit count. Default is 3.

public final Unit setEyeOpenProbability(Float eyeOpenProbability)

Option to set eye open probability while capturing.

public final Unit setFaceMaskProbabilityThreshold(Float faceMaskProbabilityThreshold)

Option to set Face mask detection probability threshold. Face mask detection probability threshold percentage, represented as a value between 0.0 to 1.0. Default is 0.98.

public final Unit setFocusFaceThreshold(Float focusFaceThreshold)

Option to set face focus threshold. focus threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.20.

public final Unit setLabelsConfidenceThreshold(Float labelsConfidenceThreshold)

Option to set label confidence threshold.

public final Unit setLightIntensityThreshold(Float lightIntensityThreshold)

Option to set light intensity threshold. Maximum percentage of pixels with a light intensity over the threshold, represented as a varue between 0.0 and 1.0. Default is 0.05.

public final Unit setLiveFaceProbabilityThreshold(Float liveFaceProbabilityThreshold)

Option to set live face probability threshold. Live face detection probability threshold percentage, represented as a varue between 0.0 and 1.0. Default is 0.9.

public final Unit setMaxHeadEulerAngle(Float maxHeadEulerAngle)

Option to set max head euler angle.

public final Unit setMaxRelativeNoseHeight(Float maxRelativeNoseHeight)

Option to set max relative nose height.

public final Unit setMinFaceWidth(Float minFaceWidth)

Option to set min face width while capturing.

public final Unit setMinHeadEulerAngle(Float minHeadEulerAngle)

Option to set min head euler angle.

public final Unit setMinRelativeNoseHeight(Float minRelativeNoseHeight)

Option to set min relative nose height.

public final Unit setSelfieCapturePreviewEnabled(Boolean isSelfieCapturePreviewEnabled)

Option to enable selfie preview screen after selfie capture. Type: Boolean
nullable: false

public final Unit setUploadFaceData(Boolean uploadFaceData)

Option to enable upload face data. Whether or not to upload face data to the Ground Truth Engine (GTE) service. Default is true.

public abstract Unit writeToParcel(Parcel p0, Integer p1)
Report a docs issue

Copy this context into your team’s issue tracker or an email to support@idmission.com.