MAFAT Satellite Vision Challenge Forum

Go back to competition Back to thread list Post in this thread

> How to over lay results (bboxes ) back on TIFF images?

from model import model
import cv2
image_path = '/content/images/126_0_1280.tiff'
predictor = model()
img = cv2.imread(image_path, -1)
res = predictor.predict(img, None)

I used this code you mentioned to get results. However, I would like to know to how to overlay these results on images and see as oriented bboxes overlayed on images.(can you provide a code snippet for that)

Posted by: prak @ April 18, 2023, 9:07 p.m.

I recommend reviewing the implementation of the "Frame and annotations display" section in the EDA notebook.
MAFAT Challenge Team

Posted by: MAFAT_Challenge @ April 19, 2023, 10:15 a.m.

'Second, you can find a prediction sample for one frame at the "Prediction and Evaluation" tab (list of 13 lists for a single frame).'. Saw this is one of the threads. Could you tell me what these 13 lists are? Frame with annotation expects [[row['x1'],row['y1']], [row['x2'],row['y2']], [row['x3'],row['y3']], [row['x4'],row['y4']]] these

Posted by: prak @ April 19, 2023, 4:07 p.m.

For more details and explanations, please refer to the first section: "Predictions" in "Prediction and Evaluation" tab.
MAFAT Challenge Team

Posted by: MAFAT_Challenge @ April 20, 2023, 8:59 a.m.
Post in this thread