Python implementation of GrowCut segmentation