---
title: CIFeature
framework: coreimage
role: symbol
role_heading: Class
path: coreimage/cifeature
---

# CIFeature

The abstract superclass for objects representing notable features detected in an image.

## Declaration

```swift
class CIFeature
```

## Overview

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 VNObservation) A CIFeature object represents a portion of an image that a detector believes matches its criteria. Subclasses of CIFeature holds additional information specific to the detector that discovered the feature.

## Topics

### Feature Properties

- [bounds](coreimage/cifeature/bounds.md)
- [type](coreimage/cifeature/type.md)

### Feature Types

- [CIFeatureTypeFace](coreimage/cifeaturetypeface.md)
- [CIFeatureTypeRectangle](coreimage/cifeaturetyperectangle.md)
- [CIFeatureTypeQRCode](coreimage/cifeaturetypeqrcode.md)
- [CIFeatureTypeText](coreimage/cifeaturetypetext.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [CIFaceFeature](coreimage/cifacefeature.md)
- [CIQRCodeFeature](coreimage/ciqrcodefeature.md)
- [CIRectangleFeature](coreimage/cirectanglefeature.md)
- [CITextFeature](coreimage/citextfeature.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Image Feature Detection

- [CIDetector](coreimage/cidetector.md)
- [CIFaceFeature](coreimage/cifacefeature.md)
- [CIRectangleFeature](coreimage/cirectanglefeature.md)
- [CITextFeature](coreimage/citextfeature.md)
- [CIQRCodeFeature](coreimage/ciqrcodefeature.md)
