随笔分类 -  opencv

摘要:使用OpenCV来实现读取一个目录下的所有图像,然后将它们调整大小为1920x1080像素,并保存的步骤如下: 安装OpenCV库:如果你还没有安装OpenCV库,可以通过pip安装: pip install opencv-python 编写Python脚本: import os import cv 阅读全文
posted @ 2024-04-15 11:37 Zenith_Hugh 阅读(35) 评论(0) 推荐(0) 编辑
摘要:opencv3和opencv4的版本 问题: opencv3和opencv4的版本切换:https://blog.csdn.net/weixin_45807759/article/details/129099042 ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared 阅读全文
posted @ 2024-01-19 09:48 Zenith_Hugh 阅读(36) 评论(0) 推荐(0) 编辑
摘要:参考: https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html Build with opencv_contrib # 1. Install minimal prerequisites, libgtk2.0-dev pkg-con 阅读全文
posted @ 2024-01-12 10:10 Zenith_Hugh 阅读(1803) 评论(0) 推荐(0) 编辑
摘要:1. cv.imshow 错误 本文平台 windows 报错信息: cv2.imshow('imshow', img) ) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa su 阅读全文
posted @ 2022-10-20 10:40 Zenith_Hugh 阅读(258) 评论(0) 推荐(0) 编辑

喜欢请打赏

扫描二维码打赏

微信打赏

点击右上角即可分享
微信分享提示