Small fixes ; Make annotating not threaded
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user