class

GS::Vision::Tracker

Inherits Reference < Object

SORT multi-object tracker

Constructors

new(config : TrackerConfig = TrackerConfig.new)
Source

Instance methods

active_tracks

Get all active tracks

Source
count

Number of active tracks

Source
get_track(id : Int32) : Track | Nil

Get specific track by ID

Source
get_track_history(id : Int32) : Array(Tuple(Float64, Detection))

Get track history for 3D reconstruction

Source
reset

Reset tracker

Source
update(detections : Array(Detection), timestamp : Float64 = 0.0) : Array(Detection)

Update tracker with new detections

Source