Skip to content

Instantly share code, notes, and snippets.

@fernandoseguim
Created June 9, 2019 23:45
Show Gist options
  • Save fernandoseguim/1bd14dbbe9ecffd911670362e22155e0 to your computer and use it in GitHub Desktop.
Save fernandoseguim/1bd14dbbe9ecffd911670362e22155e0 to your computer and use it in GitHub Desktop.
private static bool HaveSamePerson(IEnumerable<CompareFacesMatch> facesMatches, float similarity, float confidence)
=> facesMatches.Any(label => label.Similarity > similarity && label.Face.Confidence > confidence);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment