AWSComprehendBoundingBox

Objective-C

@interface AWSComprehendBoundingBox

Swift

class AWSComprehendBoundingBox

The bounding box around the detected page or around an element on a document page. The left (x-coordinate) and top (y-coordinate) are coordinates that represent the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).

For additional information, see BoundingBox in the Amazon Textract API reference.

  • The height of the bounding box as a ratio of the overall document page height.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable height;

    Swift

    var height: NSNumber? { get set }
  • The left coordinate of the bounding box as a ratio of overall document page width.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable left;

    Swift

    var left: NSNumber? { get set }
  • top

    The top coordinate of the bounding box as a ratio of overall document page height.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable top;

    Swift

    var top: NSNumber? { get set }
  • The width of the bounding box as a ratio of the overall document page width.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable width;

    Swift

    var width: NSNumber? { get set }