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
OpenDAS
OpenPCDet
Commits
9bb7a60c
Commit
9bb7a60c
authored
Jul 17, 2020
by
Shaoshuai Shi
Browse files
update DEMO.md
parent
b1cefad0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
docs/DEMO.md
docs/DEMO.md
+6
-5
No files found.
docs/DEMO.md
View file @
9bb7a60c
...
...
@@ -17,15 +17,16 @@ the unified normative coordinate of `OpenPCDet`, that is, x-axis points towards
y-axis points towards to the left direction, and z-axis points towards to the top direction.
*
(Optional) the z-axis origin of your point cloud coordinate should be about 1.6m above the ground surface,
since currently the provided models are trained on the KITTI dataset.
*
Note to s
et the intensity information, and save your transformed custom data to
`numpy file`
:
*
S
et the intensity information, and save your transformed custom data to
`numpy file`
:
```
python
# Transform your point cloud data
...
# Save it to the file.
# The shape of points should be (num_points, 4), that is [x, y, z, intensity],
# and the range of intensity should be within [0, 1].
# If you doesn't have the intensity information, just set points[:, 3] = 0,
# If you doesn't have the intensity information, just set them to zeros.
# If you have the intensity information, you should normalize them to [0, 1].
points
[:,
3
]
=
0
np
.
save
(
`my_data.npy`
,
points
)
```
...
...
@@ -43,5 +44,5 @@ Here `${POINT_CLOUD_DATA}` could be the following format:
Then you could see the predicted results with visualized point cloud as follows:
<p
align=
"center"
>
<img
src=
"
docs/
demo.png"
width=
"95%"
>
<img
src=
"demo.png"
width=
"95%"
>
</p>
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