Condividi tramite


FaceAttributeType Struct

Definition

Available options for detect face with attribute.

public readonly struct FaceAttributeType : IEquatable<Azure.AI.Vision.Face.FaceAttributeType>
type FaceAttributeType = struct
Public Structure FaceAttributeType
Implements IEquatable(Of FaceAttributeType)
Inheritance
FaceAttributeType
Implements

Constructors

FaceAttributeType(String)

Initializes a new instance of FaceAttributeType.

Properties

Accessories

Accessories around face, including 'headwear', 'glasses' and 'mask'. Empty array means no accessories detected. Note this is after a face is detected. Large mask could result in no face to be detected.

Age

Age in years.

Blur

Face is blurry or not. Level returns 'Low', 'Medium' or 'High'. Value returns a number between [0,1], the larger the blurrier.

Exposure

Face exposure level. Level returns 'GoodExposure', 'OverExposure' or 'UnderExposure'.

FacialHair

Properties describing facial hair attributes.

Glasses

Glasses type. Values include 'NoGlasses', 'ReadingGlasses', 'Sunglasses', 'SwimmingGoggles'.

Hair

Properties describing hair attributes.

HeadPose

3-D roll/yaw/pitch angles for face direction.

Mask

Whether each face is wearing a mask. Mask type returns 'noMask', 'faceMask', 'otherMaskOrOcclusion', or 'uncertain'. Value returns a boolean 'noseAndMouthCovered' indicating whether nose and mouth are covered.

Noise

Noise level of face pixels. Level returns 'Low', 'Medium' and 'High'. Value returns a number between [0,1], the larger the noisier.

Occlusion

Whether each facial area is occluded, including forehead, eyes and mouth.

QualityForRecognition

The overall image quality regarding whether the image being used in the detection is of sufficient quality to attempt face recognition on. The value is an informal rating of low, medium, or high. Only 'high' quality images are recommended for person enrollment and quality at or above 'medium' is recommended for identification scenarios. The attribute is only available when using recognition models recognition_03 or recognition_04.

Smile

Smile intensity, a number between [0,1].

Methods

Equals(FaceAttributeType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(FaceAttributeType, FaceAttributeType)

Determines if two FaceAttributeType values are the same.

Implicit(String to FaceAttributeType)

Converts a String to a FaceAttributeType.

Inequality(FaceAttributeType, FaceAttributeType)

Determines if two FaceAttributeType values are not the same.

Applies to