/faceDemo

A demo of real-time face recognition on Android.

Primary LanguageC

faceDemo

I'm coming to code!

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