VisionDetectorImageOrientation

enum VisionDetectorImageOrientation : UInt

@enum VisionDetectorImageOrientation This enum specifies where the origin (0,0) of the image is located. The constant has the same value as defined by EXIF specifications.

  • Orientation code indicating the 0th row is the top and the 0th column is the left side.

    Declaration

    Swift

    case topLeft = 1
  • Orientation code indicating the 0th row is the top and the 0th column is the right side.

    Declaration

    Swift

    case topRight = 2
  • Orientation code indicating the 0th row is the bottom and the 0th column is the right side.

    Declaration

    Swift

    case bottomRight = 3
  • Orientation code indicating the 0th row is the bottom and the 0th column is the left side.

    Declaration

    Swift

    case bottomLeft = 4
  • Orientation code indicating the 0th row is the left side and the 0th column is the top.

    Declaration

    Swift

    case leftTop = 5
  • Orientation code indicating the 0th row is the right side and the 0th column is the top.

    Declaration

    Swift

    case rightTop = 6
  • Orientation code indicating the 0th row is the right side and the 0th column is the bottom.

    Declaration

    Swift

    case rightBottom = 7
  • Orientation code indicating the 0th row is the left side and the 0th column is the bottom.

    Declaration

    Swift

    case leftBottom = 8