MCPcopy Create free account
hub / github.com/HanHan55/Graph2plan / centers_to_extents

Function centers_to_extents

PostProcess/g2p/box_utils.py:109–128  ·  view source on GitHub ↗

Convert boxes from [xc, yc, w, h] format to [x0, y0, x1, y1] format Input: - boxes: Input boxes of shape (N, 4) in [xc, yc, w, h] format Returns: - boxes: Output boxes of shape (N, 4) in [x0, y0, x1, y1] format

(boxes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected