Closed alexserebryanskiy closed 6 months ago
I believe that in detect.py, where you specify the boundaries for trails you should have:
x_max = min(np.max(xs) + box_margin, self.image.shape[1]) y_max = min(np.max(ys) + box_margin, self.image.shape[0])
it was:
x_max = min(np.max(xs) + box_margin, self.image.shape[0]) y_max = min(np.max(ys) + box_margin, self.image.shape[1])
I believe that in detect.py, where you specify the boundaries for trails you should have:
x_max = min(np.max(xs) + box_margin, self.image.shape[1]) y_max = min(np.max(ys) + box_margin, self.image.shape[0])
it was:
x_max = min(np.max(xs) + box_margin, self.image.shape[0]) y_max = min(np.max(ys) + box_margin, self.image.shape[1])