"tests/vscode:/vscode.git/clone" did not exist on "da5ab51d5458b415c822854ad1469008f686f75e"
Commit 1147bd3a authored by WenmuZhou's avatar WenmuZhou
Browse files

添加use_zero_copy_run参数

parent ee05c913
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment