OcrPhotoBoundingBox

AI Overview😉

  • The potential purpose of this module is to help Google's search algorithm understand the layout and content of images, particularly those containing text. It appears to be an Optical Character Recognition (OCR) module, which can extract text from images and identify the location of words, lines, and symbols within the image.
  • This module could impact search results by allowing Google to better understand the content of images, which could lead to more accurate image search results, improved image indexing, and potentially even the ability to search for text within images. This could also enable features like image-based question answering or text-based image retrieval.
  • To be more favorable for this function, a website could optimize its images by ensuring that text within images is clear, high-contrast, and easy to read. This could include using high-quality images, avoiding cluttered or complex layouts, and using simple fonts. Additionally, websites could consider providing alternative text for images, which could help Google's OCR module understand the content of the image even if it's unable to accurately extract the text.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Bounding box of patch containing line, word or symbol.

Attributes

  • angle (type: number(), default: nil) - Angle of rotation of (in degrees, clockwise is positive) of the box about the top-left corner.
  • curvedBox (type: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurvedBoundingBox.t, default: nil) - Sequence of rotated boxes that tightly enclose the text.
  • height (type: integer(), default: nil) - Box height (bottom pixels at top + height - 1).
  • left (type: integer(), default: nil) - x coordinate of top-left corner
  • top (type: integer(), default: nil) - y coordinate of top-left corner
  • width (type: integer(), default: nil) - Box width (rightmost pixels at left + width - 1).

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.OcrPhotoBoundingBox{
  angle: number() | nil,
  curvedBox:
    GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurvedBoundingBox.t() | nil,
  height: integer() | nil,
  left: integer() | nil,
  top: integer() | nil,
  width: integer() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.