Closed hesamira closed 6 months ago
I apologize for the late reply. This file exists in the repo (https://github.com/tilemmpon/Singapore-Maritime-Dataset-Frames-Ground-Truth-Generation-and-Statistics/blob/master/objects_onshore.txt) so either copy it to the location you run it from or make sure the running location in Python is inside the repository folder.
Closed as completed since no further feedback has been received.
Hi, Thanks for you code. When I ran this part of your code, I faced this error. How can find objects_onshore.txt file? Please, help me. Thanks.
try to draw image with bounding boxes
load the object ground truth files first
video_name = 'MVI_1613_VIS' objects_onshore = [] with open("objects_onshore.txt") as f: for line in f: line = line.strip() objects_onshore.append(line)
objects_onboard = [] with open("objects_onboard.txt") as f: for line in f: line = line.strip() objects_onboard.append(line)
objects_nir = [] with open("objects_nir.txt") as f: for line in f: line = line.strip() objects_nir.append(line)
FileNotFoundError Traceback (most recent call last)