detectron2 vs supervision

detectron2 and supervision share 3 technologies: matplotlib, pillow, and av. Both are written in Python.

Read it as markdown

What they share and what sets them apart

facebookresearch

detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.

Python35kRead on November 14, 2026, at commit 247691aWhat is detectron2 built with?

Only in detectron2

In common

roboflow

supervision

We write your reusable computer vision tools. 💜

Python51.6kRead on November 13, 2026, at commit f0767b1What is supervision built with?

Only in supervision

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
detectron274,318 lines written396 code files
supervision140,924 lines written84 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
detectron20% of its commits signed by AI
supervision11.4% of its commits signed by AIWith Claude Code, Codex, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
detectron2Last push October 27, 20261,569 commits34,984 stars
supervisionLast push November 12, 20264,182 commits51,604 stars
TestsThe files that test the code, and the share of code files a test imports.
detectron282 test files4.8% of its code files have a test that imports them
supervision135 test files89.3% of its code files have a test that imports them

Frequently asked questions

Which is bigger, detectron2 or supervision?
supervision, with 140,924 lines written; detectron2 has 74,318.

The proof: roboflow/supervision's code at commit f0767b1

Which has more GitHub stars, detectron2 or supervision?
supervision, with 51,604 stars; detectron2 has 34,984.

The proof: roboflow/supervision on GitHub

Which has more tests, detectron2 or supervision?
supervision, with 135 test files; detectron2 has 82.

The proof: roboflow/supervision's code at commit f0767b1

Which was updated more recently, detectron2 or supervision?
supervision: its last push was on November 12, 2026, and detectron2's on October 27, 2026.

The proof: roboflow/supervision's commits on GitHub

Which has more commits signed by AI, detectron2 or supervision?
supervision: an AI signed 11.4% of its commits, with Claude Code, Codex, GitHub Copilot, and Cursor.

The proof: the commits each tool signed in roboflow/supervision

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →