Skip to content
/ faceDemo Public

A demo of real-time face recognition on Android.

Notifications You must be signed in to change notification settings

glcas/faceDemo

Repository files navigation

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