Interface IFaceRecognition

  • All Known Implementing Classes:
    FaceRecognition

    public interface IFaceRecognition
    Face recognition
    Since:
    1.0.0
    • Method Detail

      • getMaxAuthenticationScore

        float getMaxAuthenticationScore()
        Returns:
        Maximum score that may be achieved by comparing two faces
      • 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 faces
        faces - 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 source
        imageProvider - 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()