* fix: preserve area and iscrowd from detection data in COCO export * fix: use np.asarray().item() to satisfy mypy in iscrowd/area extraction * test: shorten test name to fix ruff E501 line-length violation * test: verify data["area"] overrides bbox area when mask is present * test: stricter iscrowd type check (bool subclass fix) * test: stricter iscrowd type check in preserves_iscrowd_from_data * test: stricter iscrowd type check in iscrowd_is_int_when_mask_provided * fix: prefer data["iscrowd"] over geometry when mask is present --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Borda <6035284+Borda@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| formats | ||
| __init__.py | ||
| test_core.py | ||
| test_utils.py | ||