How to write helper functions in Lidar 3-D object detections

2 次查看(过去 30 天)
Can anyone help me with the getting these helper functions in matlab, cropFrontViewFromLidarData helper function, saveptCldToPCD helper function, generateGTDataForAugmentation helper function, groundTruthDataAugmentation helper function,
  4 个评论
Ramya Sivanandham
Ramya Sivanandham 2021-9-23
Thank you @Shahana Bano. I have tried this function. But im getting some parse error. If possible, could you help me to solve this issue?
rror using matlab.io.datastore.FileDatastore/read (line 29)
Error using ReadFcn @(x)pcread(x) for file:
C:\ .....\Lidar_Dataset\Pandaset\Lidar\0472.pcd
Error using visionPcdRead
Internal file parsing error. Please see the documentation for more details.
Error in pcread (line 99)
properties = visionPcdRead(filename,requiredProperties,optionalProperties);
Error in main_Lidar>@(x)pcread(x) (line 33)
lidarData = fileDatastore(path,'ReadFcn',@(x) pcread(x));
Error in cropFrontViewFromLidarData (line 17)
ptCloud = read(lidarData);
Error in main_Lidar (line 83)
[croppedPointCloudObj,processedLabels] = cropFrontViewFromLidarData(lidarData,boxLabels,gridParams);
29 [data, info] = matlab.io.datastore.FileBasedDatastore.errorHandlerRoutine(fds,e);
473 throwAsCaller(ME);
K>>
Ramya Sivanandham
Ramya Sivanandham 2021-9-23
Though, that particular file is available in that path, this error still exists...

请先登录,再进行评论。

采纳的回答

Mahesh Taparia
Mahesh Taparia 2021-3-29
编辑:Mahesh Taparia 2021-3-30
Hi
The helper functions are shipped with the example. You can check the helper functions in the example folder by using command mentioned in that particular example. In your case, you are referring to this pointPillars example, whose command is present at the right side of the documentation (as View MATLAB Command), which is given below:
openExample('deeplearning_shared/Lidar3DObjectDetectionUsingPointPillarsExample')
Run this command, it will redirect to respective folder where all the associated functions are present.
Hope it will help!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Lidar Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by