---
title: "features(in:options:)"
framework: coreimage
role: symbol
role_heading: Instance Method
path: "coreimage/cidetector/features(in:options:)"
---

# features(in:options:)

Searches for features in an image based on the specified image orientation.

## Declaration

```swift
func features(in image: CIImage, options: [String : Any]? = nil) -> [CIFeature]
```

## Parameters

- `image`: The image you want to examine.
- `options`: A dictionary that specifies feature detection options. See doc://com.apple.coreimage/documentation/CoreImage/feature-detection-keys for allowed keys and their possible values.

## Return Value

Return Value An array of CIFeature objects. Each object represents a feature detected in the image.

## See Also

### Using a Detector Object to Find Features

- [features(in:)](coreimage/cidetector/features(in:).md)
