---
title: maximumObjectSize
framework: vision
role: symbol
role_heading: Instance Property
path: vision/vndetecttrajectoriesrequest/maximumobjectsize
---

# maximumObjectSize

The maximum radius of the tracked shape’s bounding circle.

## Declaration

```swift
var maximumObjectSize: Float { get set }
```

## Mentioned in

Identifying Trajectories in Video

## Discussion

Discussion Set the maximum size to filter out unwanted trajectories from larger objects moving through the scene. The default value is 1.0, which means to apply no filtering. Changing this property value from frame to frame can produce erratic trajectories because objects either disappear or are added to the tracking based on this filtering. Specify the size in normalized (0.0 to 1.0) coordinates.

## See Also

### Configuring the Request

- [targetFrameTime](vision/vndetecttrajectoriesrequest/targetframetime.md)
- [trajectoryLength](vision/vndetecttrajectoriesrequest/trajectorylength.md)
- [objectMinimumNormalizedRadius](vision/vndetecttrajectoriesrequest/objectminimumnormalizedradius.md)
- [objectMaximumNormalizedRadius](vision/vndetecttrajectoriesrequest/objectmaximumnormalizedradius.md)
- [minimumObjectSize](vision/vndetecttrajectoriesrequest/minimumobjectsize.md)
