Detectron2 is a library from Facebook AI Research for object detection, image segmentation, and other visual recognition tasks. It succeeds earlier Detectron and mask R-CNN benchmark code.
Overview
Detectron2 provides detection and segmentation algorithms aimed at research and production computer vision work. It supports panoptic segmentation, DensePose, Cascade R-CNN, rotated bounding boxes, PointRend, DeepLab, ViTDet, MViTv2, and related methods.
The software is designed as a base layer for building research projects. Models can be exported to TorchScript or Caffe2 for deployment. A model zoo offers baseline results and trained models for download.
It backs computer vision research and production applications. Colab notebooks and documentation cover installation, training, evaluation, custom datasets, and deployment topics.
Key features
- Object detection algorithms
- Image segmentation support
- Panoptic segmentation capabilities
- Model zoo with baselines
- TorchScript model export
- Caffe2 format export
- Custom dataset training
- Lazy and Yacs configuration
Use cases
- Computer vision research projects
- Object detection pipelines
- Instance and panoptic segmentation
- Production vision applications