Silent-Face-Anti-Spoofing

静默活体检测(Silent-Face-Anti-Spoofing)

APACHE-2.0 License

Stars
1.3K

****|English Version

(Silent-Face-Anti-Spoofing)

,APK,.

2020-07-30: caffe

APK

3D

,,

MobileFaceNetFlops0.224G0.081G,().

Model FLOPs Params
MobileFaceNet 0.224G 0.991M
MiniFASNetV1 0.081G 0.414M
MiniFASNetV2 0.081G 0.435M

APK

APK

https://github.com/minivision-ai/Silent-Face-Anti-Spoofing-APK

Demo

Model(input 80x80) FLOPs Speed FPR TPR
APK 84M 20ms 1e-5 97.8%
162M 40ms 1e-5 99.7%

  • :(ms), (0~1)(or)
  • ,,,

  • RGB
  • 30

990 5G 990 845 810 RK3288
/ms 19 23 24 25 90

pip install -r requirements.txt

Clone

git clone https://github.com/minivision-ai/Silent-Face-Anti-Spoofing  
cd Silent-Face-Anti-Spoofing

1.3,; 2.,patch,patch;

  • (org_1_heightxwidth),resize(width, height),1;
  • patch(scale_heightxwidth),,,(scale)resize(width, height),2-4scale1,2.74patch;
    patch demo

3.,.


 datasets
     RGB_Images
         org_1_80x60
             0
		 aaa.png
		 bbb.png
		 ...
             1
		 ddd.png
		 eee.png
		 ...
             2
		 ggg.png
		 hhh.png
		 ...
         1_80x80
         ...

python train.py --device_ids 0  --patch_info your_patch

./resources/anti_spoof_models ./resources/detection_model ./images/sample

python test.py --image_name your_image_name

6d8q (1); (2)files; (3)caffemodelmodels;

QQ1121178835

SDKMini-AI