go-face icon indicating copy to clipboard operation
go-face copied to clipboard

ClassifyThreshold only returns one value

Open scaldarola opened this issue 4 years ago • 2 comments

Let's say I have an array of faces, and a new one to compare against them, as of today, the function ClassifyThreshold only returns the first possible value matched in the labels that the recognizer has. What if, inside that array of faces there was more than one match to the new face I am trying to classify? That function could be refactored in order to return an array of indexes in the labels array.

How possible do you think this is?

scaldarola avatar Mar 23 '20 22:03 scaldarola

Yeah, good idea, we may want to return few most probable matches.

Kagami avatar May 11 '20 10:05 Kagami

@Kagami I am trying this lib on a pet project, and found a way to reproduce the behaviour described in this issue, but in go code. I think the best solution would be that the c++ handles it. Do you see it as a long shot?

scaldarola avatar May 31 '20 00:05 scaldarola