Preface
Opencv based on the python environment is easy to use and convenient for algorithm verification. Of course, the installation is relatively simple.
installation
pip install opencv-python
or
pip3 install opencv-python
If you dislike the slow installation speed, you can temporarily use (or permanently add, search by yourself) Tsinghua's image .
pip3 install opencv-python -i https://mirror.tuna.tsinghua.edu.cn/simple
Successful installation
python
>>>import cv2
>>>