---
title: CIDetectorMaxFeatureCount
framework: coreimage
role: symbol
role_heading: Global Variable
path: coreimage/cidetectormaxfeaturecount
---

# CIDetectorMaxFeatureCount

The key to the configuration dictionary whose value represents the maximum number of features the detector should return.

## Declaration

```swift
let CIDetectorMaxFeatureCount: String
```

## Discussion

Discussion The default value is 1.  Valid values fall between 1 and 256 inclusive.

## See Also

### Constants

- [CIDetectorAccuracy](coreimage/cidetectoraccuracy.md)
- [CIDetectorTracking](coreimage/cidetectortracking.md)
- [CIDetectorMinFeatureSize](coreimage/cidetectorminfeaturesize.md)
- [CIDetectorNumberOfAngles](coreimage/cidetectornumberofangles.md)
