---
title: MPSImageFindKeypoints
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsimagefindkeypoints
---

# MPSImageFindKeypoints

A kernel that is used to find a list of keypoints.

## Declaration

```swift
class MPSImageFindKeypoints
```

## Overview

Overview This kernel is used to find a list of keypoints whose values are greater than the minimumThresholdValue in MPSImageKeypointRangeInfo. The keypoints are generated for a specified region in the image. The pixel format of the source image must be MTLPixelFormat.r8Unorm.

## Topics

### Initializers

- [init(coder:device:)](metalperformanceshaders/mpsimagefindkeypoints/init(coder:device:).md)
- [init(device:info:)](metalperformanceshaders/mpsimagefindkeypoints/init(device:info:).md)

### Instance Properties

- [keypointRangeInfo](metalperformanceshaders/mpsimagefindkeypoints/keypointrangeinfo.md)

### Instance Methods

- [encode(to:sourceTexture:regions:numberOfRegions:keypointCount:keypointCountBufferOffset:keypointDataBuffer:keypointDataBufferOffset:)](metalperformanceshaders/mpsimagefindkeypoints/encode(to:sourcetexture:regions:numberofregions:keypointcount:keypointcountbufferoffset:keypointdatabuffer:keypointdatabufferoffset:).md)

## Relationships

### Inherits From

- [MPSKernel](metalperformanceshaders/mpskernel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Keypoints

- [MPSImageKeypointData](metalperformanceshaders/mpsimagekeypointdata.md)
- [MPSImageKeypointRangeInfo](metalperformanceshaders/mpsimagekeypointrangeinfo.md)
