--- id: mmcv version: "2.2.0" license: unclear license_treatment: permissive maintenance: aging --- # mmcv — OpenMMLab Computer Vision Foundation License: permissive · Maintenance: aging · Downloads: 100.3K/mo ## What it is and what it does MMCV is a foundational library maintained by OpenMMLab for computer vision research and applications. It provides core utilities for image and video processing, data transformation pipelines, visualization of images and annotations, standard CNN architectures, and high-performance implementations of common CPU and CUDA operations. The library is designed to be a building block for computer vision projects rather than a complete end-to-end framework. Version 2.x (the current line) removed training-related components and added a dedicated data transformation module, shifting focus toward being a lightweight vision utility layer. Installation requires PyTorch to be pre-installed and may require building from source if a pre-built wheel is not available for your specific PyTorch and CUDA versions. The package supports Python 3.7+ and runs on Linux, Windows, and macOS. Use it for: - Build custom computer vision pipelines that need efficient image I/O, resizing, and annotation visualization. - Integrate optimized CUDA operations for image processing into deep learning training loops. - Prototype CNN-based models using standard architectures provided by the library. - Process and transform image datasets with the data transformation module before feeding to models. - Visualize detection or segmentation results on images and videos during development and evaluation. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. MMCV is a foundational library for computer vision that provides image and video processing, visualization, data transformation, CNN architectures, and optimized CPU/CUDA operations. Yes, with conditions. MMCV is a mature, widely-used foundation library (6465 GitHub stars, top 15000 PyPI packages) with no known vulnerabilities and permissive licensing. However, install it only if you need its specific utilities—high install friction (source builds are common), aging maintenance (842 days since last release), and no runtime dependencies mean you should verify that its image processing, CNN architectures, or CUDA ops are actually required for your project rather than using PyTorch or OpenCV directly. ## Install pip install mmcv uv add mmcv poetry add mmcv ## Installing mmcv Before you install: High install friction: the package requires PyTorch to be pre-installed and may need to build from source if a pre-built wheel matching your PyTorch and CUDA versions is unavailable. Maintenance status is aging—last release was 842 days ago, though the repository remains active with recent commits. License in practice: Licensed under Apache 2.0 (permissive), though the documentation notes that some specific operations within the library carry other licenses; commercial users should review LICENSES.md for details. Quickstart: pip install -U openmim mim install mmcv import mmcv # Use vision utilities, e.g., mmcv.imread(), mmcv.imwrite() PyTorch must be installed first; for Apple Silicon users, PyTorch 1.13+ is required. Pre-built wheels may not exist for all PyTorch/CUDA combinations, requiring source compilation. Verify before relying: - Whether the aging maintenance status (842 days since release) affects stability or feature completeness for current deep learning workflows. - Specific performance characteristics of the CUDA ops compared to alternatives or native PyTorch implementations. - Whether mmcv-lite (the lite variant without CUDA ops) is a viable alternative for projects that do not require GPU acceleration. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: high - Maintenance: aging - Downloads: 100.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags computer vision foundation library, image processing and transformation, CNN architectures and ops, video processing utilities, deep learning vision toolkit, CUDA optimized vision ops, annotation visualization, computer-vision, deep-learning-foundation, cuda-ops [View on SkillFed](https://skillfed.io/packages/mmcv) · [View on PyPI](https://pypi.org/project/mmcv/)