Mask R-CNN / instance segmentation
What it is
A detection head plus a parallel branch predicting a per-instance binary mask.
When to use it
Instance segmentation, keypoints, counting and any task needing per-object pixels.
Caveats
The two-stage pipeline is slower than one-stage detectors, and masks are predicted at low resolution (28x28), so edges come out coarse. It struggles with heavy overlap and crowded scenes.
Key ideas
- Adds a mask-prediction branch to Faster R-CNN, one mask per detected object
- RoIAlign removes the rounding misalignment of RoI pooling
- Separates individual object instances, not just classes of pixels
Related architectures
Original paper
Mask R-CNN (2017, arXiv)