MCPcopy Create free account
hub / github.com/BIT-DataLab/Edit-Banana / NormalizedCoords

Class NormalizedCoords

modules/text/coord_processor.py:10–17  ·  view source on GitHub ↗

Normalized geometry: x, y, width, height, baseline_y, rotation (degrees).

Source from the content-addressed store, hash-verified

8
9@dataclass
10class NormalizedCoords:
11 """Normalized geometry: x, y, width, height, baseline_y, rotation (degrees)."""
12 x: float
13 y: float
14 width: float
15 height: float
16 baseline_y: float
17 rotation: float
18
19
20class CoordProcessor:

Callers 1

normalize_polygonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected