当前位置:网站首页>NuScenes数据集关于Radar数据的统计
NuScenes数据集关于Radar数据的统计
2022-07-06 18:59:00 【naca yu】
- 关注于v1.0-mini版本的雷达数据读取与统计:
from nuscenes.utils.data_classes import RadarPointCloud
import numpy as np
import matplotlib.pyplot as plt
points_list = []
radar_sensor = [ 'RADAR_BACK_LEFT',
'RADAR_BACK_RIGHT',
'RADAR_FRONT',
'RADAR_FRONT_LEFT',
'RADAR_FRONT_RIGHT']
# RadarPointCloud的接口由nuscenes提供
for sample in nusc.sample:
for sensor in radar_sensor:
sensor_token = sample['data'][sensor]
points = RadarPointCloud.from_file(str(nusc.get_sample_data_path(sensor_token))).points.transpose(1,0).astype(np.float32)
points_list.append(points)
print('total points {}'.format(len(points_list)))
point_num = 0
min_points = 2000
max_points = -2
for idx, points in enumerate(points_list):
point_num += points.shape[0]
min_points = min(points.shape[0], min_points)
max_points = max(points.shape[0], max_points)
point_num = point_num*1.0 / len(points_list)
print(f'max_points{
max_points} min_points{
min_points} average_points{
point_num}')
- 输出
total points 2020
max_points84 min_points0 average_points39.36584158415842
- 统计数据
data_dis = [num.shape[0] for num in points_list]
plt.figure(figsize=(10,5))
plt.bar(range(len(data_dis)), data_dis)
- 总结:
- 如上图所示的逐帧,逐传感器的统计数据中,各传感器分布:radar_front的数据密度较高,高于平均值
- radar_back的后置雷达数据密度较高,甚至出现某帧0个反射点
- 整体分布不均匀,且存在多帧反射点为0的现象
边栏推荐
- 记一次JAP查询导致OOM的问题分析
- Real project, realized by wechat applet opening code (end)
- Introduction to the internal structure of the data directory of PostgreSQL
- This week's hot open source project!
- KYSL 海康摄像头 8247 h9 isapi测试
- A new path for enterprise mid Platform Construction -- low code platform
- New generation cloud native message queue (I)
- Leetcode:minimum_ depth_ of_ binary_ Tree solutions
- C#/VB. Net to delete watermarks in word documents
- fiddler的使用
猜你喜欢
随机推荐
[C # notes] use file stream to copy files
Chang'an chain learning notes - certificate model of certificate research
postgresql之整体查询大致过程
低代码平台中的数据连接方式(上)
A new path for enterprise mid Platform Construction -- low code platform
leetcode:5. Longest palindrome substring [DP + holding the tail of timeout]
如何设计好接口测试用例?教你几个小技巧,轻松稿定
Work of safety inspection
Douban average 9 x. Five God books in the distributed field!
leetcode:5. 最长回文子串【dp + 抓着超时的尾巴】
Halcon instance to opencvsharp (C openCV) implementation -- bottle mouth defect detection (with source code)
Pgadmin4 of PostgreSQL graphical interface tool
Metaforce force meta universe development and construction - fossage 2.0 system development
[server data recovery] data recovery case of a Dell server crash caused by raid damage
Integerset of PostgreSQL
Recommended collection!! Which is the best flutter status management plug-in? Please look at the ranking list of yard farmers on the island!
Argo workflows source code analysis
Web3对法律的需求
pgpool-II和pgpoolAdmin的使用
MySQL