Instance Property

subFeatures

An array containing additional features detected within the feature.

Declaration

var subFeatures: [Any]? { get }

Discussion

A text detector can identify both a major region that is likely to contain text as well as the areas within that region that likely to contain individual text features. Such features might be single characters, groups of closely-packed characters, or entire words.

Core Image populates this array only if you enable the CIDetectorReturnSubFeatures option when retrieving features.

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