Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pinard Clement
drone-depth-validation-set
Commits
9f920739
Commit
9f920739
authored
Jan 07, 2021
by
Clément Pinard
Browse files
use float64 for pyntcloud
parent
df1f2f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
las2ply.py
View file @
9f920739
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment