mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-13 06:20:49 +08:00
Fix issue 232 (#235)
* fix(rapidocr_onnxruntime): Fixed padding_h variable before assignment * feat(rapidocr_onnxruntime): Add resize function * feat(rapidocr_onnxruntime): Add limit of max_side_len and min_side_len * tests: Add __init__
This commit is contained in:
10 files changed
+206
-14
No files matched your search
@@ -35,6 +35,8 @@ def init_args():
|
||||
global_group.add_argument("--print_verbose", action="store_true", default=False)
|
||||
global_group.add_argument("--min_height", type=int, default=30)
|
||||
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("--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