Contents

bounds

A rectangle indicating the position and extent of the feature in image coordinates.

Declaration

var bounds: CGRect { get }

Discussion

This property identifies the rectangular region of the image containing the detected rectangle, not necessarily the shape of the rectangle. A detected feature is rectangular in space, but may appear in perspective in the image. Use the properties listed in CIRectangleFeature to find the corners of the rectangle as it appears in perspective.