AerialDetection icon indicating copy to clipboard operation
AerialDetection copied to clipboard

cannot draw RBBOX during Inference

Open shiv4ngi opened this issue 5 years ago • 1 comments

Hey, Thank you for the repo, I am using this repo to learn and train my own model on rotated images dataset. I trained the model on my images successfully and now trying to run some inference. I used test.py from tools folder with type=OBB and then parsed the pkl file using parse_result.py

I got txt files by class names with bounding boxes. I wanted to plot RBBOX on the image itself during inference and save plotted images, is there any way I can do this directly?

I tried --show parameter but it returns this error - assert bboxes.shape[1] == 4 or bboxes.shape[1] == 5

shiv4ngi avatar Feb 17 '20 13:02 shiv4ngi

Please see the demo https://github.com/dingjiansw101/AerialDetection/blob/master/demo_large_image.py

dingjiansw101 avatar Mar 10 '20 03:03 dingjiansw101