
python
Dale_zero
从零开始吧!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pip install ValueError: check_hostname requires server_hostname
1 配置默认国内镜像源到%APPDATA%路径下pip文件夹内创建pip.ini写入:[global]index-url = http://mirrors.aliyun.com/pypi/simple[install]trusted-host=mirrors.aliyun.com2 可能是因为开了vpn,没关代理。把vpn退了试试...原创 2021-06-29 10:40:54 · 221 阅读 · 0 评论 -
Python错误Process finished with exit code -1073741819 (0xC0000005)
在pycharm中关闭PyQt兼容原创 2021-06-22 10:51:22 · 580 阅读 · 0 评论 -
python Image.putpixel的一些问题的解决(图像旋转和图像镜像)
image = Image.new("RGB",(x,y))定义的是图像大小为y*x*3的图像,这里列在前面行在后面image.putpixel((i,j), (r,g,b)))填写的是位置为(j,i)位置的像素,列和行也是反的...原创 2019-07-11 11:31:46 · 3900 阅读 · 3 评论 -
python Image.merge
Image.merge("RGB",(r,g,b))这里的r,g,b是图像文件不是数组,若之前是数组要使用Image.fromarray来转化成图像原创 2019-07-12 14:05:26 · 3586 阅读 · 0 评论 -
plt.imshow 没反应不显示图像
在plt.imshow()之后加上plt.show()plt.imshow() 负责处理 而plt.show()负责显示原创 2019-07-16 21:43:34 · 4556 阅读 · 3 评论 -
python 使用SIFT找特征点时报错 module 'cv2.cv2' has no attribute 'xfeatures2d'
安装的opencv-python 和opencv-contrib-python 不能是最新版,要安装3.2.16版本安装的时候勾选原创 2019-07-17 10:45:10 · 844 阅读 · 3 评论