# orientation property

double? orientation
final

Dominant orientation of the document, if found and if orientation detection is enabled. The value is in degrees counter-clockwise, where 0 corresponds to the document being straight, and the value is in the range of `[-180, 180]`. To rotate the document to be straight, rotate the image clockwise by this value.

## Implementation

    final double? orientation;