# Detectron2

> Meta AI's PyTorch library for object detection and segmentation

Source: https://talira.ai/catalog/detectron2-hb3abf10
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework
- Categories: [ai / computer vision / libraries](https://talira.ai/categories/ai/computer-vision/libraries), [languages / python](https://talira.ai/categories/languages/python)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Meta](https://talira.ai/orgs/meta.md)
- Funding: public company (NASDAQ:META)[^2]

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.

## Links

- Website: https://detectron2.readthedocs.io/en/latest/
- GitHub: https://github.com/facebookresearch/detectron2
- Docs: https://detectron2.readthedocs.io/en/latest/

## 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

## Trust

Overall: 0.61 out of 1.
Signals: maintenance 0.48, adoption 0.91, momentum 0.79, community 0.98, backing 0.55, extensibility 0.00.

- last commit 34 days ago
- 4 commits in the last 90 days
- latest release v0.6 5.0 years ago
- 35.0k GitHub stars
- 288 contributors
- backed by Meta
- funding: public company (NASDAQ:META)

## Alternatives

- [PaddleDetection](https://talira.ai/catalog/paddledetection-vdgrm4bx.md): Object detection toolkit on PaddlePaddle with hundreds of pretrained models
- [Ultralytics YOLO](https://talira.ai/catalog/ultralytics-yolo-63gbjcwh.md): YOLO models for object detection, segmentation, classification, pose and tracking
- [YOLOv5](https://talira.ai/catalog/yolov5-cct7h3x7.md): Ultralytics' YOLOv5 object detection models and training code in PyTorch
- [torchvision](https://talira.ai/catalog/torchvision-tt1ydshe.md): PyTorch's computer vision library: datasets, model architectures and image transforms

## Sources

[^1]: https://github.com/facebookresearch/detectron2/blob/main/LICENSE (checked 29 Nov 2026)
[^2]: https://data.sec.gov/submissions/CIK0001326801.json (checked 20 Nov 2026)
