다음을 통해 공유


SmartCropsResult Class

Definition

Smart cropping result. A list of crop regions at the desired as aspect ratios (if provided) that can be used as image thumbnails. These regions preserve as much content as possible from the analyzed image, with priority given to detected faces.

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

Properties

Values

A list of crop regions.

Explicit Interface Implementations

IJsonModel<SmartCropsResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SmartCropsResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SmartCropsResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SmartCropsResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SmartCropsResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to