detections(in:)
Returns the array of detections in the detection track within the given time range.
Declaration
func detections(in timeRange: CMTimeRange) -> [CNDetection]Parameters
- timeRange:
The time range of interest.
Return Value
The array of detections in the detection track within the given time range. The return value is only appropriate for discrete detection tracks.