GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPage
Table of Contents ▼
Jump to a specific part of the page:
Description
No description given.Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
GarbageDetectorChangeList
(type:integer()
, default:nil
)
- If the garbage text detector was run, the changelist that the binary was sync'ed to (or -1 if unknown), and whether the settings had their production values (or false if unknown). -
GarbageDetectorWasProduction
(type:boolean()
, default:nil
)
- -
Height
(type:integer()
, default:nil
)
- Height in pixels -
HorizontalDpi
(type:integer()
, default:nil
)
- Horizontal resolution in DPI. -
Label
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocLabel
, default:nil
)
- -
PornScore
(type:float()
, default:nil
)
- Score of porn classifier from analyzing images on page. Note: This should be named porn_score, but we use PornScore as the name in order to be consistent with the rest of this proto. -
TextConfidence
(type:integer()
, default:nil
)
- Page text recognition confidence. Range depends on the algorithm but should be consistent in a given volume. 0 is bad, 100 is good. -
VerticalDpi
(type:integer()
, default:nil
)
- Vertical resolution in DPI. -
Width
(type:integer()
, default:nil
)
- Width in pixels -
block
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageBlock)
, default:nil
)
- -
mergedpageinfo
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageMergedPageInfo)
, default:nil
)
- -
postOcrConfidence
(type:boolean()
, default:nil
)
- Whether page-level text confidences and other summary data were computed by PostOcrUtils instead of the now-obsolete GarbageTextDetector -
stats
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocSummaryStats
, default:nil
)
- Page level stats (font size, line spacing, etc.)
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPage{
GarbageDetectorChangeList: integer() | nil,
GarbageDetectorWasProduction: boolean() | nil,
Height: integer() | nil,
HorizontalDpi: integer() | nil,
Label: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t() | nil,
PornScore: float() | nil,
TextConfidence: integer() | nil,
VerticalDpi: integer() | nil,
Width: integer() | nil,
block: [GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageBlock.t()] | nil,
mergedpageinfo: [GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageMergedPageInfo.t()] | nil,
postOcrConfidence: boolean() | nil,
stats: GoogleApi.ContentWarehouse.V1.Model.GoodocSummaryStats.t() | nil
}
GarbageDetectorChangeList: integer() | nil,
GarbageDetectorWasProduction: boolean() | nil,
Height: integer() | nil,
HorizontalDpi: integer() | nil,
Label: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t() | nil,
PornScore: float() | nil,
TextConfidence: integer() | nil,
VerticalDpi: integer() | nil,
Width: integer() | nil,
block: [GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageBlock.t()] | nil,
mergedpageinfo: [GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageMergedPageInfo.t()] | nil,
postOcrConfidence: boolean() | nil,
stats: GoogleApi.ContentWarehouse.V1.Model.GoodocSummaryStats.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPage