<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Cinematic",
  "identifier" : "/documentation/Cinematic/CNFixedDetectionTrack-93rrw/init(originalDetection:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Cinematic"
    ],
    "preciseIdentifier" : "s:9Cinematic21CNFixedDetectionTrackC08originalC0AcA11CNDetectionV_tcfc"
  },
  "title" : "init(originalDetection:)"
}
-->

# init(originalDetection:)

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

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

## Parameters

`originalDetection`

This fixed detection track based on the original detection.

## 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.

---

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)