mmcv is a foundational python library for computer vision research and supports many research projects in MMLAB, such as mmdetection.

It provides the following functionalities.

  • Universal IO APIs
  • Image processing
  • Video processing
  • Image and annotation visualization
  • Useful utilities (progress bar, timer, ...)
  • PyTorch runner with hooking machanism
  • Various CNN architectures


Try and start with

pip install mmcv

or install from source

git clone
cd mmcv
pip install .  # (add "-e" if you want to develop or modify the codes)