SelfieCaptureOptions

public final class SelfieCaptureOptions implements Parcelable

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

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Option to set eye open probability while capturing.

Link copied to clipboard

Option to set Face mask detection probability threshold. Face mask detection probability threshold percentage, represented as a varue between 0.0 and 1.0. Default is 0.79.

Link copied to clipboard

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

Link copied to clipboard

Option to set label confidence threshold.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Option to set max head euler angle.

Link copied to clipboard

Option to set max relative nose height.

Link copied to clipboard

Option to set min face width while capturing.

Link copied to clipboard

Option to set min head euler angle.

Link copied to clipboard

Option to set min relative nose height.

Link copied to clipboard

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

Functions

Link copied to clipboard
public abstract Integer describeContents()
Link copied to clipboard
public final Boolean getCapture4K()

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

Link copied to clipboard

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

Link copied to clipboard

Option to set eye open probability while capturing.

Link copied to clipboard

Option to set Face mask detection probability threshold. Face mask detection probability threshold percentage, represented as a varue between 0.0 and 1.0. Default is 0.79.

Link copied to clipboard

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

Link copied to clipboard

Option to set label confidence threshold.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
public final Float getMaxHeadEulerAngle()

Option to set max head euler angle.

Link copied to clipboard

Option to set max relative nose height.

Link copied to clipboard
public final Float getMinFaceWidth()

Option to set min face width while capturing.

Link copied to clipboard
public final Float getMinHeadEulerAngle()

Option to set min head euler angle.

Link copied to clipboard

Option to set min relative nose height.

Link copied to clipboard
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.

Link copied to clipboard
public final Unit setCapture4K(Boolean capture4K)

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

Link copied to clipboard
public final Unit setConsecutiveFakeFaceLimit(Integer consecutiveFakeFaceLimit)

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

Link copied to clipboard
public final Unit setEyeOpenProbability(Float eyeOpenProbability)

Option to set eye open probability while capturing.

Link copied to clipboard
public final Unit setFaceMaskProbabilityThreshold(Float faceMaskProbabilityThreshold)

Option to set Face mask detection probability threshold. Face mask detection probability threshold percentage, represented as a varue between 0.0 and 1.0. Default is 0.79.

Link copied to clipboard
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.

Link copied to clipboard
public final Unit setLabelsConfidenceThreshold(Float labelsConfidenceThreshold)

Option to set label confidence threshold.

Link copied to clipboard
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.

Link copied to clipboard
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.

Link copied to clipboard
public final Unit setMaxHeadEulerAngle(Float maxHeadEulerAngle)

Option to set max head euler angle.

Link copied to clipboard
public final Unit setMaxRelativeNoseHeight(Float maxRelativeNoseHeight)

Option to set max relative nose height.

Link copied to clipboard
public final Unit setMinFaceWidth(Float minFaceWidth)

Option to set min face width while capturing.

Link copied to clipboard
public final Unit setMinHeadEulerAngle(Float minHeadEulerAngle)

Option to set min head euler angle.

Link copied to clipboard
public final Unit setMinRelativeNoseHeight(Float minRelativeNoseHeight)

Option to set min relative nose height.

Link copied to clipboard
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.

Link copied to clipboard
public abstract Unit writeToParcel(Parcel p0, Integer p1)