[Bug Fix] Remove redundant parameters during OCR multi-threaded inference (#1479)

Update multi_thread_process_ocr.py

OCR infer doesn't need the "topk" arguments.
This commit is contained in:
dium6i
2023-03-02 10:52:27 +08:00
committed by GitHub
parent 044ab993d2
commit 5871f6c2af

View File

@@ -267,7 +267,7 @@ if __name__ == '__main__':
predict,
args=(ppocr_v3.clone(),
imgs_list[i * image_num_each_thread:(i + 1) *
image_num_each_thread - 1], args.topk))
image_num_each_thread - 1]))
threads.append(t)
t.start()