python code for computer vision and machine learning