你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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