FaceDetectionRecognitionSettings

Settings for low-level face detection and recognition library

Package com.appliedrec.verid.core2

public class FaceDetectionRecognitionSettings

Constructor

FaceDetectionRecognitionSettings

Introduced in version 1.0.0

public FaceDetectionRecognitionSettings(URL)

Constructor

Parameters

modelsURL java.net.URL
URL for Ver-ID model files (optional) if null model files bundled with the SDK will be used

Methods

getFaceExtractQualityThreshold

Introduced in version 1.0.0

public getFaceExtractQualityThreshold()

Returns

float
Minimum quality score for a face to be considered for face template extraction (recognition)

setFaceExtractQualityThreshold

Introduced in version 1.0.0

public setFaceExtractQualityThreshold(float)

Parameters

faceExtractQualityThreshold float
Minimum quality score for a face to be considered for face template extraction (recognition)

getLandmarkTrackingQualityThreshold

Introduced in version 1.0.0

public getLandmarkTrackingQualityThreshold()

Returns

float
Minimum quality score for faces returned by landmark detection. If landmark detection detects a face with lower quality score the library will run full face detection (slower).

setLandmarkTrackingQualityThreshold

Introduced in version 1.0.0

public setLandmarkTrackingQualityThreshold(float)

Parameters

landmarkTrackingQualityThreshold float
Minimum quality score for faces returned by landmark detection. If landmark detection detects a face with lower quality score the library will run full face detection (slower).

isRenderScriptEnabled

Introduced in version 1.14.0

public isRenderScriptEnabled()

Returns

boolean
true if RenderScript is enabled when processing images for face detection and recognition

setEnableRenderScript

Introduced in version 1.14.0

public setEnableRenderScript(boolean)

Parameters

enableRenderScript boolean
{@literal true} to enable RenderScript when processing images for face detection and recognition