Coder Social home page Coder Social logo

huangcongqing / point-clouds-visualization Goto Github PK

View Code? Open in Web Editor NEW
72.0 4.0 17.0 25.23 MB

visualization点云可视化(open3D, mayavi, rviz(ros), PCL等)

License: MIT License

Python 61.38% Jupyter Notebook 29.16% CMake 4.44% C++ 5.02%
point-clouds mayavi open3d visualization pcl rviz rviz2 ros

point-clouds-visualization's Introduction

image

Point-Clouds-Visualization

点云可视化

@双愚 , 若fork或star请注明来源

Visualization可视化

  • open3D [python]
  • mayavi[python]
  • matplolib [python]
  • rviz(ROS) topic可视化 [c++][python]
  • pcl 点云可视化 [c++]: pcl-visualization可视化

可视化软件:

  1. cloudcompare( Linux、Windows 和 MacOS )
  2. Meshlab( Linux、Windows 和 MacOS )

个人笔记:https://www.yuque.com/huangzhongqing/hre6tf/eak3ba

# 克隆包含子仓库:https://github.com/chaomath/open3d-kitti-visualization
git clone --recursive https://github.com/HuangCongQing/Point-Clouds-Visualization

1 mayavi

参考自:

语义分割任务 classification task

目标检测跟踪任务 detection and tracking task

2 Open3D

https://www.yuque.com/huangzhongqing/hre6tf/xk0gxn

open3d实战项目

子仓库代码bug:运行子仓库代码需要修改

修改文件:2open3D/practice/open3d-kitti-visualization/open3d_geometry/open3d_arrow.py

	# mesh.transform(T)
	# mesh.rotate([0,beta,0],center=False) # TypeError: rotate(): incompatible function arguments. The following argument types are supported:
	# mesh.rotate([0,0,gamma],center=False)
	# fix:w维度不对 np.expand_dims(np.array([0,beta,0], dtype=np.float64),1).shape
	mesh.rotate(mesh.get_rotation_matrix_from_xyz((0,beta,0)), center=mesh.get_center())
	mesh.rotate(mesh.get_rotation_matrix_from_xyz((0,0,gamma)), center=mesh.get_center())

4 ros2_python [python]

python版本: ubuntu20.04 ,ROS foxy版本

vis points&bbox

5 ros1_cpp [c++]

docs: https://www.yuque.com/huangzhongqing/ld627o/bovm2ar3ucgb8905

5ros1_cpp/src/lidar_visualization

feat1: 遍历文件夹里的文件(pcd或者ply格式)可视化点云和对应文件名字

1 修改参数:根据自己的需要修改下面3个参数

// 参数设置
std::string frame_id = "livox_frame";
std::string lidar_topic = "/livox/lidar";
// PCD/PLY 文件夹路径
std::string pc_dir = "/home/hcq/project/board检测/ws_board/src/board_detection/testdata"; // 替换为您的PCD或PLY文件目录的路径

2 编译和运行:

# 编译
catkin_make

# 运行
## 方式1
rosrun lidar_visualization lidars_visualization

## 方式2
roslaunch lidar_visualization test.launch

可视化结果

References

License

Copyright (c) 双愚. All rights reserved.

Licensed under the MIT License.

point-clouds-visualization's People

Contributors

huangcongqing avatar trellixvulnteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

point-clouds-visualization's Issues

请问可以用o3d.visualization.draw_geometries实现实时可视化点云吗?

我想用open3d实时可视化,可是遇到一个网上找不到答案的bug。我自己写的窗口是在一个子线程里画的,因为主线程的界面里有解析串口的函数,想监听这个串口函数返回的数据。当然,可以修改主线程的窗口为自己想显示的窗口,但是目前对我有点难度
0c2209e573d07437f29de9a0d0468f8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.