09 2021 档案

摘要: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宇宙 阅读(3643) 评论(0) 推荐(0) 编辑
摘要:mysql 子查询少用 用了子查询 就没有索引了 。。。所以一般用缓存代替 或者其他方法代替 阅读全文
posted @ 2021-09-30 17:38 newmiracle宇宙 阅读(43) 评论(0) 推荐(0) 编辑
摘要:mysql 临时表代替in的方法 public function infengzhuang($ziduanstr = '', $table = '',$whereziduan='',$instr = '', $wherestr = '') { $haomiao = $this->get_millis 阅读全文
posted @ 2021-09-30 11:00 newmiracle宇宙 阅读(701) 评论(0) 推荐(0) 编辑
摘要:Create temporary table new_table_name1 (Select * from aa_copy_copy); mysql创建临时表不用创建临时表结构的方法 阅读全文
posted @ 2021-09-30 09:43 newmiracle宇宙 阅读(113) 评论(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宇宙 阅读(938) 评论(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宇宙 阅读(503) 评论(0) 推荐(0) 编辑
摘要:paddleocr提高识别的方法 1用官方的完整模型包 ocr = PaddleOCR(use_angle_cls=True, lang="ch",det_model_dir="123/",rec_model_dir="321/") # need to run only once to downlo 阅读全文
posted @ 2021-09-28 09:08 newmiracle宇宙 阅读(2006) 评论(2) 推荐(1) 编辑
摘要:python3安装pyqt5 一定要3.7安装 不然会报错 版本不兼容 阅读全文
posted @ 2021-09-27 15:44 newmiracle宇宙 阅读(91) 评论(0) 推荐(0) 编辑
摘要:yolov5安装教程 在anaconda环境下安装 新建个 yolov5文件夹 先下个yolov5 https://github.com/ultralytics/yolov5 ps:必须是英文路径 不能中文路径不然训练的时候识别不了 然后 pip install -r requirements.tx 阅读全文
posted @ 2021-09-23 09:53 newmiracle宇宙 阅读(1292) 评论(0) 推荐(0) 编辑
摘要:python PaddleOCR安装方法 最好用python3.7 保证各个模块的兼容 要在anaconda环境下安装 1 http://www.cppcns.com/jiaoben/python/366474.html 里面走一遍 2 环境变量设置下 nvidia-smi 设置完必须重启anaco 阅读全文
posted @ 2021-09-22 11:25 newmiracle宇宙 阅读(2235) 评论(0) 推荐(0) 编辑
摘要:python判断 射线是否与圆相交 # 以上是返回截距式方程的y=kx+b的k和b def GeneralEquation(first_x,first_y,second_x,second_y): A = second_y-first_y B = first_x-second_x C = second 阅读全文
posted @ 2021-09-21 17:26 newmiracle宇宙 阅读(267) 评论(0) 推荐(0) 编辑
摘要:python实现快捷键的方法 import pyautogui import time import keyboard import pyautogui as pag iscanzhixing=1; def test_a(): global iscanzhixing # 只能执行一次 if isca 阅读全文
posted @ 2021-09-18 16:04 newmiracle宇宙 阅读(369) 评论(0) 推荐(0) 编辑
摘要:PHP防止上传文件包含木马的方法 1 判断类型是不是图片(别用后缀名判断) $xiangmupath = $this->getxiangmupath(); $logo = $xiangmupath . '/images/1/12.jpg'; $imginfo = getimagesize($logo 阅读全文
posted @ 2021-09-09 11:44 newmiracle宇宙 阅读(389) 评论(0) 推荐(0) 编辑
摘要:svg放大缩小图片 <g transform="scale(1 1)"><animateTransform attributeName="transform" type="scale" values="1;1;1;1.2;1;1;1" dur="1.2s" repeatCount="indefini 阅读全文
posted @ 2021-09-08 15:45 newmiracle宇宙 阅读(395) 评论(0) 推荐(0) 编辑
摘要:svg点击效果不停的换图片 <div class="rich_media_content " id="js_content" style="visibility: visible;"> <section powered-by="yutustudio666" style="line-height: 0 阅读全文
posted @ 2021-09-08 15:17 newmiracle宇宙 阅读(576) 评论(0) 推荐(0) 编辑
摘要:svg点击出票效果 <section powered-by="yutustudio666" style="line-height: 0;overflow: hidden;pointer-events: none;" data-mpa-powered-by="yiban.io"> <section p 阅读全文
posted @ 2021-09-08 14:59 newmiracle宇宙 阅读(173) 评论(0) 推荐(0) 编辑
摘要:自定义svg添加到秀米的方法 添加到这个标签下就对了 ps:一定要先保存再添加 不然会消失 阅读全文
posted @ 2021-09-08 10:24 newmiracle宇宙 阅读(1098) 评论(0) 推荐(0) 编辑
摘要:svg点击播放音乐 先微信后台添加音频 然后添加完把代码复制出来 <foreignObject x="0" y="50" width="100%" height="850"> <section style="opacity:0;transform: scale(50)translate(-924px 阅读全文
posted @ 2021-09-03 13:33 newmiracle宇宙 阅读(549) 评论(0) 推荐(0) 编辑
摘要:svg点击弹窗 <svg style="background-image: url(https://oss.knowway.cn/zhongliangct/hou2.jpg);background-repeat: no-repeat;background-size: 100% 100%;opacit 阅读全文
posted @ 2021-09-03 13:30 newmiracle宇宙 阅读(321) 评论(0) 推荐(0) 编辑
摘要:svg点击展开原理 <section style="line-height: 0;overflow:hidden;"> <section style="height:0;"><svg style="background-image: url(https://oss.knowway.cn/zhongl 阅读全文
posted @ 2021-09-03 10:51 newmiracle宇宙 阅读(440) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示