Compartilhar via


DetectedPerson Class

Definition

Represents a person detected in an image.

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

Properties

BoundingBox

A rectangular boundary where the person was detected.

Confidence

A score, in the range of 0 to 1 (inclusive), representing the confidence that this detection was accurate. Higher values indicating higher confidence.

Explicit Interface Implementations

IJsonModel<DetectedPerson>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DetectedPerson>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DetectedPerson>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DetectedPerson>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DetectedPerson>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to