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{}

  1. 0_
  2. 1toProcessorState:
  3. 2scoreToMatchMinimumThreshold:

result{}

tuple(matchPairs: [(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)], unmatchedTracks: [VisualIntelligenceCore.CVTrackSnapshot], unmatchedDetections: [VisualIntelligenceCore.CVDetection])