Image Segmentation In Python