logo
Browse Source

modify README

Signed-off-by: gexy5 <xinyu.ge@zilliz.com>
main
gexy5 2 years ago
parent
commit
d37b98fffe
  1. 19
      README.md
  2. BIN
      result1.png
  3. BIN
      result2.png

19
README.md

@ -32,6 +32,25 @@ import towhee
.show() .show()
) )
``` ```
<img src="./result1.png" height="px"/>
*Write a same pipeline with explicit inputs/outputs name specifications*:
```python
import towhee
(
towhee.glob['path']('./archery.mp4')
.video_decode.ffmpeg['path', 'frames']()
.action_classification.tsm['frames', ('labels', 'scores', 'features')](
model_name='tsm_k400_r50_seg8')
.select['path', 'labels', 'scores', 'features']()
.show(formatter={'path': 'video_path'})
)
```
<img src="./result2.png" height="px"/>
<br /> <br />
## Factory Constructor ## Factory Constructor

BIN
result1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
result2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Loading…
Cancel
Save