SessionCustomParameter
Custom parameters for configuring a face recognition session. This type holds various flags to enable or disable specific features in the face recognition context, such as face recognition, liveness detection, mask detection, quality assessment, and attribute prediction.
type SessionCustomParameter = {
enableRecognition?: boolean;
enableLiveness?: boolean;
enableIrLiveness?: boolean;
enableMaskDetect?: boolean;
enableFaceQuality?: boolean;
enableFaceAttribute?: boolean;
enableInteractionLiveness?: boolean;
enableDetectModeLandmark?: boolean;
};
Properties
Property | Type | Description |
---|---|---|
enableRecognition | boolean | (Optional) Enable face recognition feature. Default to false |
enableLiveness | boolean | (Optional) Enable RGB liveness detection feature. Default to false |
enableIrLiveness | boolean | (Optional) Enable IR (Infrared) liveness detection feature. Default to false |
enableMaskDetect | boolean | (Optional) Enable mask detection feature. Default to false |
enableFaceQuality | boolean | (Optional) Enable face quality assessment feature. Default to false |
enableFaceAttribute | boolean | (Optional) Enable face attribute prediction feature. Default to false |
enableInteractionLiveness | boolean | (Optional) Enable interaction for liveness detection feature. Default to false |
enableDetectModeLandmark | boolean | (Optional) Enable landmark detection in detection mode. Default to false |