<!--
{
  "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/CNCustomDetectionTrack-9a2zo",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Cinematic"
    ],
    "preciseIdentifier" : "s:9Cinematic22CNCustomDetectionTrackC"
  },
  "title" : "CNCustomDetectionTrack"
}
-->

# CNCustomDetectionTrack

An object representing a discrete detection track composed of individual detections.

```
class CNCustomDetectionTrack
```

## Topics

### Initializers

[`init(detections: [CNDetection], smooth: Bool)`](/documentation/Cinematic/CNCustomDetectionTrack-9a2zo/init(detections:smooth:))

Initializes a custom detection track object with an array of detections and optionally applying smoothing.

### Instance Properties

[`var allDetections: [CNDetection]`](/documentation/Cinematic/CNCustomDetectionTrack-9a2zo/allDetections)

All detected objects in the track.

## Relationships

### Inherits From

[`CNDetectionTrack-2bxtd`](/documentation/Cinematic/CNDetectionTrack-2bxtd)

---

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)