Spaces:
Sleeping
Sleeping
Yaz Hobooti
commited on
Commit
·
c54befb
1
Parent(s):
2a26601
Fix indentation error on line 1102
Browse files- pdf_comparator 2.py +1 -1
pdf_comparator 2.py
CHANGED
|
@@ -1099,7 +1099,7 @@ def compare_pdfs(file_a, file_b):
|
|
| 1099 |
# Use PDF-based barcode detection instead of rasterized image
|
| 1100 |
bar_a, info_a = find_barcode_boxes_and_info_from_pdf(file_a.name, image_size=image_size) if HAS_PYMUPDF else find_barcode_boxes_and_info(a)
|
| 1101 |
bar_b, info_b = find_barcode_boxes_and_info_from_pdf(file_b.name, image_size=image_size) if HAS_PYMUPDF else find_barcode_boxes_and_info(b)
|
| 1102 |
-
|
| 1103 |
# Debug: Print barcode detection results
|
| 1104 |
print(f"Barcode detection results - A: {len(bar_a)} codes, B: {len(bar_b)} codes")
|
| 1105 |
else:
|
|
|
|
| 1099 |
# Use PDF-based barcode detection instead of rasterized image
|
| 1100 |
bar_a, info_a = find_barcode_boxes_and_info_from_pdf(file_a.name, image_size=image_size) if HAS_PYMUPDF else find_barcode_boxes_and_info(a)
|
| 1101 |
bar_b, info_b = find_barcode_boxes_and_info_from_pdf(file_b.name, image_size=image_size) if HAS_PYMUPDF else find_barcode_boxes_and_info(b)
|
| 1102 |
+
|
| 1103 |
# Debug: Print barcode detection results
|
| 1104 |
print(f"Barcode detection results - A: {len(bar_a)} codes, B: {len(bar_b)} codes")
|
| 1105 |
else:
|