A background subtraction based tracking algorithm based on OpenCV.