---
title: maximumHandCount
framework: vision
role: symbol
role_heading: Instance Property
path: vision/detecthumanhandposerequest/maximumhandcount
---

# maximumHandCount

The maximum number of hands to detect in an image.

## Declaration

```swift
var maximumHandCount: Int
```

## Discussion

Discussion The request orders detected hands by relative size, with only the largest ones having key points determined. The default value is 2.

## See Also

### Configuring a request

- [supportedJointNames](vision/detecthumanhandposerequest/supportedjointnames.md)
- [supportedJointsGroupNames](vision/detecthumanhandposerequest/supportedjointsgroupnames.md)
