Python library for image segmentation, feature extraction, and region classification