Filter löschen
Filter löschen

my detector shows multiple bounding boxes .

5 Ansichten (letzte 30 Tage)
ahmad
ahmad am 19 Sep. 2023
Kommentiert: Image Analyst am 20 Sep. 2023
hi everyone,
i have problem that my trained detector show multple bounding boxes on same object as shown in attached image .Inaddition to this iit shows bounding boxes only when threshold is set to 0.1.if i set 0.2 or more it does not show anyy box or label.

Antworten (1)

Image Analyst
Image Analyst am 19 Sep. 2023
I don't know what your detector does or how it operates or even what function you called. However maybe you can run through the bounding boxes and for those that have any overlapping area, take the bounding box of all the overlapped boxes.
  9 Kommentare
ahmad
ahmad am 20 Sep. 2023
I place the attackrd image name in image to detect
Image Analyst
Image Analyst am 20 Sep. 2023
img = imread("C:\Users\ZBook\Desktop\New folder\new road.v2i.darknet\train\2_jpg.rf.e03c022bb9ccc6987308e66d130f4db7.jpg");
Error using imread>get_full_filename
File "C:\Users\ZBook\Desktop\New folder\new road.v2i.darknet\train\2_jpg.rf.e03c022bb9ccc6987308e66d130f4db7.jpg" does not exist.

Error in imread (line 372)
fullname = get_full_filename(filename);
[bboxes,scores,labels] = detect(detector,img,'Threshold',thrusholdvalue);
detectedImg = insertObjectAnnotation(img,"Rectangle",bboxes,labels);
imshow(detectedImg)

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by