1、安装
# 原始源 pip install opencv-contrib-python # 国内源(推荐) pip install opencv-contrib-python -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
2、测试opencv是否安装成功
import cv2 print(cv2.__version__)
标签:mirrors,cv2,contrib,opencv,pip,安装 From: https://www.cnblogs.com/xiaoliang-333/p/17206865.html