Class Page (2.3.2)

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

Detected page from OCR. .. attribute:: property

Additional information detected on the page.

:type: google.cloud.vision_v1.types.TextAnnotation.TextProperty

Attributes

NameDescription
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 Sequence[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].