Compartilhar via


HairProperties Class

Definition

Properties describing hair attributes.

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

Properties

Bald

A number describing confidence level of whether the person is bald.

HairColor

An array of candidate colors and confidence level in the presence of each.

Invisible

A boolean value describing whether the hair is visible in the image.

Explicit Interface Implementations

IJsonModel<HairProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HairProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HairProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HairProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HairProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to