当前位置:网站首页>Statistics of radar data in nuscenes data set
Statistics of radar data in nuscenes data set
2022-07-07 02:36:00 【naca yu】
- Focus on v1.0-mini Version of radar data reading and statistics :
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 The interface of is nuscenes Provide
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}')
- Output
total points 2020
max_points84 min_points0 average_points39.36584158415842
- statistics
data_dis = [num.shape[0] for num in points_list]
plt.figure(figsize=(10,5))
plt.bar(range(len(data_dis)), data_dis)
- summary :
- As shown in the above figure, frame by frame , Sensor by sensor statistics , Each sensor is distributed :radar_front High data density , Above average
- radar_back The data density of the post radar is high , Even a frame appears 0 Reflection points
- The overall distribution is uneven , And there are multiple reflection points of 0 The phenomenon of
边栏推荐
- MySQL
- PCL 常用拟合模型及使用方法
- 【论文阅读|深读】 GraphSAGE:Inductive Representation Learning on Large Graphs
- Argo workflows source code analysis
- AWS学习笔记(一)
- Leetcode:minimum_ depth_ of_ binary_ Tree solutions
- Ali yunyili: how does yunyuansheng solve the problem of reducing costs and improving efficiency?
- dotConnect for DB2数据提供者
- 本周 火火火火 的开源项目!
- FLIR blackfly s usb3 industrial camera: how to use counters and timers
猜你喜欢
MES管理系统的应用和好处有哪些
Data connection mode in low code platform (Part 1)
argo workflows源码解析
3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp
Linear list --- circular linked list
[Mori city] random talk on GIS data (II)
Summer Challenge database Xueba notes (Part 2)~
1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动
postgresql之整體查詢大致過程
基于ensp防火墙双击热备二层网络规划与设计
随机推荐
ODBC database connection of MFC windows programming [147] (with source code)
进程管理基础
Lidar: introduction and usage of ouster OS
如何设计好接口测试用例?教你几个小技巧,轻松稿定
PostgreSQL图形化界面工具之pgAdmin4
4--新唐nuc980 挂载initramfs nfs文件系统
postgresql之整體查詢大致過程
How do I dump SoapClient requests for debugging- How to dump SoapClient request for debug?
What to do when encountering slow SQL? (next)
PCL 常用拟合模型及使用方法
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
STM32项目 -- 选题分享(部分)
KYSL 海康摄像头 8247 h9 isapi测试
MySQL
6-6漏洞利用-SSH安全防御
leetcode:736. LISP syntax parsing [flowery + stack + status enumaotu + slots]
哈希表及完整注释
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
Apifox, is your API interface document rolled up like this?
Argo workflows source code analysis