GoodocCharLabel

AI Overview😉

  • The potential purpose of this module is to analyze and understand the visual characteristics of text within an image or document, such as font style, size, color, and orientation. This can help Google's algorithm to better recognize and extract text from images, which can improve search results and indexing of image-based content.
  • This module could impact search results by allowing Google to better understand the content of images and documents, which can lead to more accurate and relevant search results. For example, if a user searches for a specific phrase or keyword, Google's algorithm can use this module to identify and rank images or documents that contain that text, even if it's not explicitly mentioned in the metadata or alt text.
  • To be more favorable to this function, a website could ensure that their images and documents are optimized for OCR (Optical Character Recognition) by using clear and high-contrast fonts, avoiding complex layouts or backgrounds, and providing alternative text for images. Additionally, using structured data and metadata to describe the content of images and documents can also help Google's algorithm to better understand and index the content.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Font label

Attributes

  • BaseLine (type: integer(), default: nil) - The shift of a character from the base line of the string in pixels
  • CharacterHeight (type: integer(), default: nil) - Height of small characters in pixels on the source image
  • Color (type: integer(), default: nil) - The foreground color of the symbol; the default color is 0 (black)
  • Confidence (type: integer(), default: nil) - Symbol recognition confidence from OCR. Range depends upon OCR Engine.
  • FontId (type: integer(), default: nil) - The font ID refers to the fonts table in the document header
  • FontSize (type: integer(), default: nil) - Size in points (JFYI: point is 1/72"). This is rounded to the nearest whole number.
  • FontSizeFloat (type: number(), default: nil) - Size in points represented as float.
  • FontType (type: integer(), default: nil) -
  • HasUncertainHeight (type: boolean(), default: nil) - If CharacterHeight is defined uncertainly
  • HorizontalScale (type: integer(), default: nil) - The horizontal scaling for a character, in percents. The default value for this property is 100, which corresponds to no scaling.
  • IsBold (type: boolean(), default: nil) -
  • IsItalic (type: boolean(), default: nil) -
  • IsSmallCaps (type: boolean(), default: nil) -
  • IsStrikeout (type: boolean(), default: nil) -
  • IsSubscript (type: boolean(), default: nil) -
  • IsSuperscript (type: boolean(), default: nil) -
  • IsSuspicious (type: boolean(), default: nil) - If OCR Engine marked the character as "suspicious" (this character is likely to be recognized incorrectly).
  • IsUnderlined (type: boolean(), default: nil) -
  • NotOcrablePerQA (type: boolean(), default: nil) - True if a QA operator has marked this as not OCRable. This is used for complex equations, scripts that the operator can't type, or handwriting.
  • Penalty (type: integer(), default: nil) - Symbol-level penalty from the garbage text detector. Lower is better; range = [0,100].
  • SerifProbability (type: integer(), default: nil) - The probability that a character is written with a Serif font

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.GoodocCharLabel{
  BaseLine: integer() | nil,
  CharacterHeight: integer() | nil,
  Color: integer() | nil,
  Confidence: integer() | nil,
  FontId: integer() | nil,
  FontSize: integer() | nil,
  FontSizeFloat: number() | nil,
  FontType: integer() | nil,
  HasUncertainHeight: boolean() | nil,
  HorizontalScale: integer() | nil,
  IsBold: boolean() | nil,
  IsItalic: boolean() | nil,
  IsSmallCaps: boolean() | nil,
  IsStrikeout: boolean() | nil,
  IsSubscript: boolean() | nil,
  IsSuperscript: boolean() | nil,
  IsSuspicious: boolean() | nil,
  IsUnderlined: boolean() | nil,
  NotOcrablePerQA: boolean() | nil,
  Penalty: integer() | nil,
  SerifProbability: integer() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.