GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
Font label
Attributes List
This module has the following attributes (case-insensitive ascending order):
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
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
}
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