Image Segmentation Using Opencv Python Docstring