摘要: 修改用户变量,在PATH中添加【%USERPROFILE%\AppData\Local\Microsoft\WindowsApps】地址。 这只是我解决的方法不代表你的 阅读全文
posted @ 2023-02-08 15:33 十而无用 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: 如果能调用成功摄像头但画面就是不显示,那就是程序没有引用AForge.Imageing.dll这个集 阅读全文
posted @ 2022-02-08 10:31 十而无用 阅读(550) 评论(0) 推荐(0) 编辑
摘要: .Net Core MVC 官方示例中添加视图,HolleWorld文件夹要添加到View文件夹中。 阅读全文
posted @ 2021-08-26 15:13 十而无用 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1.在首行添加#pragma execution_character_set("utf-8") 2.推荐:在Qt的安装路径找到bin目录,搜索include文件夹,找到qglobal.h头文件,在其中加入以下代码: #if _MSC_VER >= 1600 #pragma execution_cha 阅读全文
posted @ 2020-11-27 17:33 十而无用 阅读(93) 评论(0) 推荐(0) 编辑
摘要: int imgwidth=img->width(); int imgheight=img->height(); unsigned char* graydata =img->bits(); vector<int> hist(256); //初始为0; for(int i=0;i<256;i++;) { 阅读全文
posted @ 2020-11-27 17:29 十而无用 阅读(819) 评论(0) 推荐(0) 编辑
摘要: 1.xxx.pro文件:操作库,对库的引用在这,使用库还要在3先声明; 2.xxx.h文件:头文件,声明全局变量和方法; 3.widget.cpp:如果从别的地方复制过来的代码出错,那么可能时没有引用,在第0行写上声明:#include <xxx>; 阅读全文
posted @ 2020-07-23 17:01 十而无用 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 先用1,不能解决再用2. (1)QPushButton* sendButton = new QPushButton(QString::fromLocal8Bit("校准"));(2)QPushButton* sendButton = new QPushButton(QStringLiteral("校 阅读全文
posted @ 2020-07-23 16:51 十而无用 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/qq_33154343/java/article/details/78587699 补充下其中缺少的步骤:安装后缺少QT GUI Application 。 解决方法:https://blog.csdn.net/mjs110333mjs/arti 阅读全文
posted @ 2020-07-02 17:48 十而无用 阅读(914) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-30 17:57 十而无用 阅读(1867) 评论(0) 推荐(0) 编辑
摘要: string path = @"C:\Users\Administrator\Desktop\无人智能便利店\install\收银端\XMLRFI.xml"; XmlDocument xmlDoc = new XmlDocument();//新建XML文件 xmlDoc.Load(path);//加 阅读全文
posted @ 2019-09-09 14:30 十而无用 阅读(964) 评论(0) 推荐(0) 编辑