bearsprogrammer / real-time-deep-face-recognition

using facenet algorithm
MIT License
233 stars 100 forks source link

How to add UNknown label for untrained images #23

Open guruvishnuvardan opened 6 years ago

guruvishnuvardan commented 6 years ago

HI,

I am using this code to identify unknown faces that are not trained, so Can you please let me know, where to add "Unknown" label, so that I can take screen shot of those unknown persons to train later.

Thanks Guru

iamsiddhantsahu commented 6 years ago

@bearsprogrammer @guruvishnuvardan I have the same question as well.

elbayaninho commented 6 years ago

You are not the same.

majorzhou commented 5 years ago

You can do it in realtime_facenet_git.py in the if condition block

# inner exception
if bb[i][0] <= 0 or bb[i][1] <= 0 or bb[i][2] >= len(frame[0]) or bb[i][3] >= len(frame):
# added code about the faces NOT in range