Googly.CloudVision.Model.Page (googly_cloud_vision v0.1.0)

Copy Markdown View Source

Detected page from OCR.

Attributes

  • blocks (type: list(Googly.CloudVision.Model.Block.t())) - List of blocks of text, images etc on this page.
  • confidence (type: number()) - Confidence of the OCR results on the page. Range [0, 1].
  • height (type: integer()) - Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
  • property (type: Googly.CloudVision.Model.TextProperty.t()) - Additional information detected on the page.
  • width (type: integer()) - Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.

Summary

Types

t()

@type t() :: %Googly.CloudVision.Model.Page{
  blocks: [Googly.CloudVision.Model.Block.t()] | nil,
  confidence: number() | nil,
  height: integer() | nil,
  property: Googly.CloudVision.Model.TextProperty.t() | nil,
  width: integer() | nil
}