随笔分类 -  python

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 48 下一页
摘要:python2.7 输出 阅读全文
posted @ 2019-06-16 14:39 anobscureretreat 阅读(1046) 评论(0) 推荐(0)
摘要:python2.7 输出 阅读全文
posted @ 2019-06-16 14:36 anobscureretreat 阅读(817) 评论(0) 推荐(0)
摘要:参考: https://www.cnblogs.com/xiaokang01/p/9069048.html 阅读全文
posted @ 2019-06-09 22:01 anobscureretreat 阅读(1663) 评论(0) 推荐(0)
摘要:效果 阅读全文
posted @ 2019-06-08 01:05 anobscureretreat 阅读(5639) 评论(0) 推荐(0)
摘要:效果 还可以监听鼠标的!!! 阅读全文
posted @ 2019-06-08 01:03 anobscureretreat 阅读(1349) 评论(0) 推荐(0)
摘要:参考: https://blog.csdn.net/qq_38161040/article/details/85075158 阅读全文
posted @ 2019-06-08 00:35 anobscureretreat 阅读(157) 评论(0) 推荐(0)
摘要:下载网站:https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook 查看python版本 下载对应版本,我的是,win10 64位系统,python3.5 下载后,打开cmd命令行,输入 然后把下载的文件拖拽到命令行窗口。再回车 即可安装成功。 阅读全文
posted @ 2019-06-08 00:34 anobscureretreat 阅读(649) 评论(0) 推荐(0)
摘要:效果图: 阅读全文
posted @ 2019-06-08 00:16 anobscureretreat 阅读(1512) 评论(0) 推荐(0)
摘要:#!/usr/bin/env python import rospy import math from tf import transformations from geometry_msgs.msg import PoseWithCovarianceStamped class PoseSetter(rospy.SubscribeListener): def __init__(sel... 阅读全文
posted @ 2019-06-06 18:14 anobscureretreat 阅读(667) 评论(0) 推荐(0)
摘要:安装 再次报错 使用sudo权限 安装成功 参考: https://blog.csdn.net/qq_38157974/article/details/78521088 阅读全文
posted @ 2019-06-03 23:08 anobscureretreat 阅读(3337) 评论(0) 推荐(0)
摘要:主要是图片路径中“文件夹分隔符”使用的错误 将“\”改成“/”就好了 修改后的测试代码如下:x.py 运行: 显示xx.png 参考: https://blog.csdn.net/songyuc/article/details/82177198 阅读全文
posted @ 2019-06-02 15:10 anobscureretreat 阅读(23274) 评论(0) 推荐(0)
摘要:pip install opencv-python 阅读全文
posted @ 2019-06-02 12:10 anobscureretreat 阅读(303) 评论(0) 推荐(0)
摘要:我们就识别上面的汉字。 安装软件tesseract和python库 https://www.cnblogs.com/sea-stream/p/10961580.html 然后新建一个文件夹test,把上面那张图片放在文件夹里面,再新建一个test文件 写入如下内容 目录如下: 运行可能会出现错误: 阅读全文
posted @ 2019-06-02 01:28 anobscureretreat 阅读(9830) 评论(0) 推荐(0)
摘要:安装软件 tesseract下载地址:https://digi.bib.uni-mannheim.de/tesseract/ 安装即可! 安装完成tesseract-ocr后,需要做一下配置 。 在Python安装目录(如:D:\Python35\Lib\site-packages\pytesser 阅读全文
posted @ 2019-06-01 23:59 anobscureretreat 阅读(12730) 评论(3) 推荐(1)
摘要:pip install pytesseract 阅读全文
posted @ 2019-06-01 23:52 anobscureretreat 阅读(3100) 评论(0) 推荐(0)
摘要:安装软件tesseract 下载地址:https://digi.bib.uni-mannheim.de/tesseract/ 再次运行可能会出现下面的问题 解决方法: https://www.cnblogs.com/sea-stream/p/10961580.html 阅读全文
posted @ 2019-06-01 23:51 anobscureretreat 阅读(4337) 评论(0) 推荐(0)
摘要:Project Title 项目名称 “外星飞船入侵”, git地址:https://github.com/lilinyu861/Alien-Invasion 效果图: 参考: https://blog.csdn.net/qq_31524409/article/details/81741854 阅读全文
posted @ 2019-05-26 15:40 anobscureretreat 阅读(441) 评论(0) 推荐(0)
摘要:原因是新版的libpng增强了检查,发出警告。此警告可以忽略。若要消除此警告则要使用v4的色彩配置。GIMP sRGB v4 色彩配置,修改当前图片的色彩配置,设为默认。sRGB profilesOn this page you will find several different types o 阅读全文
posted @ 2019-05-26 15:04 anobscureretreat 阅读(19271) 评论(0) 推荐(1)
摘要:Python 提供了多个图形开发界面的库,几个常用 Python GUI 库如下: Tkinter: Tkinter 模块(Tk 接口)是 Python 的标准 Tk GUI 工具包的接口 .Tk 和 Tkinter 可以在大多数的 Unix 平台下使用,同样可以应用在 Windows 和 Maci 阅读全文
posted @ 2019-05-26 14:25 anobscureretreat 阅读(225) 评论(0) 推荐(0)
摘要:效果 参考: https://blog.csdn.net/qq_23948283/article/details/51637406?utm_source=blogxgwz6 阅读全文
posted @ 2019-05-26 14:23 anobscureretreat 阅读(2590) 评论(0) 推荐(0)

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 48 下一页