SwiftstructVisualIntelligenceCore
DefaultTrackMatching
struct VisualIntelligenceCore.DefaultTrackMatching
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 4
- func
static matchOnce(_: [VisualIntelligenceCore.CVTrackSnapshot], toProcessorState: VisualIntelligenceCore.ProcessorState, scoreToMatchMinimumThreshold: Float) -> (matchPairs: [(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)], unmatchedTracks: [VisualIntelligenceCore.CVTrackSnapshot], unmatchedDetections: [VisualIntelligenceCore.CVDetection]) - field
var algorithm: VisualIntelligenceCore.MatchingAlgorithm<VisualIntelligenceCore.CVDetection>?+0x0 - func
matchSelectedTracks(_: [VisualIntelligenceCore.CVTrackSnapshot], toProcessorState: VisualIntelligenceCore.ProcessorState, scoreToMatchMinimumThreshold: Float, useBatchEmbeddingMatching: Bool) async -> (matchPairs: [(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)], unmatchedTracks: [VisualIntelligenceCore.CVTrackSnapshot], unmatchedDetections: [VisualIntelligenceCore.CVDetection]) - init
init() -> VisualIntelligenceCore.DefaultTrackMatching
Header
struct DefaultTrackMatching { var algorithm: VisualIntelligenceCore.MatchingAlgorithm<VisualIntelligenceCore.CVDetection>? init() func matchSelectedTracks(_: [VisualIntelligenceCore.CVTrackSnapshot], toProcessorState: VisualIntelligenceCore.ProcessorState, scoreToMatchMinimumThreshold: Swift.Float, useBatchEmbeddingMatching: Swift.Bool) async -> (matchPairs: [(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)], unmatchedTracks: [VisualIntelligenceCore.CVTrackSnapshot], unmatchedDetections: [VisualIntelligenceCore.CVDetection]) static func matchOnce(_: [VisualIntelligenceCore.CVTrackSnapshot], toProcessorState: VisualIntelligenceCore.ProcessorState, scoreToMatchMinimumThreshold: Swift.Float) -> (matchPairs: [(VisualIntelligenceCore.CVTrackSnapshot, VisualIntelligenceCore.CVDetection)], unmatchedTracks: [VisualIntelligenceCore.CVTrackSnapshot], unmatchedDetections: [VisualIntelligenceCore.CVDetection]) }