From da9085e29d187309b787571a207c5a1412f1ecc4 Mon Sep 17 00:00:00 2001 From: video-decode Date: Wed, 18 May 2022 17:59:53 +0800 Subject: [PATCH] update --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 45351d1..b2f8ee0 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ av ## How it works +```python 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}) @@ -60,7 +61,7 @@ Outputs(image=, TIMESTAMP=165 Outputs(image=, TIMESTAMP=17684) Outputs(image=, TIMESTAMP=18752) Outputs(image=, TIMESTAMP=19887) - +``` ## Reference