Image tracking written in python