FaceAttributes Class

Definition

Face attributes for the detected face.

public class FaceAttributes : System.ClientModel.Primitives.IJsonModel<Azure.AI.Vision.Face.FaceAttributes>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Vision.Face.FaceAttributes>
type FaceAttributes = class
    interface IJsonModel<FaceAttributes>
    interface IPersistableModel<FaceAttributes>
Public Class FaceAttributes
Implements IJsonModel(Of FaceAttributes), IPersistableModel(Of FaceAttributes)
Inheritance
FaceAttributes
Implements

Properties

Accessories

Properties describing any accessories on a given face.

Age

Age in years.

Blur

Properties describing any presence of blur within the image.

Exposure

Properties describing exposure level of the image.

FacialHair

Properties describing facial hair attributes.

Glasses

Glasses type if any of the face.

Hair

Properties describing hair attributes.

HeadPose

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

Mask

Properties describing the presence of a mask on a given face.

Noise

Properties describing noise level of the image.

Occlusion

Properties describing occlusions on a given face.

QualityForRecognition

Properties describing the overall image quality regarding whether the image being used in the detection is of sufficient quality to attempt face recognition on.

Smile

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

Explicit Interface Implementations

IJsonModel<FaceAttributes>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FaceAttributes>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FaceAttributes>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FaceAttributes>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FaceAttributes>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to