05 2023 档案

摘要:微信开源了其二维码的解码功能,并贡献给 OpenCV 社区。其开源的 wechat_qrcode 项目被收录到 OpenCV contrib 项目中。从 OpenCV 4.5.2 版本开始,就可以直接使用。 该项目 github 地址: https://github.com/opencv/openc 阅读全文
posted @ 2023-05-31 10:53 天天代码码天天 阅读(958) 评论(0) 推荐(1) 编辑
摘要:表结构如图 代码 @Autowired JdbcTemplate jdbcTemplate; @Test public void getColumnNames() throws Exception { String sql = "select * from tb_test where 1=2 "; 阅读全文
posted @ 2023-05-26 10:07 天天代码码天天 阅读(90) 评论(0) 推荐(0) 编辑
摘要:第一步:关闭服务 net stop mysql 这个需要在管理员权限才行 ,具体怎么用管理员打开cmd略过 第二步:进入到安装的bin目录 执行 :mysqld --console --skip-grant-tables --shared-memory 这一步这些输出需要时这些,如果这一步有错误,需 阅读全文
posted @ 2023-05-18 21:09 天天代码码天天 阅读(28) 评论(0) 推荐(0) 编辑
摘要:效果 项目 代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usin 阅读全文
posted @ 2023-05-12 12:37 天天代码码天天 阅读(420) 评论(0) 推荐(0) 编辑
摘要:效果 项目 代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usin 阅读全文
posted @ 2023-05-12 11:13 天天代码码天天 阅读(360) 评论(0) 推荐(0) 编辑
摘要:效果 项目 代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usin 阅读全文
posted @ 2023-05-12 09:30 天天代码码天天 阅读(200) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 剪裁图片 /// </summary> /// <param name="src">原图片</param> /// <param name="left">左坐标</param> /// <param name="top">顶部坐标</param> /// <par 阅读全文
posted @ 2023-05-11 11:29 天天代码码天天 阅读(10) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 按指定宽高缩放图片 /// </summary> /// <param name="image">原图片</param> /// <param name="dstWidth">目标图片宽</param> /// <param name="dstHeight">目标 阅读全文
posted @ 2023-05-11 11:28 天天代码码天天 阅读(67) 评论(0) 推荐(0) 编辑
摘要:报错代码如图 详细错误 未处理 OpenCvSharp.OpenCVException HResult=-2146233088 Message=inputs[0].size[1] % blobs[0].size[1] == 0 Source=OpenCvSharp ErrMsg=inputs[0]. 阅读全文
posted @ 2023-05-11 09:15 天天代码码天天 阅读(51) 评论(0) 推荐(0) 编辑
摘要:效果 工程 代码 using Microsoft.ML.OnnxRuntime; using OpenCvSharp; using System; using System.Collections.Generic; using System.ComponentModel; using System. 阅读全文
posted @ 2023-05-10 15:06 天天代码码天天 阅读(899) 评论(0) 推荐(0) 编辑
摘要:var mat = OpenCvSharp.Extensions.BitmapConverter.ToMat(source);//bitmap转mat Cv2.CvtColor(mat, mat, ColorConversionCodes.RGBA2RGB);//mat转三通道mat var bit 阅读全文
posted @ 2023-05-10 10:59 天天代码码天天 阅读(521) 评论(0) 推荐(0) 编辑
摘要:效果 项目 代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usin 阅读全文
posted @ 2023-05-09 14:17 天天代码码天天 阅读(154) 评论(0) 推荐(0) 编辑
摘要:效果 代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using S 阅读全文
posted @ 2023-05-09 10:38 天天代码码天天 阅读(331) 评论(0) 推荐(0) 编辑
摘要://1.获取模块的完整路径。 string path1 = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName; Console.WriteLine("path1:" + path1); //2.获取和设置当前目录(该 阅读全文
posted @ 2023-05-06 10:21 天天代码码天天 阅读(107) 评论(0) 推荐(0) 编辑
摘要:pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs 阅读全文
posted @ 2023-05-05 14:13 天天代码码天天 阅读(28) 评论(0) 推荐(0) 编辑