You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smokeboxidentification/README.md

58 lines
2.0 KiB
Markdown

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# SmokeBoxIdentification
Identify the types and quantities of smoke boxes
这是基于南京烟草版本,把扫码器和传感器等功能做一个是否加载的选项:
1、2D模板匹配算法修改
2、相机采图后至算法使用期间通讯格式、图像保存等各种规范修改。
3、相机采图模块修改
原先是一次多个相机拍一堆货物得到Qvector类型的图像数据匹配时去挨张图匹配直到匹配成功后面队列中的图像掠过返回匹配结果。
现改为,相机分别在堆垛机左右两侧,两台相机分别拍两侧的货物,即单个位置可能会发送两条信号(分别对应两个相机),但两图像需要检测的目标不一,且在边缘货架上,只会触发单侧。
**数据流修改:**
通讯线程接收拍照信号1->接收数据处理信号1->接收拍照信号2->接收数据处理信号2->返回相机1拍照成功 ->返回相机2拍照成功
拍照线程: 相机1拍照-> 相机2拍照->
计算线程...:品规...->层高...
通讯结果数据处理:
对QMap进行(in+out)GPS(in)->GPE(out)->RTS(in)->RTE(out)
Camera.json中id是给相机的编号可以用于区分石家庄项目中的左右相机与通讯中货物的方向对应。
3、3D tof相机接入但目前点云.pcd是没有颜色数据另外
目前采取的方案是相机采图的时候直接调用点云生成函数在某个缓存路径下由于未知点云的带颜色的数据能否以Mat格式传递故而直接选择缓存一份->迁移+改成规范的文件名)
——————————————————————
之前海康相机是手动改为黑白图像,然后代码里暂不支持彩色图像输入(需改)
遗留冲突问题:
1、ADModule中有个确认WorkMode问题怀疑可能是出入库之前要做区别导致很多相机操作是跟WorkMode有关的。
+结果绘制:调色+文字+大模板结果需要放大2倍
3D模块先接入相机