Instance Property

characterBoxes

An array of detected individual character bounding boxes.

Declaration

var characterBoxes: [VNRectangleObservation]? { get }

Discussion

If the associated VNDetectTextRectanglesRequest request indicates interest in character boxes by setting the option reportCharacterBoxes to true, this property is non-nil. If no characters are found, it remains empty.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software