To improve the accuracy of the familiar faces and unfamiliar faces detection, you can add more face images of the person to the app. The face should be captured from different angles as possible. The facial recognition works by comparing the captured face image from live camera with all the face images stored in the app. If the two images are similar, then the app will classify the captured image as the same person as in the stored image. That means the accuracy will increase with the number of imported images.
Note: All images are stored and processed locally on-device. Facial recognition will work without internet connection.