你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ImageAnalysisOptions Struct
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.
Options for a single image analysis operation.
public struct ImageAnalysisOptions
type ImageAnalysisOptions = struct
Public Structure ImageAnalysisOptions
- Inheritance
-
ImageAnalysisOptions
Remarks
If you are doing Image Analysis using the standard model, you must set the Features property to one or more visual features to analyze. There is no default selection for visual features. If you are using a custom model or doing Image Segmentation, you do not need to specify visual features.
Properties
GenderNeutralCaption |
Boolean flag for enabling gender-neutral captioning for Caption and Dense Captions features. |
Language |
The desired language for result generation (a two-letter language code). |
ModelVersion |
The version of cloud AI-model used for analysis. |
SmartCropsAspectRatios |
A list of aspect ratios to use for smart cropping. |