Commit 9f920739 authored by Clément Pinard's avatar Clément Pinard
Browse files

use float64 for pyntcloud

parent df1f2f41
...@@ -25,7 +25,7 @@ def load_and_convert(input_file, output_folder, verbose=False): ...@@ -25,7 +25,7 @@ def load_and_convert(input_file, output_folder, verbose=False):
offset = np.array(laspy.file.File(input_file, mode="r").header.offset) offset = np.array(laspy.file.File(input_file, mode="r").header.offset)
else: else:
offset = np.zeros(3) offset = np.zeros(3)
cloud = PyntCloud.from_file(input_file) cloud = PyntCloud.from_file(input_file, xyz_dtype="float64")
if verbose: if verbose:
print(cloud.points) print(cloud.points)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment