上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 98 下一页
摘要: python 解决pyautogui移动速度慢的问题 # from pymouse import PyMouse # m = PyMouse() # start=time.time() # m.move(125,100) #time.sleep(0.02)#m.release(125.100) # 阅读全文
posted @ 2021-10-07 09:38 newmiracle宇宙 阅读(1063) 评论(0) 推荐(0)
摘要: mysql临时表是基于缓存还是基于硬盘 经过我的测试 是基于硬盘的 不是基于缓存 所以要用缓存还是用memcache引擎好 drop table if exists tablenamedd1211; create table tablenamedd1211 engine=MEMORY (select 阅读全文
posted @ 2021-10-04 19:56 newmiracle宇宙 阅读(108) 评论(0) 推荐(0)
摘要: javascript 直角系坐标和屏幕坐标的关系 很多做过游戏开发的人 会遇到这个问题 他们2个关系就是Y轴要反一下(0,0 都是左上角) 所以计算的时候要先转换 Y 加个负数 再操作 操作完再转换回来 确实麻烦。。 阅读全文
posted @ 2021-10-04 11:25 newmiracle宇宙 阅读(64) 评论(0) 推荐(0)
摘要: python 替换图片中的像素 from PIL import Image import time img = Image.open('luban/jietu1631965285306c.jpg') img = img.convert('RGB') pixels = img.load() start 阅读全文
posted @ 2021-10-03 12:04 newmiracle宇宙 阅读(374) 评论(0) 推荐(0)
摘要: python paddleocr 增加识别速度的方法 切记长度不要超过960px 1 模型压缩 2 enable_mkldnn=True,use_tensorrt=True,use_angle_cls=False 3用GPU 注意 GPU要第二次识别才会加速 阅读全文
posted @ 2021-09-30 22:08 newmiracle宇宙 阅读(3959) 评论(0) 推荐(0)
摘要: mysql 子查询少用 用了子查询 就没有索引了 。。。所以一般用缓存代替 或者其他方法代替 阅读全文
posted @ 2021-09-30 17:38 newmiracle宇宙 阅读(47) 评论(0) 推荐(0)
摘要: mysql 临时表代替in的方法 public function infengzhuang($ziduanstr = '', $table = '',$whereziduan='',$instr = '', $wherestr = '') { $haomiao = $this->get_millis 阅读全文
posted @ 2021-09-30 11:00 newmiracle宇宙 阅读(722) 评论(0) 推荐(0)
摘要: Create temporary table new_table_name1 (Select * from aa_copy_copy); mysql创建临时表不用创建临时表结构的方法 阅读全文
posted @ 2021-09-30 09:43 newmiracle宇宙 阅读(116) 评论(0) 推荐(0)
摘要: GPU版本比CPU版本复杂太多了 安装要耐得住性子啊 1 先安装个显卡驱动 打开看看 显卡驱动支持的cuda版本是多少 2 如果是10.1 那就去下个10.1 https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os 阅读全文
posted @ 2021-09-29 09:06 newmiracle宇宙 阅读(981) 评论(0) 推荐(0)
摘要: python获取颜色范围 img_src = Image.open('testluban.jpg') img_size=img_src.size; img_width=img_size[0]; img_height=img_size[1]; # 转换图片的模式为RGBA img_src = img_ 阅读全文
posted @ 2021-09-28 13:46 newmiracle宇宙 阅读(515) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 98 下一页