Meta AI's PyTorch library for object detection and segmentation
open sourceApache-2.0free
Detectron2 is Facebook AI Research's library of state-of-the-art detection and segmentation algorithms, the successor of Detectron and maskrcnn-benchmark. It covers object detection, instance and panoptic segmentation, DensePose, Cascade R-CNN, rotated bounding boxes, PointRend, DeepLab, ViTDet and MViTv2, serves as a base for building research projects, and exports models to TorchScript or Caffe2 for deployment.
Problems it solves
- train an object detection model in PyTorch
- instance segmentation on my own images
- a research codebase for detection and segmentation models
Features
- object detection and instance segmentation
- panoptic segmentation and DensePose
- ViTDet, MViTv2, PointRend and more
- base for research projects
- TorchScript and Caffe2 export
Alternatives
The same job
These do what Detectron2 does.
- PaddleDetection Object detection toolkit on PaddlePaddle with hundreds of pretrained models
- Ultralytics YOLO YOLO models for object detection, segmentation, classification, pose and tracking
- YOLOv5 Ultralytics' YOLOv5 object detection models and training code in PyTorch
- torchvision PyTorch's computer vision library: datasets, model architectures and image transforms
