Attributes¶
Attributes must be set before the camera is opened. Changing them when the camera is open will only result in changes after the camera is closed
The component has the following optional attributes
<idlive-face-capture mask_hidden></idlive-face-capture>
mask_hidden¶
Do not show the face mask
auto_capture_disabled¶
Disable auto capture after face detection
auto_close_disabled¶
Do not close camera after taking a photo
audio_enabled¶
Request a media stream with audio
payload_size¶
Size of produced payload. Available values:
normal
(default)small
device_id¶
Device ID of the specific camera to be opened
capture_mode ¶
Depending on the selected mode, a different set of data will be collected and returned in the capture
event. Available values:
encryptedPayload
(default): a photo and an encrypted filesingleImage
: only a photo
face_not_centered_check_enabled ¶
Enable FACE_NOT_CENTERED detection error in Default and IDLive Face Detector
sunglasses_detected_check_enabled ¶
Enable SUNGLASSES_DETECTED detection error in IDLive Face Detector
mouth_open_check_enabled ¶
Enable MOUTH_OPEN detection error in IDLive Face Detector
face_blurry_check_enabled ¶
Enable FACE_BLURRY detection error in IDLive Face Detector
dark_image_check_enabled ¶
Enable DARK_IMAGE detection error in IDLive Face Detector
eyes_closed_check_enabled ¶
Enable EYES_CLOSED detection error in IDLive Face Detector