logo
Browse Source

update

Signed-off-by: junjiejiangjjj <junjie.jiang@zilliz.com>
main
junjiejiangjjj 2 years ago
parent
commit
094f3c0703
  1. 2
      README.md

2
README.md

@ -66,7 +66,7 @@ DataCollection(p('./video.mp4')).show(limit=1)
``` ```
```python ```python
from towhee import ops
from towhee.dc2 import ops
d = ops.video_decode.ffmpeg(start_time=10.0, end_time=20.0, sample_type='uniform_temporal_subsample', args={'num_samples': 10}) 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): for frame in d(video_path):

Loading…
Cancel
Save