GoogleApi.ContentWarehouse.V1.Model.ImageRegionsImageRegion
Table of Contents ▼
Jump to a specific part of the page:
Description
A single region within an image. NEXT_ID: 11
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
boundingBox
(type:GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox
, 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
, 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
, 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
, default:nil
)
- The starburst v4 features and tokens for the region.
Type
@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
}
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
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ImageRegionsImageRegion