I have a bounding box coordinates in this format [x, y, width, height],
how can I get all the x and y pairs from it?
the result is going to be in this format [(x1,y1),(x2,y2),...,(xn,yn)]
thanks in advance!
I have a bounding box coordinates in this format [x, y, width, height],
how can I get all the x and y pairs from it?
the result is going to be in this format [(x1,y1),(x2,y2),...,(xn,yn)]
thanks in advance!
I'm not sure if I understand your data description correctly, but here's an example that might fit:
Result: