# Detectron2 vs OpenCV

| Attribute | Detectron2 | OpenCV |
|---|---|---|
| **Vioscale score** | 34.3 (21% (low)) | 67.7 (24% (low)) |
| activity.commits_last_30d | 1 | 100 |
| adoption.dependent_repos | 5 | 543 |
| adoption.github_stars | 34,688 | 90,611 |
| description.long | A library providing implementations of detection and segmentation algorithms for computer vision applications, designed to support research and production projects. | A free, community-maintained toolkit providing algorithms, data structures, and functions for developing computer vision systems, including image analysis, object detection, and machine learning tasks. |
| language.primary | Python | C++ |
| license.spdx | Apache-2.0 | Apache-2.0 |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://ai.meta.com/tools/detectron2/","retrievedAt":"2026-08-20T16:36:05.703Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://opencv.org/","retrievedAt":"2026-08-18T12:53:43.529Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | 59 | 96 |
| release.history | `[{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.6","date":"2021-11-15T22:08:26Z","type":"stable","version":"v0.6"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.5","date":"2021-07-23T18:55:45Z","type":"stable","version":"v0.5"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.4","date":"2021-03-13T01:36:49Z","type":"stable","version":"v0.4"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.3","date":"2020-11-06T03:20:56Z","type":"stable","version":"v0.3"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.2.1","date":"2020-08-04T23:11:10Z","type":"stable","version":"v0.2.1"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.2","date":"2020-07-08T21:48:55Z","type":"stable","version":"v0.2"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.1.3","date":"2020-05-17T00:47:58Z","type":"stable","version":"v0.1.3"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.1.2","date":"2020-05-04T17:52:59Z","type":"stable","version":"v0.1.2"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.1.1","date":"2020-03-05T18:32:24Z","type":"stable","version":"v0.1.1"},{"url":"https://github.com/facebookresearch/detectron2/releases/tag/v0.1","date":"2020-02-07T05:30:13Z","type":"stable","version":"v0.1"}]` | `[{"url":"https://github.com/opencv/opencv/releases/tag/4.14.0","date":"2026-07-19T11:45:21Z","type":"stable","version":"4.14.0"},{"url":"https://github.com/opencv/opencv/releases/tag/5.0.0","date":"2026-06-06T10:52:34Z","type":"stable","version":"5.0.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.13.0","date":"2025-12-31T09:44:36Z","type":"stable","version":"4.13.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.12.0","date":"2025-07-02T12:48:11Z","type":"stable","version":"4.12.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.11.0","date":"2025-01-09T10:25:23Z","type":"stable","version":"4.11.0"},{"url":"https://github.com/opencv/opencv/releases/tag/5.0.0-alpha","date":"2024-12-05T15:54:34Z","type":"prerelease","version":"5.0.0-alpha"},{"url":"https://github.com/opencv/opencv/releases/tag/4.10.0","date":"2024-06-03T08:08:09Z","type":"stable","version":"4.10.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.9.0","date":"2023-12-28T15:57:30Z","type":"stable","version":"4.9.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.8.1","date":"2023-09-27T12:17:26Z","type":"stable","version":"4.8.1"},{"url":"https://github.com/opencv/opencv/releases/tag/4.8.0","date":"2023-06-28T17:13:16Z","type":"stable","version":"4.8.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.7.0","date":"2022-12-28T15:40:40Z","type":"stable","version":"4.7.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.6.0","date":"2022-06-07T09:42:37Z","type":"stable","version":"4.6.0"},{"url":"https://github.com/opencv/opencv/releases/tag/4.5.5","date":"2021-12-25T11:50:04Z","type":"stable","version":"4.5.5"},{"url":"https://github.com/opencv/opencv/releases/tag/4.5.4","date":"2021-10-10T00:52:59Z","type":"stable","version":"4.5.4"},{"url":"https://github.com/opencv/opencv/releases/tag/3.4.16","date":"2021-10-10T00:45:11Z","type":"stable","version":"3.4.16"},{"url":"https://github.com/opencv/opencv/releases/tag/4.5.3","date":"2021-07-05T23:40:18Z","type":"stable","version":"4.5.3"},{"url":"https://github.com/opencv/opencv/releases/tag/3.4.15","date":"2021-07-05T23:39:49Z","type":"stable","version":"3.4.15"},{"url":"https://github.com/opencv/opencv/releases/tag/4.5.2","date":"2021-04-02T17:45:06Z","type":"stable","version":"4.5.2"},{"url":"https://github.com/opencv/opencv/releases/tag/3.4.14","date":"2021-04-02T17:40:27Z","type":"stable","version":"3.4.14"},{"url":"https://github.com/opencv/opencv/releases/tag/4.5.1","date":"2020-12-22T11:58:44Z","type":"stable","version":"4.5.1"}]` |
| security.scorecard | 4.9 | 5.7 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=conda&package_name=detectron2&per_page=100","last_12m":0,"max_severity":null}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=conda&package_name=opencv&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Computer Vision Apis)

| Capability | Detectron2 | OpenCV |
|---|:--:|:--:|
| **Capabilities** |  |  |
| Custom model training | - | - |
| Face recognition | - | - |
| OCR text extraction | - | - |
| Content moderation | - | - |
| Video support | - | - |
| Edge on device support | - | - |
| Open source | - | - |
| Commercial license required for saas | - | - |
| SOC2 | - | - |

*Source: Vioscale. Generated 2026-09-01T16:35:33.978Z. "-" = undocumented, not absent.*
