helperSanitizeBoxes is a function provided in some object detection examples but is not a built-in function?

조회 수: 34 (최근 30일)
I've been working with the object detectors and some of the supporting functions call "helperSanitizeBoxes" which I assume helps with bounding boxes overextending the image dimensions. I've tried looking up this function, but am curious if anyone has insight into what it does/how it can be released.

답변 (2개)

yanqi liu
yanqi liu 2021년 11월 18일
편집: yanqi liu 2021년 11월 18일
sir, please check the default example folder,such as
C:\Users\Administrator\Documents\MATLAB\Examples\R2021a\deeplearning_shared\DeepLearningFasterRCNNObjectDetectionExample
may I upload helperSanitizeBoxes.m just for discussion

Anshika Chaurasia
Anshika Chaurasia 2021년 10월 4일
Hi,
The function helperSanitizeBoxes is used to clean up invalid bounding box data. Boxes with values <=0 are removed and fractional values are rounded to integers. If none of the boxes are valid, this function passes the data through to enable downstream processing to issue proper errors.
For more information about this function you can run the following example where you can open the helperSanitizeBoxes.m file available in current folder section:
  댓글 수: 3
Anshika Chaurasia
Anshika Chaurasia 2021년 11월 18일
Run the example in MATLAB Online or MATLAB Desktop. This is where it will appear in MATLAB online:
Matej Komlosi
Matej Komlosi 2021년 11월 28일
편집: Matej Komlosi 2021년 11월 28일
It does not appear for me, I'm using matlab R2020b. It doesn't download with the example code.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by