Browse Source
modify README
Signed-off-by: gexy5 <xinyu.ge@zilliz.com>
main
gexy5
3 years ago
3 changed files with
19 additions and
0 deletions
-
README.md
-
BIN
result1.png
-
BIN
result2.png
|
|
@ -32,6 +32,25 @@ import towhee |
|
|
|
.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 /> |
|
|
|
|
|
|
|
## Factory Constructor |
|
|
|
Width:
|
Height:
|
Size: 25 KiB
|
Width:
|
Height:
|
Size: 111 KiB
|