Make reading grouped annotations faster.

This commit is contained in:
2026-03-10 15:04:50 +01:00
parent a658cb72e0
commit d288daecd1
2 changed files with 27 additions and 23 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ def process_images(base_dir):
print(f"Error: Directory '{search_path}' not found.")
sys.exit(1)
for img_path in search_path.glob("*/*.jpg"):
for img_path in sorted(search_path.glob("*/*.jpg")):
student_name = img_path.stem # Filename without extension
# 4. Find Score