ImageRegionsImageRegion

AI Overview😉

  • The potential purpose of this module is to analyze and understand the content of images on a webpage, particularly identifying regions within an image that contain products or specific labels. This module appears to be part of Google's image understanding and indexing capabilities.
  • This module could impact search results by influencing the ranking of webpages that contain images with identified products or labels. Webpages with images that are accurately labeled and contain relevant products may be considered more relevant to search queries, potentially improving their search engine ranking. Conversely, webpages with images that are not accurately labeled or do not contain relevant products may be ranked lower.
  • To be more favorable to this function, a website could ensure that their images are accurately labeled and contain relevant products or labels. This could be achieved by using descriptive alt tags, providing contextual information about the image, and using schema markup to identify products or labels within the image. Additionally, optimizing images by compressing them and using relevant file names could also improve the performance of this module.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.ImageRegionsImageRegion (google_api_content_warehouse v0.4.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

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.