diff --git a/README.md b/README.md index afc91ef..bebd499 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,10 @@ import towhee towhee.glob('./archery.mp4') .video_decode.ffmpeg() .video_classification.pytorchvideo(model_name='slowfast_r50') - .to_list() + .show() ) ``` + *Write a same pipeline with explicit inputs/outputs name specifications:* @@ -43,10 +44,10 @@ import towhee .video_classification.pytorchvideo['frames', ('labels', 'scores', 'features')]( model_name='slowfast_r50') .select['labels', 'scores', 'features']() - .show() + .show(formatter={'path':'video_path'}) ) ``` - +
diff --git a/result1.png b/result1.png new file mode 100644 index 0000000..600b192 Binary files /dev/null and b/result1.png differ diff --git a/result2.png b/result2.png new file mode 100644 index 0000000..efadf2b Binary files /dev/null and b/result2.png differ