Capture Targets¶
KnomiWeb currently several different capture targets:
Constant |
Description |
|---|---|
FACE |
Facial Image |
DRIVERS_LICENSE_FRONT |
Front of driver’s license |
DRIVERS_LICENSE_BACK |
Back of drivers license |
PASSPORT |
Passport |
TURKISH_TITLE_DEED |
Turkish Title Deed |
VIDEO |
Makes a video recording with audio |
VOICE |
Makes a voice recording |
The default capture target is FACE.
Setting the Capture Target¶
To set a capture target, set the property on the Camera object:
let captureTarget = "DRIVERS_LICENSE_BACK";
cameraObj.SetPropertyString(Module.CameraProperty.CAPTURE_TARGET, captureTarget);