Commit 7c1d7dff authored by myhloli's avatar myhloli
Browse files

fix(batch): disable OCR detection batch processing by default

parent 763fbc60
...@@ -18,7 +18,7 @@ MFR_BASE_BATCH_SIZE = 16 ...@@ -18,7 +18,7 @@ MFR_BASE_BATCH_SIZE = 16
class BatchAnalyze: class BatchAnalyze:
def __init__(self, model_manager, batch_ratio: int, show_log, layout_model, formula_enable, table_enable, enable_ocr_det_batch=True): def __init__(self, model_manager, batch_ratio: int, show_log, layout_model, formula_enable, table_enable, enable_ocr_det_batch=False):
self.model_manager = model_manager self.model_manager = model_manager
self.batch_ratio = batch_ratio self.batch_ratio = batch_ratio
self.show_log = show_log self.show_log = show_log
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment