Class FaceDescription


  • public class FaceDescription
    extends Object
    An object describing a face identified in the image.
    • Constructor Detail

      • FaceDescription

        public FaceDescription()
    • Method Detail

      • age

        public int age()
        Get the age value.
        Returns:
        the age value
      • withAge

        public FaceDescription withAge​(int age)
        Set the age value.
        Parameters:
        age - the age value to set
        Returns:
        the FaceDescription object itself.
      • gender

        public Gender gender()
        Get the gender value.
        Returns:
        the gender value
      • withGender

        public FaceDescription withGender​(Gender gender)
        Set the gender value.
        Parameters:
        gender - the gender value to set
        Returns:
        the FaceDescription object itself.
      • faceRectangle

        public FaceRectangle faceRectangle()
        Get the faceRectangle value.
        Returns:
        the faceRectangle value
      • withFaceRectangle

        public FaceDescription withFaceRectangle​(FaceRectangle faceRectangle)
        Set the faceRectangle value.
        Parameters:
        faceRectangle - the faceRectangle value to set
        Returns:
        the FaceDescription object itself.