Recommendations¶
- Some recommendations to integrate the SDK in your product:
For your webapp, we highly recommend using the JavaScript code in file ‘gum-x.js’ at https://www.doubango.org/webapps/face-liveness to generate the stereo image. For example, the JS code will make sure some camera features are disabled (e.g. auto-focus) or eabled to improve stream injection detection accuracy. It’s also highly optimized.
Use Cloudfare or reCAPTCHA to secure your webapp bots.
Do not allow drag&drop. All images must come from a camera. Use stream injection module to detect virtual cameras.
Accept HD images only (1280x720 or 720x1280).
Do not disable any module (e.g. avant-garde).
Do not hard-code any threshold. These threshold may change in the coming version. Right now the liveness threshold is 85%, in the future it may be lower or higher depending how the model is trained.
Do not show the liveness score (or any other score) to the end user. That gives a hint.