Object Detection : Training with images that do not contain objects

조회 수: 2 (최근 30일)
Odo Luo
Odo Luo 2022년 4월 13일
답변: Odo Luo 2022년 11월 21일
Hello,
I am training a Mask RCNN model. Some of my images in the training data do not have any objects I want to detect.
According to:
I need a Mx4 matrix for the bounding boxes for each object.
What value should I past as matrix and label if the training image does not contain any object?
Should I leave these images out?
Best Regards
  댓글 수: 2
Wai Hin Cheung
Wai Hin Cheung 2022년 7월 21일
Have you found a solution to this?
I am also facing the same problem.
What happens if I have an image that does not contain any object? When I feed it into the trained model, will the detector be able to output something like 'no object detected in this image'?
Odo Luo
Odo Luo 2022년 8월 1일
Almost forgot I posted this question - but yes, I think so.
Mask RCNN work with image proposals and has an additional category 'background' build into the model. I just left the images without object out. The images with objed has enough "background" to be trained on.

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

채택된 답변

Odo Luo
Odo Luo 2022년 11월 21일
Mask RCNN takes random proposals during training. So its fine

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by