public sealed class Result : IMessage<ProductSearchResults.Types.Result>, IEquatable<ProductSearchResults.Types.Result>, IDeepCloneable<ProductSearchResults.Types.Result>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class ProductSearchResults.Types.Result.
Information about a product.
Implements
IMessage<ProductSearchResults.Types.Result>, IEquatable<ProductSearchResults.Types.Result>, IDeepCloneable<ProductSearchResults.Types.Result>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
Result()
public Result()
Result(ProductSearchResults.Types.Result)
public Result(ProductSearchResults.Types.Result other)
Parameter | |
---|---|
Name | Description |
other | ProductSearchResults.Types.Result |
Properties
Image
public string Image { get; set; }
The resource name of the image from the product that is the closest match to the query.
Property Value | |
---|---|
Type | Description |
String |
Product
public Product Product { get; set; }
The Product.
Property Value | |
---|---|
Type | Description |
Product |
Score
public float Score { get; set; }
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
Property Value | |
---|---|
Type | Description |
Single |