---
title: targetFrameTime
framework: vision
role: symbol
role_heading: Instance Property
path: vision/vndetecttrajectoriesrequest/targetframetime
---

# targetFrameTime

The requested target frame time for processing trajectory detection.

## Declaration

```swift
var targetFrameTime: CMTime { get set }
```

## Discussion

Discussion Use this property value for real-time processing of frames, which requires execution within a specific amount of time. The request evaluates from frame-to-frame. If processing takes longer than the targeted time for the current frame, it attempts to decrease the overall time by reducing the accuracy (down to a set minimum) for the next frame. If a frame takes less time than the targeted time, the request increases the accuracy (up to a set maximum) of the next frame. The default value is indefinite, which indicates that accuracy stays at the predefined maximum.

## See Also

### Configuring the Request

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