A simple and readable implementation of extracting and saving segmentation mask from pretrained Mask-RCNN model