Condividi tramite


FacialHair Class

Definition

Properties describing facial hair attributes.

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

Properties

Beard

A number ranging from 0 to 1 indicating a level of confidence associated with a property.

Moustache

A number ranging from 0 to 1 indicating a level of confidence associated with a property.

Sideburns

A number ranging from 0 to 1 indicating a level of confidence associated with a property.

Explicit Interface Implementations

IJsonModel<FacialHair>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FacialHair>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FacialHair>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FacialHair>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FacialHair>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to