glcas / faceDemo

A demo of real-time face recognition on Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

faceDemo

A demo of real-time face recognition on Android.

Features

  • Used CameraX to implement the preview and get images for analysis.

  • Used ncnn2mem tool to convert the model files to header files, making the models hardcoded. Thus the demo can work once installed.

  • Support simultaneous multi-face recognition.

References

ncnn

mtcnn_ncnn

mobilefacenet-V2

mobilefacenet-ncnn

The CameraX provides image analysis use case, which produces images in YUV_420_888 format. The code here can convert the images to Bitmap format.

Screenshots

recognition

Add face

Delete faces

About

A demo of real-time face recognition on Android.


Languages

Language:C 99.2%Language:C++ 0.7%Language:Java 0.1%Language:RenderScript 0.0%Language:CMake 0.0%