Class Page (3.7.1)

Page(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Detected page from OCR.

Attributes

NameDescription
property google.cloud.vision_v1.types.TextAnnotation.TextProperty
Additional information detected on the page.
width int
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
height int
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
blocks MutableSequence[google.cloud.vision_v1.types.Block]
List of blocks of text, images etc on this page.
confidence float
Confidence of the OCR results on the page. Range [0, 1].