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

FaceDetectionResult Class

Definition

Response for detect API.

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

Properties

FaceAttributes

Face attributes for detected face.

FaceId

Unique faceId of the detected face, created by detection API and it will expire 24 hours after the detection call. To return this, it requires 'returnFaceId' parameter to be true.

FaceLandmarks

An array of 27-point face landmarks pointing to the important positions of face components. To return this, it requires 'returnFaceLandmarks' parameter to be true.

FaceRectangle

A rectangle area for the face location on image.

RecognitionModel

The 'recognitionModel' associated with this faceId. This is only returned when 'returnRecognitionModel' is explicitly set as true.

Explicit Interface Implementations

IJsonModel<FaceDetectionResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FaceDetectionResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FaceDetectionResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FaceDetectionResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FaceDetectionResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to