mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-13 22:40:53 +08:00
chore: optimze char rec (#260)
* chore: format code * chore: format code * test: update unit tests for different platform * feat(rapidocr_onnxruntime): optimize code * feat(rapidocr_onnxruntime): add --return_word_box params of CLI * chore: update demo * feat(rapidocr_onnxruntime): update vis of return_word_box
This commit is contained in:
11 files changed
+364
-250
No files matched your search
@@ -37,6 +37,7 @@ def init_args():
|
||||
global_group.add_argument("--width_height_ratio", type=int, default=8)
|
||||
global_group.add_argument("--max_side_len", type=int, default=2000)
|
||||
global_group.add_argument("--min_side_len", type=int, default=30)
|
||||
global_group.add_argument("--return_word_box", action="store_true", default=False)
|
||||
|
||||
global_group.add_argument("--intra_op_num_threads", type=int, default=-1)
|
||||
global_group.add_argument("--inter_op_num_threads", type=int, default=-1)
|
||||
|
||||
Reference in new issue
Block a user