Google Cloud Document Ai V1 Client - Class Orientation (2.1.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class Orientation.

Detected human reading orientation.

Protobuf type google.cloud.documentai.v1.Document.Page.Layout.Orientation

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ Page \ Layout

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ORIENTATION_UNSPECIFIED

Value: 0

Unspecified orientation.

Generated from protobuf enum ORIENTATION_UNSPECIFIED = 0;

PAGE_UP

Value: 1

Orientation is aligned with page up.

Generated from protobuf enum PAGE_UP = 1;

PAGE_RIGHT

Value: 2

Orientation is aligned with page right.

Turn the head 90 degrees clockwise from upright to read.

Generated from protobuf enum PAGE_RIGHT = 2;

PAGE_DOWN

Value: 3

Orientation is aligned with page down.

Turn the head 180 degrees from upright to read.

Generated from protobuf enum PAGE_DOWN = 3;

PAGE_LEFT

Value: 4

Orientation is aligned with page left.

Turn the head 90 degrees counterclockwise from upright to read.

Generated from protobuf enum PAGE_LEFT = 4;