Created
March 31, 2023 17:03
-
-
Save Riyasharma-in/d2e936d031971d2c3ac99adcc4164d00 to your computer and use it in GitHub Desktop.
Sorting and Automate Adjustment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
converted_boxes = [] | |
for box in df.values.tolist(): | |
x, y, w, h, x2 = box | |
y2 = y + h | |
converted_boxes.append([x, y, x2, y2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment