GoodocCharLabel

GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel


Table of Contents ▼

Jump to a specific part of the page:

Description

Font label

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. BaseLine (type: integer(), default: nil)
    - The shift of a character from the base line of the string in pixels
  2. CharacterHeight (type: integer(), default: nil)
    - Height of small characters in pixels on the source image
  3. Color (type: integer(), default: nil)
    - The foreground color of the symbol; the default color is 0 (black)
  4. Confidence (type: integer(), default: nil)
    - Symbol recognition confidence from OCR. Range depends upon OCR Engine.
  5. FontId (type: integer(), default: nil)
    - The font ID refers to the fonts table in the document header
  6. FontSize (type: integer(), default: nil)
    - Size in points (JFYI: point is 1/72"). This is rounded to the nearest whole number.
  7. FontSizeFloat (type: number(), default: nil)
    - Size in points represented as float.
  8. FontType (type: integer(), default: nil)
    -
  9. HasUncertainHeight (type: boolean(), default: nil)
    - If CharacterHeight is defined uncertainly
  10. 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.
  11. IsBold (type: boolean(), default: nil)
    -
  12. IsItalic (type: boolean(), default: nil)
    -
  13. IsSmallCaps (type: boolean(), default: nil)
    -
  14. IsStrikeout (type: boolean(), default: nil)
    -
  15. IsSubscript (type: boolean(), default: nil)
    -
  16. IsSuperscript (type: boolean(), default: nil)
    -
  17. IsSuspicious (type: boolean(), default: nil)
    - If OCR Engine marked the character as "suspicious" (this character is likely to be recognized incorrectly).
  18. IsUnderlined (type: boolean(), default: nil)
    -
  19. 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.
  20. Penalty (type: integer(), default: nil)
    - Symbol-level penalty from the garbage text detector. Lower is better; range = [0,100].
  21. SerifProbability (type: integer(), default: nil)
    - The probability that a character is written with a Serif font

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel