Instance Method

features(in:options:)

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

Declaration

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 Feature Detection Keys for allowed keys and their possible values.

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

func features(in: CIImage) -> [CIFeature]

Searches for features in an image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software