<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNDetectTrajectoriesRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNDetectTrajectoriesRequest"
  },
  "title" : "VNDetectTrajectoriesRequest"
}
-->

# VNDetectTrajectoriesRequest

A request that detects the trajectories of shapes moving along a parabolic path.

```
class VNDetectTrajectoriesRequest
```

## Overview

After the request detects a trajectory, it produces an observation that contains the shape’s detected points and an equation describing the parabola.

## Topics

### Creating a Request

[`init(frameAnalysisSpacing:trajectoryLength:completionHandler:)`](/documentation/Vision/VNDetectTrajectoriesRequest/init(frameAnalysisSpacing:trajectoryLength:completionHandler:))

Creates a new request to detect trajectories.

### Configuring the Request

[`targetFrameTime`](/documentation/Vision/VNDetectTrajectoriesRequest/targetFrameTime)

The requested target frame time for processing trajectory detection.

[`trajectoryLength`](/documentation/Vision/VNDetectTrajectoriesRequest/trajectoryLength)

The number of points to detect before calculating a trajectory.

[`objectMinimumNormalizedRadius`](/documentation/Vision/VNDetectTrajectoriesRequest/objectMinimumNormalizedRadius)

The minimum radius of the bounding circle of the object to track.

[`objectMaximumNormalizedRadius`](/documentation/Vision/VNDetectTrajectoriesRequest/objectMaximumNormalizedRadius)

The maximum radius of the bounding circle of the object to track.

[`minimumObjectSize`](/documentation/Vision/VNDetectTrajectoriesRequest/minimumObjectSize)

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

[`maximumObjectSize`](/documentation/Vision/VNDetectTrajectoriesRequest/maximumObjectSize)

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

### Inspecting the Results

[`results`](/documentation/Vision/VNDetectTrajectoriesRequest/results)

The array of detected trajectory observations.

[`VNTrajectoryObservation`](/documentation/Vision/VNTrajectoryObservation)

An observation that describes a detected trajectory.

### Identifying Request Revisions

[`VNDetectTrajectoriesRequestRevision1`](/documentation/Vision/VNDetectTrajectoriesRequestRevision1)

A constant for specifying revision 1 of the trajectories detection request.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)