Class RecognitionMode


  • public final class RecognitionMode
    extends Object
    Sets the recognition mode to perform facial recognition.
    • Constructor Detail

      • RecognitionMode

        public RecognitionMode()
    • Method Detail

      • valueOfDisabled

        public static RecognitionMode valueOfDisabled()
        Creates the recognition mode to disable facial recognition.
        Returns:
        The recognition mode to be used to perform facial recognition.
      • valueOfVerifyingMatchToFaceInSingleFaceImage

        public static RecognitionMode valueOfVerifyingMatchToFaceInSingleFaceImage​(VisionSource visionSource)
        Creates the recognition mode to perform verification of a single face in a VisionSource. If the provided VisionSource contains no face or more than a single face, the analysis operation will encounter an error.
        Parameters:
        visionSource - The VisionSource that contains only a single face.
        Returns:
        The recognition mode to be used to perform facial recognition.
      • valueOfVerifyingMatchToFaceInSessionConfiguration

        public static RecognitionMode valueOfVerifyingMatchToFaceInSessionConfiguration()
        Creates the recognition mode to perform verification of a preset face within session configuration.
        Returns:
        The recognition mode to be used to perform facial recognition.