skillfed

mmdet

OpenMMLab Detection Toolbox and Benchmark

mmdet v3.3.0 629.2K downloads/30d#5,667 on PyPI32,876
Permissive license Apache License 2.0 DORMANT released

What it is and what it does

MMDetection is a modular object detection framework built on PyTorch that decomposes detection pipelines into reusable components. It supports multiple detection tasks out of the box: object detection, instance segmentation, panoptic segmentation, and semi-supervised detection. The framework includes a model zoo with state-of-the-art architectures and tools for training on standard datasets, fine-tuning on custom data, and running inference.

The package is designed for researchers and practitioners who need a flexible, production-ready detection pipeline. It depends on matplotlib, numpy, scipy, shapely, pycocotools, terminaltables, tqdm, and six. While maintenance is dormant (last release January 2024), the underlying repository remains active and the framework is stable and widely used in the computer vision community.

Use it for:

  • Train a custom object detector on your own dataset using predefined architectures and transfer learning from pre-trained weights.
  • Run inference with pre-trained detection models from the model zoo to detect objects in images or video frames.
  • Implement instance segmentation to detect objects and generate pixel-level masks for each instance.
  • Benchmark detection architectures on standard datasets to compare performance.
  • Fine-tune a pre-trained detector for domain-specific tasks like rotated object detection or panoptic segmentation.
  • Build a semi-supervised detection pipeline when labeled data is limited.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

MMDetection is an object detection and instance segmentation framework built on PyTorch that provides modular, pre-trained detection models and tools for training and inference on custom datasets.

Yes, if you need a mature, modular object detection framework with extensive model zoo and multi-task support. The permissive Apache 2.0 license and low install friction make it accessible. However, maintenance is dormant (last release 2024-01-05), so expect no new features or bug fixes—use it only if the current stable version meets your needs.

Install

mmdet on PyPI

pip

pip install mmdet

uv

uv add mmdet

poetry

poetry add mmdet

Installing mmdet

Before you install

Low install friction with a pure Python wheel. Depends on 8 common scientific libraries (numpy, scipy, matplotlib, pycocotools, shapely, terminaltables, tqdm, six). Maintenance is dormant—last release was 2024-01-05, though the repository remains active with recent commits.

License in practice

Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Quickstart

pip install mmdet

from mmdet.apis import DetInferencer

inferencer = DetInferencer(model='rtmdet_tiny')
inferencer(img='image.jpg', out_dir='results')

PyTorch 1.8+ must be installed separately; GPU support requires CUDA/cuDNN setup for efficient inference and training.

Verify before relying

  • Whether PyTorch 1.8+ requirement is enforced by the package or only documented
  • GPU acceleration support and whether CUDA/cuDNN dependencies are optional or required
  • Whether all model zoo pre-trained weights are freely available or some require registration

Package facts

License Apache License 2.0 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 8 — matplotlib, numpy, pycocotools, scipy, shapely, six, terminaltables, tqdm
Maintenance dormant — 952 days since the last release
Last repo commit
First released
Downloads 629,226/month — #5,667 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mmdet-3.3.0-py3-none-any.whl

Keywords: computer vision, object detection

Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

object detection framework pytorchinstance segmentation toolboxpre-trained detection modelscomputer vision detection pipelinedetection model zoopanoptic segmentation pytorchrotated object detectionsemi-supervised object detection
object-detectioninstance-segmentationpytorch

More Artificial Intelligence packages