Image Processing In Python Code