GoodocDocumentPage

AI Overview😉

  • Potential purpose of module: This module appears to be a document analysis tool that extracts various features from a webpage or document, such as image analysis (porn score), text recognition confidence, and layout information (height, width, DPI, etc.). The goal is likely to help Google's search algorithm better understand the content and quality of a webpage.
  • Impact on search results: This module could impact search results by influencing the ranking of webpages based on their content quality, relevance, and user experience. For example, a webpage with low text recognition confidence or a high porn score might be deemed low-quality and demoted in search results. Conversely, a webpage with high text recognition confidence and relevant layout features might be considered high-quality and promoted in search results.
  • Optimization for this function: To be more favorable for this function, a website could focus on improving the following aspects:
    • Ensure high-quality, relevant, and well-formatted content.
    • Optimize images to reduce the risk of false positives in image analysis.
    • Improve text recognition confidence by using clear, readable fonts and layouts.
    • Enhance user experience by providing a clean, intuitive, and responsive design.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPage (google_api_content_warehouse v0.4.0)

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.t, 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.t), default: nil) -
  • mergedpageinfo (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageMergedPageInfo.t), 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.t, default: nil) - Page level stats (font size, line spacing, etc.)

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

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

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.