GoodocDocumentPage

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):

View Attributes

Attributes

  1. 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).
  2. GarbageDetectorWasProduction (type: boolean(), default: nil)
    -
  3. Height (type: integer(), default: nil)
    - Height in pixels
  4. HorizontalDpi (type: integer(), default: nil)
    - Horizontal resolution in DPI.
  5. Label (type: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel, default: nil)
    -
  6. 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.
  7. 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.
  8. VerticalDpi (type: integer(), default: nil)
    - Vertical resolution in DPI.
  9. Width (type: integer(), default: nil)
    - Width in pixels
  10. block (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageBlock), default: nil)
    -
  11. mergedpageinfo (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageMergedPageInfo), default: nil)
    -
  12. postOcrConfidence (type: boolean(), default: nil)
    - Whether page-level text confidences and other summary data were computed by PostOcrUtils instead of the now-obsolete GarbageTextDetector
  13. 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
}

Function

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

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