Open bw4sz opened 5 days ago
This is a really cool idea!
Hi! If my understanding is correct, you want to adjust the xmin, xmax or ymin, ymax depending on the longer side, to make the box square. Shall I take up and work on this if it's still open?
For sure, let me know if you need help.
From an unpublished paper, which I can later link.
We could do this for the cropmodel workflow.
The relevant code is here:
https://github.com/weecology/DeepForest/blob/8815d4b89e6e482c46bff7ed7d574efb44052432/deepforest/model.py#L161