Added support for template matching, meanshift, background subtraction and Kalman filter.