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

조회 수: 5 (최근 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에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by