<!--
{
  "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/CIDetectorReturnSubFeatures",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:@CIDetectorReturnSubFeatures"
  },
  "title" : "CIDetectorReturnSubFeatures"
}
-->

# CIDetectorReturnSubFeatures

An option specifying whether to return feature information for components of detected features.

```
let CIDetectorReturnSubFeatures: String
```

## Discussion

The value of this key is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object with a Boolean value. Use this option with the [`CIDetectorTypeText`](/documentation/CoreImage/CIDetectorTypeText) detector type to choose whether to detect only regions likely to contain text (`false`, the default) or to also identify sub-regions likely to contain individual characters of text (`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)