- 博客(3)
- 收藏
- 关注
原创 Python安装第三方库问题
1.安装时间超时: pip3 --default-timeout=1000 install 包名 2.安装whl文件问题: whl下载库文件地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/ 把下载的whl库文件复制到当前工程目录下 pychorm的Terminal:pip install 库文件 3.库的镜像资源: https://pypi.tuna.tsinghua.edu.cn/simple/ http://mirrors.aliyun.com
2021-07-05 11:45:41 89
原创 opencv打开与保存
打开: image = cv2.imdecode(np.fromfile(路径, dtype=np.uint8), 1) 保存: cv2.imencode(".jpg", image)[1].tofile(路径)
2021-07-05 11:38:08 131
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人