matchTemplate implementation

Implemented object tracking through incremental match template