Face Recognition using KNN

if i run the face_recog file and try to recognize a person whose face is not recorded, it still recognizes the face and labels it from the already recorded ones!

It reports the label having maximum similarity out of the recorded ones even if the similarity is very small

so how can i prevent that from happening?

Not possible to stop this happening in this case