未验证 提交 252fbe54 编写于 作者: M MissPenguin 提交者: GitHub

Merge pull request #623 from WenmuZhou/fix_whl

修复whl包没有use_zero_copy_run参数的问题
......@@ -129,6 +129,7 @@ def parse_args():
parser.add_argument("--det", type=str2bool, default=True)
parser.add_argument("--rec", type=str2bool, default=True)
parser.add_argument("--use_zero_copy_run", type=bool, default=False)
return parser.parse_args()
......@@ -209,4 +210,4 @@ def main():
print(img_path)
result = ocr_engine.ocr(img_path, det=args.det, rec=args.rec)
for line in result:
print(line)
print(line)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册