ImageRegionsImageRegion

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):

View Attributes

Attributes

  1. boundingBox (type: GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox, default: nil)
    - The bounding box of the region.
  2. boundingBoxScore (type: number(), default: nil)
    - The confidence score associated with the bounding box.
  3. 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.
  4. 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.
  5. knnScore (type: float(), default: nil)
    - The score for this region based on how visually similar its neighbors are.
  6. labelGroup (type: GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingLabelGroup, default: nil)
    - The label group corresponding to the first LabelParams listed in ImageRegionsConfig.
  7. labelVersion (type: String.t, default: nil)
    - The version string of the labels with which the region was processed.
  8. 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.
  9. renderType (type: String.t, default: nil)
    -
  10. 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
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ImageRegionsImageRegion