橙子饺子

2017年8月22日

ImportError: No module named _tkinter, please install the python-tk package ubuntu运行tkinter错误

摘要: 这是由于Python的版本没有包含tkinter的模块,只需要把tk的package安装就可以了。 一般在Linux才出现,windows版本一般已经包含了tkinter模块。 apt-get install python-tk 原文: linux python缺少tkinter模块 阅读全文

posted @ 2017-08-22 20:12 九月里天高云淡 阅读(305) 评论(0) 推荐(0) 编辑

OpenCV3如何使用SIFT和SURF Where did SIFT and SURF go in OpenCV 3?

摘要: Installation and Usage If you have previous/other version of OpenCV installed (e.g. cv2 module in the root of Python’s site-packages), remove it befor 阅读全文

posted @ 2017-08-22 20:08 九月里天高云淡 阅读(369) 评论(0) 推荐(0) 编辑

ubuntu权限不够

摘要: 既然提示是权限不够,自然可以增加权限来解决。 如下,把安装命令改为sudo pip install cmake。就可以成功的解决了这个问题。因为加了sudo就相当于管理员操作了。 阅读全文

posted @ 2017-08-22 20:07 九月里天高云淡 阅读(1725) 评论(0) 推荐(0) 编辑

2017年6月30日

ubuntu 16.04 安装 opencv +contrib (3.2.0) + python 3.5

摘要: 环境: - ubuntu 16.04 - OpenCV + contrib 3.2.0 (文中附下载链接) - Python 3.5 基于其他环境的配置应该大同小异。 没时间解释了,直接上车。 更新下系统: sudo apt-get update sudo apt-get upgrade 安装依赖项 阅读全文

posted @ 2017-06-30 15:52 九月里天高云淡 阅读(302) 评论(0) 推荐(0) 编辑

2017年6月29日

Ubuntu16.04下安装OpenCV3.2.0

摘要: 1.安装官方给的opencv依赖包 2.下载opencv3.2.0 这里需要下载opencv和opencv_contrib(后者会在cmake配置的时候用到),这是因为opencv3以后SIFT和SURF之类的属性被移到了contrib中,。 3a.配置编译opencv (无NVIDIA CUDA版 阅读全文

posted @ 2017-06-29 23:13 九月里天高云淡 阅读(2435) 评论(0) 推荐(0) 编辑

ubuntu16.04安装pycharm

摘要: Ubuntu16.04下,默认安装了python2.7和python3.5,在终端下,输入“Python” 或“python3”可查看具体版本。 1.安装PyCharm前,先配置PyCharm的JDK环境 Pycharm需要JDK环境解析,否则在安装过程中报错。 依次执行一下几条command su 阅读全文

posted @ 2017-06-29 17:53 九月里天高云淡 阅读(419) 评论(0) 推荐(0) 编辑

导航