OpenMMLab Computer Vision Foundation
Project description
Introduction
MMCV is a foundational python library for computer vision research and supports many research projects in MMLAB, such as MMDetection and MMAction.
It provides the following functionalities.
Universal IO APIs
Image/Video processing
Image and annotation visualization
Useful utilities (progress bar, timer, …)
PyTorch runner with hooking mechanism
Various CNN architectures
High-quality implementation of common CUDA ops
See the documentation for more features and usage.
Note: MMCV requires Python 3.6+.
Installation
Try and start with
pip install mmcv
or install from source
git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
pip install -e .
If you are on macOS, replace the last command with
CC=lang CXX=clang++ CFLAGS='-stdlib=libc++' pip install -e .
Note: If you would like to use opencv-python-headless
instead of opencv-python
,
e.g., in a minimum container environment or servers without GUI,
you can first install it before installing MMCV to skip the installation of opencv-python
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.