ImageInfo Constructors
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.
Overloads
ImageInfo() |
Initializes a new instance of the ImageInfo class. |
ImageInfo(String, String, CropArea) |
Initializes a new instance of the ImageInfo class. |
ImageInfo()
Initializes a new instance of the ImageInfo class.
public ImageInfo ();
Public Sub New ()
Applies to
ImageInfo(String, String, CropArea)
Initializes a new instance of the ImageInfo class.
public ImageInfo (string imageInsightsToken = default, string url = default, Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.CropArea cropArea = default);
new Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageInfo : string * string * Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.CropArea -> Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageInfo
Public Sub New (Optional imageInsightsToken As String = Nothing, Optional url As String = Nothing, Optional cropArea As CropArea = Nothing)
Parameters
- imageInsightsToken
- String
An image insights token. To get the insights token, call one of the Image Search APIs (for example, /images/search). In the search results, the Image object's imageInsightsToken field contains the token. The imageInsightsToken and url fields mutually exclusive; do not specify both. Do not specify an insights token if the request includes the image form data.
- url
- String
The URL of the input image. The imageInsightsToken and url fields are mutually exclusive; do not specify both. Do not specify the URL if the request includes the image form data.
- cropArea
- CropArea
A JSON object consisting of coordinates specifying the four corners of a cropped rectangle within the input image. Use the crop area to identify the region of interest in the image. You can apply the crop area to the images specified using the imageInsightsToken or url fields, or an image binary specified in an image form data.
Applies to
Azure SDK for .NET