Contents

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.

To detect sub-features, /CIDetector/featuresInImage:options: needs to be called with the CIDetectorReturnSubFeatures option set to true.