From 9632cb3ff38b0c8cfd4921a05cb9d99ef133fcc4 Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Mon, 11 Apr 2022 19:33:59 +0800 Subject: [PATCH] Update yolov5 README Signed-off-by: shiyu22 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a756e75..0d4c6fa 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ import towhee towhee.glob('./test.jpg') \ .image_decode() \ - .object_detection.yolov5() \ - .show() + .object_detection.yolov5() \ + .show() ``` results1 @@ -43,10 +43,10 @@ Writing the same pipeline with explicitly specified inputs and outputs import towhee towhee.glob['path']('./test.png') \ - .image_decode['path','img']() \ - .object_detection.yolov5['img', ('box', 'class', 'score')]() \ - .select('box', 'class', 'score') \ - .show() + .image_decode['path','img']() \ + .object_detection.yolov5['img', ('box', 'class', 'score')]() \ + .select('box', 'class', 'score') \ + .show() ``` results1