<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CITextFeature"
  },
  "title" : "CITextFeature"
}
-->

# CITextFeature

Information about a text that was detected in a still or video image.

```
class CITextFeature
```

## Overview> Note: In macOS 10.13, iOS 11, and tvOS 11 or later, the Vision framework replaces these classes
> for identifying and analyzing image features.
> See <doc://com.apple.documentation/documentation/Vision/VNRecognizeTextRequest>)

A detected text feature is not necessarily rectangular in the plane of the image; rather, the
feature identifies a shape that may be rectangular in space (for example a text on a sign) but which
appears as a four-sided polygon in the image. The properties of a `CITextFeature` object
identify its four corners in image coordinates.

To detect text in an image or video, choose the [`CIDetectorTypeText`](/documentation/CoreImage/CIDetectorTypeText) type when initializing a
[`CIDetector`](/documentation/CoreImage/CIDetector) object, and use the `CIDetectorImageOrientation` option to specify the desired
orientation for finding upright text.

## Topics

### Locating a Detected Feature

[`bounds`](/documentation/CoreImage/CITextFeature/bounds)

A rectangle that indicates the position and extent of the text feature in image coordinates.

### Locating Features Within a Detected Region

[`subFeatures`](/documentation/CoreImage/CITextFeature/subFeatures)

An array containing additional features detected within the feature.

### Identifying the Corners of a Detected Text Region

[`bottomLeft`](/documentation/CoreImage/CITextFeature/bottomLeft)

The image coordinate of the lower-left corner of the detected text.

[`bottomRight`](/documentation/CoreImage/CITextFeature/bottomRight)

The image coordinate of the lower-right corner of the detected text.

[`topLeft`](/documentation/CoreImage/CITextFeature/topLeft)

The image coordinate of the upper-left corner of the detected text.

[`topRight`](/documentation/CoreImage/CITextFeature/topRight)

The image coordinate of the upper-right corner of the detected text.



---

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)