Instance segmentation extends object detection by predicting the shape of detected objects in addition to localizing them. Detectron2 is a machine learning library developed by Facebook on top of PyTorch to simplify the training of common machine learning architectures like Mask RCNN.
Mask RCNN is a convolutional neural network for instance segmentation. Our tutorial shows how to train it on a custom dataset.