AIVisionImageAnalysisModelFactory.ImageAnalysisResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ImageAnalysisResult.
public static Azure.AI.Vision.ImageAnalysis.ImageAnalysisResult ImageAnalysisResult (Azure.AI.Vision.ImageAnalysis.CaptionResult caption = default, Azure.AI.Vision.ImageAnalysis.DenseCaptionsResult denseCaptions = default, Azure.AI.Vision.ImageAnalysis.ImageMetadata metadata = default, string modelVersion = default, Azure.AI.Vision.ImageAnalysis.ObjectsResult objects = default, Azure.AI.Vision.ImageAnalysis.PeopleResult people = default, Azure.AI.Vision.ImageAnalysis.ReadResult read = default, Azure.AI.Vision.ImageAnalysis.SmartCropsResult smartCrops = default, Azure.AI.Vision.ImageAnalysis.TagsResult tags = default);
static member ImageAnalysisResult : Azure.AI.Vision.ImageAnalysis.CaptionResult * Azure.AI.Vision.ImageAnalysis.DenseCaptionsResult * Azure.AI.Vision.ImageAnalysis.ImageMetadata * string * Azure.AI.Vision.ImageAnalysis.ObjectsResult * Azure.AI.Vision.ImageAnalysis.PeopleResult * Azure.AI.Vision.ImageAnalysis.ReadResult * Azure.AI.Vision.ImageAnalysis.SmartCropsResult * Azure.AI.Vision.ImageAnalysis.TagsResult -> Azure.AI.Vision.ImageAnalysis.ImageAnalysisResult
Public Shared Function ImageAnalysisResult (Optional caption As CaptionResult = Nothing, Optional denseCaptions As DenseCaptionsResult = Nothing, Optional metadata As ImageMetadata = Nothing, Optional modelVersion As String = Nothing, Optional objects As ObjectsResult = Nothing, Optional people As PeopleResult = Nothing, Optional read As ReadResult = Nothing, Optional smartCrops As SmartCropsResult = Nothing, Optional tags As TagsResult = Nothing) As ImageAnalysisResult
Parameters
- caption
- CaptionResult
The generated phrase that describes the content of the analyzed image.
- denseCaptions
- DenseCaptionsResult
The up to 10 generated phrases, the first describing the content of the whole image, and the others describing the content of different regions of the image.
- metadata
- ImageMetadata
Metadata associated with the analyzed image.
- modelVersion
- String
The cloud AI model used for the analysis.
- objects
- ObjectsResult
A list of detected physical objects in the analyzed image, and their location.
- people
- PeopleResult
A list of detected people in the analyzed image, and their location.
- read
- ReadResult
The extracted printed and hand-written text in the analyze image. Also knows as OCR.
- smartCrops
- SmartCropsResult
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.
- tags
- TagsResult
A list of content tags in the analyzed image.
Returns
A new ImageAnalysisResult instance for mocking.
Applies to
Azure SDK for .NET