heerjtdev commited on
Commit
70b54a6
·
verified ·
1 Parent(s): 10f70c6

Update working_yolo_pipeline.py

Browse files
Files changed (1) hide show
  1. working_yolo_pipeline.py +1 -1
working_yolo_pipeline.py CHANGED
@@ -1138,7 +1138,7 @@ def preprocess_and_ocr_page(original_img: np.ndarray, model, pdf_path: str,
1138
  # print(f" ❌ Tesseract OCR Error: {e}")
1139
  #=============================================================================================================================================================
1140
  #=============================================================================================================================================================
1141
- else:
1142
  # === START OF RAPIDOCR BLOCK ===
1143
  try:
1144
  # 1. Re-render Page at High Resolution (Standardizing to Zoom 4.0)
 
1138
  # print(f" ❌ Tesseract OCR Error: {e}")
1139
  #=============================================================================================================================================================
1140
  #=============================================================================================================================================================
1141
+ # else:
1142
  # === START OF RAPIDOCR BLOCK ===
1143
  try:
1144
  # 1. Re-render Page at High Resolution (Standardizing to Zoom 4.0)