cv3.utils.yyxx2xyxy
- cv3.utils.yyxx2xyxy(y0, y1, x0, x1)[source]
Convert from (y0, y1, x0, x1) to (x0, y0, x1, y1) format.
- Parameters:
y0 (float) – First y-coordinate.
y1 (float) – Second y-coordinate.
x0 (float) – First x-coordinate.
x1 (float) – Second x-coordinate.
- Returns:
(x0, y0, x1, y1) coordinates.
- Return type:
tuple