This sample demonstrates realtime face recognition on Android. The project is based on the FaceNet.
The project is heavily inspired by
The code can recognize 5 famous people's faces.(Source)

Also, you can add new person using photos.

from davidsandberg's facenet
| Model name | LFW accuracy | Training dataset | Architecture | 
|---|---|---|---|
| 20180402-114759 | 0.9965 | VGGFace2 | Inception ResNet v1 | 
from MediaPipe