logo
Browse Source

update

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 1 year ago
parent
commit
03a4be92c9
  1. 4
      README.md

4
README.md

@ -54,7 +54,7 @@ av
## How it works
```python
from towhee.dc2 import pipe, ops, DataCollection
from towhee import pipe, ops, DataCollection
p = (
pipe.input('video_file')
@ -66,7 +66,7 @@ DataCollection(p('./video.mp4')).show(limit=1)
```
```python
from towhee.dc2 import ops
from towhee import ops
d = ops.video_decode.ffmpeg(start_time=10.0, end_time=20.0, sample_type='uniform_temporal_subsample', args={'num_samples': 10})
for frame in d(video_path):

Loading…
Cancel
Save