Class Page (3.1.3)

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 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].

Inheritance

builtins.object > proto.message.Message > Page