上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: /// <summary> /// 剪裁图片 /// </summary> /// <param name="src">原图片</param> /// <param name="left">左坐标</param> /// <param name="top">顶部坐标</param> /// <par 阅读全文
posted @ 2023-05-11 11:29 天天代码码天天 阅读(8) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 按指定宽高缩放图片 /// </summary> /// <param name="image">原图片</param> /// <param name="dstWidth">目标图片宽</param> /// <param name="dstHeight">目标 阅读全文
posted @ 2023-05-11 11:28 天天代码码天天 阅读(56) 评论(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 天天代码码天天 阅读(41) 评论(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 天天代码码天天 阅读(721) 评论(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 天天代码码天天 阅读(393) 评论(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 天天代码码天天 阅读(132) 评论(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 天天代码码天天 阅读(249) 评论(0) 推荐(0) 编辑
摘要: //1.获取模块的完整路径。 string path1 = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName; Console.WriteLine("path1:" + path1); //2.获取和设置当前目录(该 阅读全文
posted @ 2023-05-06 10:21 天天代码码天天 阅读(103) 评论(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 天天代码码天天 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 前台 html <script type="text/javascript"> if (typeof (EventSource) != "undefined") { var es = new EventSource("http://localhost:8080/Home/GetNotices?use 阅读全文
posted @ 2023-04-28 22:16 天天代码码天天 阅读(54) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 29 下一页