Browse Source

add fitz_preprocess as default preprocess for image parser to align with demo

zhangwei13 3 tháng trước cách đây
mục cha
commit
af3a52fa32
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      dots_ocr/parser.py

+ 1 - 0
dots_ocr/parser.py

@@ -416,6 +416,7 @@ def main():
         args.input_path, 
         prompt_mode=args.prompt,
         bbox=args.bbox,
+        fitz_preprocess=True,
         )