original-label-> information

This commit is contained in:
sebastien committed 2026-09-22 12:20:23 +02:00
1 parent 5009831c7c
commit 96c00fa941
5 files changed
+81

No files matched your search

+4
View File
@@ -324,6 +324,10 @@ def compose_label_image(base_img, label, result, hmin,
if error == "empty-answer" and not with_empty:
return None, 0
origins = result.get("content_origins", [])
if origins:
error = " ".join([error, *(f"{origin}->" for origin in origins)]).strip()
# Filter deleted items (used by reading_annotations.py)
feedbacks = [f for f in feedbacks if "to_delete" not in f]