"git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "53cbe187522170fe52a3bda4e5a053a7440e13b8"
Commit f6c824cc authored by Shaoshuai Shi's avatar Shaoshuai Shi
Browse files

save WOD metadata to infos

parent ce26ea1a
...@@ -212,6 +212,10 @@ def process_single_sequence(sequence_file, save_path, sampled_interval, has_labe ...@@ -212,6 +212,10 @@ def process_single_sequence(sequence_file, save_path, sampled_interval, has_labe
info['point_cloud'] = pc_info info['point_cloud'] = pc_info
info['frame_id'] = sequence_name + ('_%03d' % cnt) info['frame_id'] = sequence_name + ('_%03d' % cnt)
info['metadata'] = {
'context_name': frame.context.name,
'timestamp_micros': frame.timestamp_micros
}
image_info = {} image_info = {}
for j in range(5): for j in range(5):
width = frame.context.camera_calibrations[j].width width = frame.context.camera_calibrations[j].width
......
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