diff --git a/README.md b/README.md index ae35cb2..c5fd4c7 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ p = ( .output('class', 'score') ) -data = 'https://towhee.io/object-detection/yolov5/raw/branch/main/test.png' -res = p(data).get() +res = p('test.png') +res.get() ```
@@ -48,7 +48,7 @@ res = p(data).get() Create the operator via the following factory method -***object_detection.yolov5()*** +***object_detection.yolo()***