Important and interesting Python packages:
scikit-image:
https://scikit-image.org/
Segmentation: https://scikit-image.org/docs/stable/api/skimage.segmentation.html