Skip to content

Differentiating faces after utils/generate_db.py #8

@nathan-m-schneider-22

Description

@nathan-m-schneider-22

After successfully running utils/generate_db.py on several different faces (.jpg images 96x112, all different people) and using that db for inference_video, I'm still having trouble differentiating the faces. I tried to keep each face in the same format as the examples in /image, however, all the faces are assigned the same label.

After the dot product in postprocessing face_recognition, the result is typically around

[[[5.13239309]]
 [[5.13109348]]
 [[5.30474482]]
 [[5.53775566]]
 [[5.09075269]]
 [[5.30884969]]
 [[5.03641731]]]

with index 3 always chosen as the argmax, and that label is always assigned.
db.npy.zip

My main question is: what format should the images be in for the model to successfully differentiate faces / is there a different way to differentiate faces outside of the db method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions