logo
Browse Source

Update yolov5 README

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
main
shiyu22 3 years ago
parent
commit
9632cb3ff3
  1. 12
      README.md

12
README.md

@ -31,8 +31,8 @@ import towhee
towhee.glob('./test.jpg') \
.image_decode() \
.object_detection.yolov5() \
.show()
.object_detection.yolov5() \
.show()
```
<img src="./results1.png" alt="results1" height="40px"/>
@ -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()
```
<img src="./results2.png" alt="results1" height="90px"/>

Loading…
Cancel
Save