Keeping Track IDs Through Full Occlusion: YOLO + a GPU Kalman Tracker
I wanted to know one thing: when an object walks behind a bus, a pillar or another object, and it comes out again a few seconds later, does it keep its track id? Most trackers say yes in the paper and no in the video. The detector cannot see a hidden object, so the tracker must remember it, predict where it goes, and recognize it when it comes back. If the tracker forgets too early, the same person gets a second id, and every count, dwell time and trajectory after that point is wrong. So I built my own tracker. Ultralytics YOLO26 is only the detector. The tracking part is my code: a Kalman filter, a matching cascade and an appearance check, all in PyTorch on the GPU, batched over tracks and over video streams. Then I asked a second question: if the whole loop stays on the GPU, how many frames per second can two GPUs track? The source is on GitHub: mraad/yolo-kalman . Tracker output on "Inbound B Branch train, March 2021" by Flickr user 132192938@N04 ( CC BY 2.0 , vi...