View Source GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel (google_api_content_warehouse v0.3.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

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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

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

Unwrap a decoded JSON object into its complex fields.