SwiftfuncVisualIntelligenceCoreVisualIntelligenceCore.DefaultTrackMatching
matchOnce
static VisualIntelligenceCore.DefaultTrackMatching.matchOnce(_: [VisualIntelligenceCore.CVTrackSnapshot], toProcessorState: VisualIntelligenceCore.ProcessorState, scoreToMatchMinimumThreshold: Float) -> (matchPairs: [(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)], unmatchedTracks: [VisualIntelligenceCore.CVTrackSnapshot], unmatchedDetections: [VisualIntelligenceCore.CVDetection])
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0_structSwift.Array
- 1toProcessorState:
- 2scoreToMatchMinimumThreshold:structSwift.Float
result{}
tuple
(matchPairs: [(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)], unmatchedTracks: [VisualIntelligenceCore.CVTrackSnapshot], unmatchedDetections: [VisualIntelligenceCore.CVDetection])- argtuple
(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)