First version of python running recogniser