-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
las2pcd How to convert? #194
Comments
same question |
This method cannot work in this project
So i hope you will use this instread, Make Converting Python Script
laspy==1.7.1
numpy==1.19.5
pclpy==0.11.0
$ pip install -r requirements.txt
import numpy as np
from pclpy import pcl
import pclpy
src_path = "src.las"
desc_path = "dest.pcd"
def las2pcd():
pc = pclpy.io.las.read(src_path, "PointXYZ")
writer = pcl.io.PCDWriter()
writer.writeBinary(desc_path, pc)
las2pcd()
$ python las2pcd.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: