Metadata-Version: 2.4
Name: minieye-image-overlay
Version: 0.0.1
Summary: Shared PIL/numpy text overlay helpers for rendered calibration images.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: Pillow
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"

# minieye-image-overlay

Shared PIL/numpy post-processing helpers for text, legends, and tile labels on already-rendered PNG images.

The package intentionally depends only on `numpy` and `Pillow`. OpenCV callers can use the BGR entrypoint without adding an OpenCV dependency to this package.

`build_four_view_overlay_spec()` supports lower-right panels with
`mode="field_range"` and `mode="key_values"`. A key/value panel accepts an
optional title plus ordered `{"label": ..., "value": ...}` items:

```python
right_panel = {
    "mode": "key_values",
    "title": "lidar -> ins extrinsic",
    "items": [
        {"label": "translation xyz (m)", "value": "[-2.77, 0.00, -1.95]"},
        {"label": "quaternion xyzw", "value": "[-0.007, -0.002, 0.003, 0.999]"},
    ],
}
```

## 设计原则

- [版本无关设计原则](../../design_principle.md)
