Replies: 1 comment 2 replies
-
@dimidagd the from ultralytics.data.split_dota import get_windows
# Assuming you have a 'size' and 'image_shape' defined
windows = get_windows(size=size, image_shape=image_shape, gap=-50) In this snippet, each window will overlap the next by 50 pixels. Hope this helps! 😊👍 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would be the use of
gap
inultralytics.data.split_dota.get_windows
? Why would one not want a negative gap (overlap) between crops?ultralytics/ultralytics/data/split_dota.py
Line 89 in 61088b4
Beta Was this translation helpful? Give feedback.
All reactions