GoodocOrientationLabel

AI Overview😉

  • The potential purpose of this module is to analyze the orientation and reading order of text within an image or document. This could be used to improve the search engine's ability to understand and index visual content, such as images with text, PDFs, or scanned documents.
  • This module could impact search results by allowing the search engine to better understand the content of images and documents, potentially leading to more accurate and relevant results for searches that involve visual content. It could also enable features such as optical character recognition (OCR) or image-based search queries.
  • To be more favorable for this function, a website could ensure that its visual content is optimized for OCR and indexing. This could include using clear and high-contrast fonts, avoiding cluttered or complex layouts, and providing alternative text descriptions for images. Additionally, websites could consider using formats such as PDF/A, which are designed for long-term preservation and include features such as embedded fonts and OCR data.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

OrientationLabel groups the details about orientation and reading order.

Attributes

  • deskewAngle (type: number(), default: nil) - After rotating so that the text orientation is upright, how many radians does one have to rotate the block anti-clockwise for it to be level? We guarantee: -Pi/4 <= deskew_angle <= Pi/4
  • mirrored (type: boolean(), default: nil) - Whether a text line is mirrored (e.g. reflected in a shiny surface or seen through the opposite side of a storefront window). The intent is that this is a quality of the text line image. It needs to be reflected according to a vertical axis along the direction of upright characters to make it readable. This does not affect the shape of the bounding box. A mirrored line with top to bottom writing remains top to bottom. A mirrored horizontal line will flip left to right. However any child entities (symbols) will remain in the same order, and the writing direction imposed by the language (ltr or rtl) will remain the same.
  • orientation (type: String.t, default: nil) -
  • textlineOrder (type: String.t, default: nil) -
  • writingDirection (type: String.t, default: nil) -

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.GoodocOrientationLabel{
  deskewAngle: number() | nil,
  mirrored: boolean() | nil,
  orientation: String.t() | nil,
  textlineOrder: String.t() | nil,
  writingDirection: 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.