필터 지우기
필터 지우기

Export Lidar Labels for training neural network

조회 수: 5 (최근 30일)
Leon Hunfeld
Leon Hunfeld 2023년 2월 8일
답변: Smit 2023년 2월 9일
Good day,
Is it possible to export the Lidar labels or the labelled files from the Lidar Toolbox to open them with Python?
The goal is to use the labels in Python as training and test data to create a neural network that recognises people in 3D Lidar point clouds.
Is there a similar example?

답변 (1개)

Smit
Smit 2023년 2월 9일
Hi,
I understand you want to export Lidar labels generated in MATALB so you can use them in Python.
You may be able to export the label data using functions like “writetimetable”, and the label definitions in a JSON file using “jsonencode” function. An example of this could be
data = groundTruthLidar(dataSource,labelDefs,lidarData);
% Write label definitions in a JSON file
jsonText = jsonencode(data.LabelDefinitions);
writelines(jsonText, 'LabelDefinitions.json');
% Write label data in Excel file
writetimetable(data.LabelData, 'LabelData.xlsx');
You can then use appropriate Python libraries to import this data in your Python code.
You could also possibly use the Lidar Labeler app in MATLAB to export labels. You can open the app using the following command
lidarLabeler;
You can visit the documentation page for more information.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Labeling, Segmentation, and Detection에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by