How it tracks blue objects?

Take each frame of the video and convert from RGB color scale to HSV, then threshold the HSV image for a range of blue color, taking a lower bound and an upper bound respectively. Finally extract the blue object alone.

Demo

Detected blue stole and blue cash

Detected blue stole and blue cash

Detected my blue case lip balm

Detected my blue case lip balm