Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfxmap_python
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
jfxmap_python
Commits
1bde9e0d
Commit
1bde9e0d
authored
Jan 26, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
36cc262e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
trans_and_export_data_multi.py
script/trans_and_export_data_multi.py
+2
-0
No files found.
script/trans_and_export_data_multi.py
View file @
1bde9e0d
...
@@ -479,6 +479,7 @@ def Save_Cloud_File(cloud,json):
...
@@ -479,6 +479,7 @@ def Save_Cloud_File(cloud,json):
jsn_pcd
=
{}
jsn_pcd
=
{}
jsn_pcd
[
"labels_box3D"
]
=
[]
jsn_pcd
[
"labels_box3D"
]
=
[]
jsn_pcd
[
"box_num"
]
=
{
'big'
:
0
,
'little'
:
0
,
'pedestrian'
:
0
,
'mid'
:
0
,
'cyclist'
:
0
}
for
bbox
in
cloud
[
"boxes"
]:
for
bbox
in
cloud
[
"boxes"
]:
jsn_box
=
{}
jsn_box
=
{}
jsn_box
[
"box3D"
]
=
{}
jsn_box
[
"box3D"
]
=
{}
...
@@ -487,6 +488,7 @@ def Save_Cloud_File(cloud,json):
...
@@ -487,6 +488,7 @@ def Save_Cloud_File(cloud,json):
jsn_box
[
"box3D"
][
"rot_y"
]
=
bbox
[
2
]
jsn_box
[
"box3D"
][
"rot_y"
]
=
bbox
[
2
]
jsn_box
[
"category"
]
=
bbox
[
0
]
jsn_box
[
"category"
]
=
bbox
[
0
]
jsn_pcd
[
"labels_box3D"
]
.
append
(
jsn_box
)
jsn_pcd
[
"labels_box3D"
]
.
append
(
jsn_box
)
jsn_pcd
[
"box_num"
][
bbox
[
0
]]
+=
1
flag_del
=
shadow_casting
(
cloud
[
"np_pcd"
],
bbox
[
1
])
flag_del
=
shadow_casting
(
cloud
[
"np_pcd"
],
bbox
[
1
])
#g_np_flag = g_np_flag & (~flag_del)
#g_np_flag = g_np_flag & (~flag_del)
...
...
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