Information about a region likely to contain text detected in a still or video image.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Image
The properties of a
CIText object identify its corners in image coordinates. Use this class to locate areas of text within an image—for example, to extract and perspective-correct those portions of the image before performing your own optical character recognition or other processing tasks.
To detect rectangles in an image or video, choose the
CIDetector type when initializing a
CIDetector object, and use the
CIDetector option to specify the desired orientation for finding upright text.