Partager via


MaskProperties Class

Definition

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

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

Properties

NoseAndMouthCovered

A boolean value indicating whether nose and mouth are covered.

Type

Type of the mask.

Explicit Interface Implementations

IJsonModel<MaskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MaskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MaskProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MaskProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MaskProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to