Requires OpenCV to be installed on the build computer. Use sudo apt-get install libopencv-dev on Ubuntu.
Run CMake using the command cmake . while in the source directory, then run make. An executable should be generated, which may then be run using the command ./tsp <target_video_file> <TP>.