---
title: finishDetectionTrack()
framework: Cinematic
role: symbol
role_heading: Instance Method
platforms: [iOS 17.0+, iPadOS 17.0+, macOS 14.0+, tvOS 17.0+]
path: cinematic/cnobjecttracker-1n598/finishdetectiontrack()
---

# finishDetectionTrack()

Finish constructing the detection track and return it.

## Declaration

```swift
func finishDetectionTrack() -> CNDetectionTrack
```

## Return Value

Return Value A detection track which tracks the object
