View Source GoogleApi.ContentWarehouse.V1.Model.ImageRegionsImageRegion (google_api_content_warehouse v0.3.0)
A single region within an image. NEXT_ID: 11
Attributes
-
boundingBox
(type:GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox.t
, default:nil
) - The bounding box of the region. -
boundingBoxScore
(type:number()
, default:nil
) - The confidence score associated with the bounding box. -
id
(type:String.t
, default:nil
) - A unique identifier for the region within the image. The id is unique only among other regions in the image. -
isProduct
(type:boolean()
, default:nil
) - Set true if the region represents a product, i.e., if any of its labels are on a product labels whitelist. See ImageRegionsConfig for details on the product whitelist. -
knnScore
(type:float()
, default:nil
) - The score for this region based on how visually similar its neighbors are. -
labelGroup
(type:GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingLabelGroup.t
, default:nil
) - The label group corresponding to the first LabelParams listed in ImageRegionsConfig. -
labelVersion
(type:String.t
, default:nil
) - The version string of the labels with which the region was processed. -
primaryLabel
(type:GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingLabel.t
, default:nil
) - The primary label associated with the region. Specifically, the highest-scored whitelisted label associated with the region. See ImageRegionsConfig for details on the whitelist. -
renderType
(type:String.t
, default:nil
) - -
starburstV4
(type:GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingFeature.t
, default:nil
) - The starburst v4 features and tokens for the region.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageRegionsImageRegion{ boundingBox: GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox.t() | nil, boundingBoxScore: number() | nil, id: String.t() | nil, isProduct: boolean() | nil, knnScore: float() | nil, labelGroup: GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingLabelGroup.t() | nil, labelVersion: String.t() | nil, primaryLabel: GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingLabel.t() | nil, renderType: String.t() | nil, starburstV4: GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingFeature.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.