GoogleApi.Vision.V1.Model.ReferenceImage (google_api_vision v0.23.0) View Source
A ReferenceImage
represents a product image and its associated metadata, such as bounding boxes.
Attributes
-
boundingPolys
(type:list(GoogleApi.Vision.V1.Model.BoundingPoly.t)
, default:nil
) - 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). -
name
(type:String.t
, default:nil
) - 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. -
uri
(type:String.t
, default:nil
) - Required. The Google Cloud Storage URI of the reference image. The URI must start withgs://
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Vision.V1.Model.ReferenceImage{ boundingPolys: [GoogleApi.Vision.V1.Model.BoundingPoly.t()], name: String.t(), uri: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.