Multiple Object Tracking Without Labels, or How to Follow Bubbles During Froth Flotation

Aleksey Klokov15 Dec 2022

Problem

Flotation machines in an ore-processing plant separate valuable minerals from waste rock, and the froth on top shows how well the process runs. Engineers judge it by eye. To automate this, a vision system must estimate froth speed and direction from video that shows up to several hundred near-identical bubbles per frame, in real time on several dozen cameras. The team had many segmentation masks but only 30 seconds of tracking-labeled video: enough to evaluate trackers, not to train one.

Example from the article: bubbles in one frame are matched to bubbles in the next, and their average displacement gives the direction and speed of the froth.

Solution in brief

Segment the bubbles with a U-Net, describe each by center, size and a shape embedding, and match bubbles in neighboring frames with the Hungarian algorithm. Motion rules then remove implausible matches. On 10 short labeled clips, the Hungarian algorithm with a Kalman filter (SORT) scored best, while the cheaper motion rules gave a better quality-per-speed balance.

Questions this case answers
  • How to track many visually similar objects in video without tracking labels when the only labeled data is a few seconds of footage
  • How to estimate the flow velocity of a crowd of identical objects from video under a real-time budget on many camera streams
  • How to track hundreds of near-identical objects across video frames when almost no tracking labels exist?
  • How to measure the speed and direction of froth flow in a flotation tank from camera video?

Tools and methods

  • U-Net with ResNet18 encoder — segments bubbles into masks
  • Hungarian algorithm — matches bubbles between two frames by a similarity matrix
  • Motion rules — drop matches that jump too far, change speed or turn sharply
  • Kalman filter (SORT) — predicts positions and bridges short track breaks
  • Autoencoder (VAE) — turns a bubble mask into a shape embedding
  • TrackEval — computes HOTA, MOTP, OWTA, IDF1 and IDSW
Continue reading — it's free

Google or a one-time email code. No password.