会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
170
171
172
173
174
175
176
177
178
···
188
下一页
2020年12月27日
PYTHON tkinter
摘要: 1、pack函数布局的时候,默认先使用的放到上面,然后依次向下排列,默认方式它会给我们的组件一个自认为合适的位置和大小。2、pack函数也可以接受几个参数,side参数,指定了它停靠在哪个方向,可以为LEFT,TOP,RIGHT,BOTTOM,分别代表左,上,右,下, 它的fill参数可以是X,Y,
阅读全文
posted @ 2020-12-27 11:28 myrj
阅读(203)
评论(0)
推荐(0)
2020年12月26日
python pip install matplotlib安装模块
摘要: python pip install matplotlib安装模块,可附带安装相关的模块 程序运行提示: from . import _imaging as coreImportError: DLL load failed: 找不到指定的程序。 pillow版本有问题: pip uninstall
阅读全文
posted @ 2020-12-26 13:26 myrj
阅读(297)
评论(0)
推荐(0)
2020年12月23日
TWAIN
摘要: ss.SetCapability(twain.ICAP_IMAGEFILEFORMAT, twain.TWTY_UINT16, twain.TWFF_JFIF)扫描A3ss.GetSourceName()得到源名称将名称写入括号,则自动选择>>> ss.HideUI() 隐藏界面>>> ss.des
阅读全文
posted @ 2020-12-23 20:27 myrj
阅读(642)
评论(0)
推荐(0)
PYTHON找色不变移动
摘要: import cv2 import aircv as ac import numpy as np def wmhd(sjh): bzz0=0 bzz1=0 bzz2=0 xxa=0 yya=0 xxb=0 yyb=0 #aa1=qutua.wmjc(2,sjh,"./xm1.png",14) aa2
阅读全文
posted @ 2020-12-23 15:28 myrj
阅读(211)
评论(0)
推荐(0)
2020年12月21日
python从图片中找图
摘要: import aircv as ac def matcha(bb,aa):#从bb查找aa,如果有则返回其坐标位置 yuan=ac.imread(bb) mubi=ac.imread(aa) result=ac.find_template(yuan,mubi,0.7)#0.7相似度 if(resul
阅读全文
posted @ 2020-12-21 17:24 myrj
阅读(3186)
评论(0)
推荐(0)
2020年12月20日
win10禁止粘滞键 禁止按5次shift开启粘滞键
摘要: 如果你感觉粘滞键的快捷键影响了你的使用或想强行更改连续按5次上档键的指向的话,建议用你需要的程序替换%windir%\system32文件夹下面的sethc.exe @echo offclsdel /q %systemroot%\system32\dllcache\sethc.exedel /q %
阅读全文
posted @ 2020-12-20 18:28 myrj
阅读(776)
评论(0)
推荐(0)
python 图中找目标并截图
摘要: import numpy as npdef sjjt(xha,sjh,beitu,jl,xx,yy): #检查目标,并将目标指定范围内截图 pull_screenshot(xha,sjh,xx) #pull_screenshot(xh,sjh) # 截图 au='./tmall'+str(xx)+'
阅读全文
posted @ 2020-12-20 16:33 myrj
阅读(395)
评论(0)
推荐(0)
2020年12月18日
微信禁止通过群聊加好友
摘要: 微信-我-设置-隐私-添加我的方式,去掉“群聊" 加好友的方式:群聊 二维码 名片三种方式根据实际情况选择确定 搜索到我的方式:微信号,手机号,QQ号,根据实际情况选择确定
阅读全文
posted @ 2020-12-18 11:20 myrj
阅读(645)
评论(0)
推荐(0)
根据序列号查IP
摘要: def getIP():#得到当前电脑IP import socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect(("8.8.8.8", 80)) ip = (s.getsockname()[0]) s.close(
阅读全文
posted @ 2020-12-18 10:56 myrj
阅读(567)
评论(0)
推荐(0)
2020年12月17日
调整记录
摘要: 小米手机 'adb -s {0} shell input swipe 200 1200 200 380'.format(sjh)#滑动
阅读全文
posted @ 2020-12-17 21:01 myrj
阅读(84)
评论(0)
推荐(0)
上一页
1
···
170
171
172
173
174
175
176
177
178
···
188
下一页
公告