syaringan357/Android-MobileFaceNet-MTCNN-FaceAntiSpoofing
关于
在 Android 上使用 TensorFlow Lite,集成人脸检测(MTCNN)、人脸活体检测(CVPR2019-DeepTreeLearningForZeroShotFaceAntispoofing)和人脸比对(使用 InsightFace 损失函数的 MobileFaceNet)。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文MobileFaceNet-Android
This project includes three models.
MTCNN(pnet.tflite, rnet.tflite, onet.tflite), input: one Bitmap, output: Box. Use this model to detect faces from an image.
FaceAntiSpoofing(FaceAntiSpoofing.tflite), input: one Bitmap, output: float score. Use this model to determine whether the image is an attack.
MobileFaceNet(MobileFaceNet.tflite), input: two Bitmaps, output: float score. Use this model to judge whether two face images are one person.
iOS platform implementation: https://github.com/syaringan357/iOS-MobileFaceNet-MTCNN-FaceAntiSpoofing
References
https://github.com/vcvycy/MTCNN4Android
This project is the Android implementaion of MTCNN face detection.
https://github.com/davidsandberg/facenet
Use the MTCNN here to convert .tflite, so that you can adapt to any shape.
https://github.com/jiangxiluning/facenet_mtcnn_to_mobile
Here's how to convert .tflite.
https://github.com/yaojieliu/CVPR2019-DeepTreeLearningForZeroShotFaceAntispoofing
Face Anti-spoofing. I trained FaceAntiSpoofing.tflite, which only supports print attack and replay attack. If you have other requirements, please use this source code to retrain.
https://github.com/sirius-ai/MobileFaceNet_TF
Use this model for face comparison on mobile phones because it is very small.
BUILD
After putting .tflite in your assets directory, remember to add this code to your gradle:
aaptOptions {
noCompress "tflite"
}
SCREEN SHOT
探索相关项目
加载中…