Show / Hide Table of Contents

Class GoogleCloudVisionV1p4beta1ReferenceImage

A ReferenceImage represents a product image and its associated metadata, such as bounding boxes.

Inheritance
object
GoogleCloudVisionV1p4beta1ReferenceImage
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Vision.v1.Data
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class GoogleCloudVisionV1p4beta1ReferenceImage : IDirectResponseSchema

Properties

BoundingPolys

Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).

Declaration
[JsonProperty("boundingPolys")]
public virtual IList<GoogleCloudVisionV1p4beta1BoundingPoly> BoundingPolys { get; set; }
Property Value
Type Description
IList<GoogleCloudVisionV1p4beta1BoundingPoly>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

The resource name of the reference image. Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID. This field is ignored when creating a reference image.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Uri

Required. The Google Cloud Storage URI of the reference image. The URI must start with gs://.

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX