摘要:
/// <summary> /// 获得圆上的等分点 /// </summary> /// <param name="pdCenter">圆心坐标</param> /// <param name="dRadius">半径</param> /// <param name="nEquinoxNums"> 阅读全文
摘要:
引入代码:1 [Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(IDesigner))] 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windo 阅读全文
摘要:
一:将PT模型文件转onnx: 1、用到export.py 安装依赖包 pip3 install onnx pip3 install coremltools==4.0 2、export.py中的配置 文件路径 模型类型 改好后直接点击运行,生成模型: 阅读全文
摘要:
一、先用labelImag标注好自己的数据集: cmd输入:labelImg打开软件, 标注完后文件夹里的东西: 一张图片对应一个txt文档 文档里的内容: 还有一个总的类别文档classes.txt 训练集标注好后,再用同样的方法标注一些测试集图片,用于测试 标注好后将数据集放入项目根目录,一般数 阅读全文
摘要:
1、安装python和PyTorch PyTorch官网 https://pytorch.org/ 2、下载yoloV5,并下载依赖文件 https://github.com/ultralytics/yolov5 解压后在文件夹里找到文件requirements.txt,里面列出了yolo5所需要的 阅读全文
摘要:
//创建原图副本 img.CopyTo(imgCopy); //ROI区域 Rect rect = new Rect(CaptureRectangle.X, CaptureRectangle.Y, CaptureRectangle.Width, CaptureRectangle.Height); i 阅读全文
摘要:
/////声明变量 //原始图像 Mat img; //canny边缘提取参数 public double cannyThreshold1; //canny参数阈值1 public double cannyThreshold2; //canny参数阈值2 //霍夫直线检测参数 public doub 阅读全文
摘要:
引用NModbus4.dll using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO.Ports; 阅读全文
摘要:
两种方式: 第一种:使用海康提供的MyCamera.cs类,使用动态链接库的方式,这种方式必须安装MVS客户端(客户端安装的时候会将需要用到的依赖文件一并安装,如果不想安装MVS,就必须到海康官网下载“机器视觉工业相机SDK V3.5.0版本Runtime组件包”),并使用MyCamera.cs这个 阅读全文