How to detect multiple stop sign using RCNN?
Mostrar comentarios más antiguos
Hi,
I've tried the code given in the documentation as below.
It work. Then I try to change the testing image with this image (attachment). But the code only detect one stop sign as the result attachment.
I've tried to comment one line in the code that display only the stongest score. But it still detect one stop sign. supposedly there are 3 stop sign that can be found in the image.
% Display strongest detection result.
[score, idx] = max(score);
How can I improve the code to make it able to detect multiple stop sign?
Respuestas (1)
yanqi liu
el 24 de Nov. de 2021
0 votos
yes,sir,please use
[bboxes,scores] = detect(detector,I,'Threshold',0.1);
to get more rects,and then filter by score value
4 comentarios
Syukri Yazed
el 25 de Nov. de 2021
yanqi liu
el 25 de Nov. de 2021
sir,if use rcnn
[bboxes, scores, label] = detect(RcnnNet, img, 'NumStrongestRegions', inf);
if use faster rcnn
[bboxes, scores, label] = detect(RcnnNet, img, 'Threshold', 0.1);
Syukri Yazed
el 25 de Nov. de 2021
yanqi liu
el 26 de Nov. de 2021
yes,sir,it exist wrong detect result by rcnn,may be use faster rcnn or yolo to detect
Categorías
Más información sobre Object Detection en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!