Interesting exercise on image segmentation. Worth trying myself.