shubham0204 / FaceRecognition_With_FaceNet_Android

Face Recognition using the FaceNet model and MLKit on Android.
https://towardsdatascience.com/using-facenet-for-on-device-face-recognition-with-android-f84e36e19761
Apache License 2.0
264 stars 88 forks source link

[issue] Always assign a face even if the image does not exist. #23

Closed ravesmith closed 3 years ago

ravesmith commented 3 years ago

I've done the following test.

I take a photograph of a person (my friend Tom) and put it in his folder. I open the app and the app reads the folder (I only have one person).

ok, the app recognizes all people like Tom, shouldn't it show a warning that his photograph is missing or directly ignore those people?

(if necessary I can record a video showing it to you)

best regards.

shubham0204 commented 3 years ago

@ravesmith I would consider this as a feature request. We can add a threshold for the L2 norm. If the score ( L2 norm ) is smaller than a given threshold, the image belongs to that particular person. Else, it is in the UNKNOWN category.

shubham0204 commented 3 years ago

@ravesmith See the face_verification_feature branch.