---
title: "init(originalDetection:)"
framework: cinematic
role: symbol
role_heading: Initializer
path: "cinematic/cnfixeddetectiontrack-93rrw/init(originaldetection:)"
---

# init(originalDetection:)

Creates a detection track with fixed focus at the disparity of an existing detection.

## Declaration

```swift
init(originalDetection: CNDetection)
```

## Parameters

- `originalDetection`: This fixed detection track based on the original detection.

## Discussion

Discussion This is the way to determine the time and bounds from which the fixed focus originated. This detection isn’t part of the detection track and has a different detection ID or none. important: To get a detection from the fixed detection track, use detectionAtOrBeforeTime: instead, which returns a properly time-stamped detection.
