Image recognition for automation with python