Class Page (2.4.4)

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

Detected page from OCR. .. attribute:: property

Additional information detected on the page.

:type: google.cloud.vision_v1p4beta1.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_v1p4beta1.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].