CaptionResult Class

Definition

Represents a generated phrase that describes the content of the whole image.

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

Properties

Confidence

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

Text

The text of the caption.

Explicit Interface Implementations

IJsonModel<CaptionResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CaptionResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CaptionResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CaptionResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CaptionResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to