OcrPhotoTextBox

AI Overview😉

  • The potential purpose of this module is to extract and analyze text from images, specifically identifying text blocks, their bounding boxes, content types, and character widths. This could be used to improve image search, enable text-based searching of images, or enhance accessibility features.
  • This module could impact search results by allowing Google to better understand the content of images, potentially leading to more accurate and relevant image search results. It could also enable new search features, such as searching for images containing specific text or phrases.
  • To be more favorable for this function, a website could optimize its images by ensuring that text within images is clear, legible, and well-contrasted with the background. Additionally, using descriptive alt text and file names for images could help Google's algorithm better understand the content of the images. Furthermore, using schema.org metadata to provide additional context about the images could also be beneficial.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.OcrPhotoTextBox (google_api_content_warehouse v0.4.0)

Text with bounding box.

Attributes

  • blockId (type: integer(), default: nil) - ID of the text block that this line belongs to.
  • box (type: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox.t, default: nil) - Text bounding box.
  • contentType (type: String.t, default: nil) - Content type for this box.
  • symbolWidths (type: list(integer()), default: nil) - Optional width of characters in the text.
  • text (type: String.t, default: nil) - Text string.

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.OcrPhotoTextBox{
  blockId: integer() | nil,
  box: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox.t() | nil,
  contentType: String.t() | nil,
  symbolWidths: [integer()] | nil,
  text: String.t() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.