A demo of real-time face recognition on Android.
-
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.
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.