![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 84
芽的日志
这个作者很懒,什么都没留下…
展开
-
Install pypoman on MACOS (M1)
Install pypoman on MACOS (M1)原创 2022-11-28 13:31:10 · 1775 阅读 · 1 评论 -
Ubuntu18.04+源码安装opencv3.4.3 with contrib and non-free enabled.
最近在安装Active SLAM,要求opencv with contrib and non-free enabled. 因为docker 安装的ubuntu18.04自带python2 和 python3, 所以在安装opencv的时候最好指明python版本,否则即使安装成功, import cv2也会找不到模块。中间还是折腾了一下,因此这里写一下安装过程。1.安装opencv的依赖库sudo apt-get updatesudo apt-get upgradesudo apt-get ins原创 2022-01-03 10:26:11 · 707 阅读 · 0 评论 -
python--TypeError: 'int' objectt is not interable
目的:批量本地读图进行语义分割处理 错误提示如图: 搜索出来的结果一般是说Python在迭代的时候需要加 range 但是介于本文已经加了,所以问题不出现在这里. 根据错误提示,发现是在 image.size这儿出问题的,所以应该要敏感地觉察出是输入图片有问题,而不是迭代有问题. 可以用下面的输出指令查看图像格式. print(im...原创 2018-10-14 22:24:38 · 1282 阅读 · 0 评论