logo
Browse Source

Update REAME.md

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 months ago
parent
commit
6596914f4e
  1. 2
      README.md

2
README.md

@ -77,7 +77,7 @@ print('#' * 50)
d = ops.video_decode.ffmpeg(start_time=10.0, end_time=20.0, sample_type='time_step_sample', args={'time_step': 1}) d = ops.video_decode.ffmpeg(start_time=10.0, end_time=20.0, sample_type='time_step_sample', args={'time_step': 1})
for frame in d(video_path): for frame in d(video_path):
print(frame) print(frame)
```
result: result:
VideoFrame shape: (360, 480, 3), mode: RGB, timestamp: 10010, key_frame: 1 VideoFrame shape: (360, 480, 3), mode: RGB, timestamp: 10010, key_frame: 1

Loading…
Cancel
Save