<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CITextFeature/subFeatures",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CITextFeature(py)subFeatures"
  },
  "title" : "subFeatures"
}
-->

# subFeatures

An array containing additional features detected within the feature.

```
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`](/documentation/CoreImage/CIDetectorReturnSubFeatures) option set to true.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)