Roboflow

Mask R-CNN vs YOLOv8

Compare Mask R-CNN and YOLOv8 side-by-side.

Compare Mask R-CNN vs YOLOv8 live

Run the same image across every model that supports a task and compare their outputs side-by-side.

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

Models in this comparison

Mask R-CNN vs YOLOv8: Overview

Mask R-CNN

Mask R-CNN is an instance segmentation model developed by Facebook AI Research (Meta), released in October 2017. It extends Faster R-CNN by adding a parallel branch that predicts binary segmentation masks for each detected object, independent of the classification and bounding box regression branches. A key contribution is RoIAlign, which replaces RoIPool with bilinear interpolation to preserve spatial correspondence between features and input pixels, significantly improving mask quality.

Mask R-CNN achieves strong performance on the COCO instance segmentation benchmark and supports keypoint detection as an additional output head. It remains a foundational architecture in instance segmentation and is available through Meta's Detectron2 framework. The model is most appropriate for tasks requiring pixel-level object delineation, such as medical imaging, autonomous driving, and industrial inspection.

YOLOv8

YOLOv8 is an object detection and multi-task vision model developed by Ultralytics, released in January 2023 under the AGPL-3.0 license. It succeeds YOLOv5 and introduces an anchor-free detection head, a new C2f module for improved gradient flow, and a decoupled head that separates classification and regression tasks. These changes improve both accuracy and training efficiency compared to earlier Ultralytics models.

YOLOv8 supports object detection, instance segmentation, image classification, pose estimation, and oriented bounding box detection within a unified codebase. It is available in five sizes from Nano to Extra Large and exports to ONNX, TensorRT, CoreML, and other formats. YOLOv8 is one of the most widely adopted detection models in production and is directly supported by Roboflow Inference for custom model training and deployment.

Mask R-CNN vs YOLOv8 Comparison Table

PropertyMask R-CNNYOLOv8
OrganizationMetaUltralytics
Categoryopenopen
Modalityvisionvision
Release DateOct 2017Jan 2023
Context Window
Parameters44.4M3.2M-68.2M
LicenseMITAGPL 3.0
Model Sizes input resolution per size variant
Nano1280×1280, 640×640
Small1280×1280, 640×640
Medium1280×1280, 640×640
Large1280×1280, 640×640
XL1280×1280, 640×640
Vision Tasks
Object DetectionDemo (COCO)
Instance Segmentation
Keypoint Detection
Model Features
Foundation Vision
Real-Time Vision