摘要: 线程类Demo: InvokeThread::InvokeThread(QPlainTextEdit* edit, QObject *parent) : QThread(parent), m_edit(edit) { } void InvokeThread::run() { QString str 阅读全文
posted @ 2021-05-11 17:11 碎银三二两 阅读(1987) 评论(0) 推荐(0) 编辑
摘要: 在子线程中维护一个任务队列,排队执行主线程中添加的耗时/后台任务。 设计的任务类如下: #ifndef TASK_H #define TASK_H #include <QObject> // Demo是为了方便,将接口类和具体类写在了一起 // 任务接口类 class CTask { public: 阅读全文
posted @ 2021-05-11 11:37 碎银三二两 阅读(1131) 评论(0) 推荐(0) 编辑
摘要: 车牌或OCR识别套路:1、读取/采集图像(read_image)2、对于RGB图像一般可以考虑转换颜色空间(关于RGB、HSV、HSL:https://zhuanlan.zhihu.com/p/67930839) (1)先分离RGB通道(decompose3) (2)将RGB转换颜色空间,如转换到H 阅读全文
posted @ 2021-05-08 16:39 碎银三二两 阅读(667) 评论(0) 推荐(0) 编辑
摘要: accomplish:<əˈkämpliSH,v>完成、做到 acknowledgement:<əkˈnäləjmənt, n>致谢、承认 a set of:一套、一组... adapt...to:调整...使 at a minimum:至少 appropriate:<adj>适合的、合适的 ant 阅读全文
posted @ 2021-05-08 15:27 碎银三二两 阅读(388) 评论(0) 推荐(0) 编辑
摘要: MES(制造执行系统)和 SFC(车间管理控制系统) SFC(Shop Floor Control):车间管控系统也叫现场监控系统,一般用于产线。用来管控产品的制造流程信息,实时地储存一些生产数据,作为追踪管理之用。 MES(Manufacturing Execution System):可以理解为 阅读全文
posted @ 2021-05-07 22:32 碎银三二两 阅读(2642) 评论(0) 推荐(0) 编辑
摘要: 无法访问国外网站的凑合着用: https://stackoom.com/ https://www.soinside.com/ 阅读全文
posted @ 2021-04-29 14:47 碎银三二两 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 根据MSDN介绍从VS2015起MFC支持动态布局,可以在控件属性里面设置,也可以通过CMFCDynamicLayout类实现,具体实现见以下官方文档: https://docs.microsoft.com/en-us/cpp/mfc/dynamic-layout?view=msvc-160 阅读全文
posted @ 2021-04-27 13:23 碎银三二两 阅读(761) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Delegate1 { // 自定义委托 pub 阅读全文
posted @ 2021-04-20 11:03 碎银三二两 阅读(66) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; using System.Threading.Tasks; using System. 阅读全文
posted @ 2021-04-20 11:01 碎银三二两 阅读(61) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllTest { class Program 阅读全文
posted @ 2021-04-20 10:59 碎银三二两 阅读(72) 评论(0) 推荐(0) 编辑