Open chhkg opened 1 year ago
https://github.com/exadel-inc/compreface-javascript-sdk/tree/main/face_founder_demo we have a very similar demo The main idea - you upload images to faces collection. But use file names as subject, not a person name. Then search among those subjects.
Thanks for your reply. I tried the demo but it seems that it cannot detect any face in any photos. Also, may I clarify that the output is supposed to be all photos containing the target face, or just the one photo with the highest similarity?
The reason I am asking is because I would like the output to return all photos that contains the target face. Thanks.
Not sure why you have a such error in this demo.
I described the idea, and you can see the demo code just to understand the idea better. The output will be not photos, but photos names. You can use the prediction_count
param to define the maximum number of returned names, or just set it to -1
to return all. You will still need to use similarity
field in the result to make a decision if it's high enough to say that the person is on the photo
We would like to search a face in thousands of photos at a time. Is there any existing logic or recommendation to make this progress as fast as possible? Thanks.