hi guys, little help here
"I don't want to put unknown encodings of group image in to a classifier"
what i did was find Matches for each of the encoding and trying to remove encodings with matches=0
for encoding in encodings:
d={}
matches =np.count_nonzero(face_recognition.compare_faces(data["encodings"],
encoding))
d["encods"]=[matches,encoding]
for k,v in list(d.items()):
if v[0]==0:
del d[k]
print("dict",d)
I am not getting what i want
"I don't want to put unknown encodings of group image in to a classifier"
what i did was find Matches for each of the encoding and trying to remove encodings with matches=0
for encoding in encodings:
d={}
matches =np.count_nonzero(face_recognition.compare_faces(data["encodings"],
encoding))
d["encods"]=[matches,encoding]
for k,v in list(d.items()):
if v[0]==0:
del d[k]
print("dict",d)
I am not getting what i want