How to make advanced image recognition bots with python