Closed rimvydasrub closed 6 months ago
This is due to zero indexing, the image height and width values should be out of bounds for the image arrays.
The question is what is the appropriate way to handle this. There are two options:
min_coords = np.array([0.0, 0.0])
max_coords = np.array([env.overhead_camera_width-1, env.overhead_camera_height-])
Its fine either way, but it should be clear what the approach moving forward
IMO: its faster with 2, but in future you might want to revisit.
when running the following code:
the following error occurs:
this edge case is important if one would like to dynamically calculate the regions for place location