-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
square elongation for cropmodel #820
Comments
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. |
Hello! Sorry I took long time. So, I've implemented a function that takes boxes - a list of coordinates and return the adjusted coordinates. Here, if length on x-axis is longer, then length on y-axis is adjusted, keeping the ymin the same. Similarly, xmin is kept the same and x-axis length is elongated if y-axis length is longer. Go through the code and give me your feedback:
|
good start, cleaning up code readability
|
From an unpublished paper, which I can later link.
We could do this for the cropmodel workflow.
The relevant code is here:
DeepForest/deepforest/model.py
Line 161 in 8815d4b
The text was updated successfully, but these errors were encountered: