Skip to content

Open Source Face Liveness detection using Huawei ML Kit (Anti-Spoofing)

License

Notifications You must be signed in to change notification settings

DoubangoTelecom/HuaweiFaceLiveness

Repository files navigation

This repo contains source code using Huawei's ML Kit for Liveness detection. Our tests show 32.2% accuracy for Huawei on high resolution images while Doubango's Liveness detection has 100% accuracy:

  • Tests done on #50 4K images and #50 2K images
  • The images are displayed on MacBook Pro (Retina, 15-inch, Mid 2014)
  • The images are captured using a Galaxy S10+
  • The Galaxy S10+ is positioned at 3 different positions for each image: far, near, close
  • A sample image can be found here. Huawei never managed to catch Print-Attacks on 4K images

Huawei's implementation may not be accurate enough for commercial applications but the SDK is free and could be good candidate for open source projects.

The next video (https://youtu.be/4Z8VRTS8WrA) shows some tries using ML Kit (code in this repo).

Print-Attack on ML Kit (anti-spoofing)


Releases

No releases published

Packages

No packages published

Languages