Browse Source
update
Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
1 changed files with
9 additions and
1 deletions
-
README.md
|
|
@ -22,7 +22,11 @@ |
|
|
|
```Python |
|
|
|
import towhee |
|
|
|
|
|
|
|
towhee.glob('./music.mp3').audio_decode().flatten().show(limit=1) |
|
|
|
towhee.glob('./music.mp3').audio_decode.ffmpeg().flatten().show(limit=1) |
|
|
|
|
|
|
|
|
|
|
|
# batch decode |
|
|
|
# towhee.glob('./music.mp3').audio_decode.ffmpeg(500).flatten().show(limit=1) |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
@ -39,6 +43,10 @@ Create the operator via the following factory method: |
|
|
|
|
|
|
|
***audio_decode.ffmpeg()*** |
|
|
|
|
|
|
|
batch decode, batch_size = 100: |
|
|
|
|
|
|
|
***audio_decode.ffmpeg(100)*** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br /> |
|
|
|