1

3d激光雷达开发(绘制长方体)

 2 years ago
source link: https://blog.csdn.net/feixiaoxing/article/details/123444380
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

3d激光雷达开发(绘制长方体)

费晓行 于 2022-03-12 15:26:28 发布 512

【 声明:版权所有,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】

        不管是测量,或者是识别,一般在算法执行的过程当中,都要把相关得物体锁定出来,这个时候,绘制一个长方体就是一个不错的方法。这有点类似于opencv。因为在opencv当中,不管是检测,还是说识别,也是用一个框把具体的物体标记出来。示例代码参考了这篇blog,做了适当的修改,https://blog.csdn.net/varyshare/article/details/103355931

1、准备pcl.cpp文件

2、准备必要的CMakeLists.txt

3、创建sln工程,生成exe文件

4、开始执行exe文件

        直接运行pcl.exe即可,需要得dll全部补上。

        实验效果如下,

        可以旋转看一下,

           我们在很多点云demo当中,都是用这种方法标记物体的。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK