Make reading grouped annotations faster.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user