Installation and Usage
- If you have previous/other version of OpenCV installed (e.g. cv2 module in the root of Python’s site-packages), remove it before installation to avoid conflicts.
- To further avoid conflicts and to make development easier, Python’s virtual environments are highly recommended for development purposes.
- If you have an existing opencv-python installation, run pip uninstall opencv-python
- Install this package:
pip install opencv-contrib-python
- Import the package:
import cv2
- Read OpenCV documentation
- Before opening a new issue, read the FAQ below and have a look at the other issues which are already open.