Small fixes ; Make annotating not threaded

This commit is contained in:
2026-02-28 15:02:32 +01:00
parent be390cfbb1
commit e610c80a69
4 changed files with 56 additions and 35 deletions
+6 -1
View File
@@ -16,7 +16,12 @@ def detect_checks_and_notes(output_dir):
actions: List of dicts {type, label, ...} for checked boxes
notes_img: RGBA image of manual notes (checks masked out)
"""
pdf_path = os.path.join(output_dir, "Concat_annotated.pdf")
names = ["Concat_annotated.pdf", "Concat_a.pdf"]
for name in names:
pdf_path = os.path.join(output_dir, name)
if os.path.exists(pdf_path):
break
# ref_path = os.path.join(output_dir, "Reference.png")
ref_path = os.path.join(output_dir, "Reference.jpg")
json_path = os.path.join(output_dir, "checkboxes.json")