CSP icon indicating copy to clipboard operation
CSP copied to clipboard

how can I get the image with the bounding boxes like this

Open lhs21 opened this issue 3 years ago • 2 comments

I can evaluate the results with eval_caltech , and I get the eval-newOcc=heavy.txt/eval-newAll.txt/eval-newReasonable.txt successfully. and the MR-2 are good, 45.7 , 57.6 , 4.65 。But when I try to use the results which is in the file(output/valresults/caltech/h/off/) to draw bounding boxes on the test image.I get the image like this . it has too many wrong bounding boxex. I don't know what's the matter . the code I write is added in test_caltech.py.

row=np.shape(boxes)[0] for i in range(0,row): ....a=boxes[i] ....cv2.rectangle(img,(a[0],a[1]),(a[2],a[3]),(0,255,0), 2) cv2.imwrite('./test/' + str(set)+str(video)+str(frame_number-1) + '.jpg', img)

set06V0001049 set10V0111349

i'm writing the graduation thesis ,so it'll help me a lot if you can tell me what's the problem,
thank you very much

lhs21 avatar Mar 30 '21 12:03 lhs21

another dataset:citypersons, how can I get the image with the bounding boxes

lhs21 avatar May 27 '21 09:05 lhs21

你好,我也遇到了相同的问题,请问你解决了吗?

sunshineInmoon avatar Sep 09 '21 09:09 sunshineInmoon