Instance Property

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 text region, not necessarily the shape of the region. A detected feature is rectangular in space, but may appear in perspective in the image. Use the properties listed in Identifying the Corners of a Detected Text Region to find the corners of the rectangle as it appears in perspective.

See Also