Package com.appliedrec.verid.core2
Interface IFaceRecognition
-
- All Known Implementing Classes:
FaceRecognition
public interface IFaceRecognition
Face recognition- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
float
compareSubjectFacesToFaces(IRecognizable[] subjectFaces, IRecognizable[] faces)
Compare a face or a multi-face subject to an array of faces.RecognizableFace[]
createRecognizableFacesFromFaces(Face[] faces, IImageProvider imageProvider)
Create faces that can be used for face recognition from faces.float
getAuthenticationThreshold()
float
getMaxAuthenticationScore()
void
setAuthenticationThreshold(float threshold)
Set authentication score threshold.
-
-
-
Method Detail
-
getMaxAuthenticationScore
float getMaxAuthenticationScore()
- Returns:
- Maximum score that may be achieved by comparing two faces
-
getAuthenticationThreshold
float getAuthenticationThreshold()
- Returns:
- Similarity score threshold beyond which two faces are considered similar enough to be of the same person.
- Since:
- 1.0.0
- See Also:
compareSubjectFacesToFaces(IRecognizable[], IRecognizable[])
-
setAuthenticationThreshold
void setAuthenticationThreshold(float threshold)
Set authentication score threshold.- Parameters:
threshold
- Similarity score threshold- Since:
- 1.0.0
- See Also:
getAuthenticationThreshold()
-
compareSubjectFacesToFaces
float compareSubjectFacesToFaces(IRecognizable[] subjectFaces, IRecognizable[] faces) throws VerIDCoreException
Compare a face or a multi-face subject to an array of faces.- Parameters:
subjectFaces
- The subject faces to compare to the other facesfaces
- Faces to compare to the subject faces- Returns:
- Similarity score
- Throws:
VerIDCoreException
- if the comparison fails- Since:
- 1.0.0
-
createRecognizableFacesFromFaces
RecognizableFace[] createRecognizableFacesFromFaces(Face[] faces, IImageProvider imageProvider) throws VerIDCoreException
Create faces that can be used for face recognition from faces.- Parameters:
faces
- Faces to use as sourceimageProvider
- Provider of the image in which the faces were detected- Returns:
- Array of faces that can be used for face recognition
- Throws:
VerIDCoreException
- if the creation fails- Since:
- 1.0.0
-
close
void close()
-
-