Recommendations

Some recommendations to integrate the SDK in your product:
  1. 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.

  2. Use Cloudfare or reCAPTCHA to secure your webapp bots.

  3. Do not allow drag&drop. All images must come from a camera. Use stream injection module to detect virtual cameras.

  4. Accept HD images only (1280x720 or 720x1280).

  5. Do not disable any module (e.g. avant-garde).

  6. 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.

  7. Do not show the liveness score (or any other score) to the end user. That gives a hint.