From e01230861351a7ec25673bbb9fb372b57e119a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3n=20Fishman?= Date: Mon, 6 Nov 2023 13:05:53 -0800 Subject: [PATCH] Add video link and update paths (#822) --- .../GPT_with_vision_for_video_understanding.ipynb | 4 ++-- {images => examples/data}/bison.mp4 | Bin 2 files changed, 2 insertions(+), 2 deletions(-) rename {images => examples/data}/bison.mp4 (100%) diff --git a/examples/GPT_with_vision_for_video_understanding.ipynb b/examples/GPT_with_vision_for_video_understanding.ipynb index 73ed16b..67cfffa 100644 --- a/examples/GPT_with_vision_for_video_understanding.ipynb +++ b/examples/GPT_with_vision_for_video_understanding.ipynb @@ -39,7 +39,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "First we use OpenCV to extract frames from a nature video containing bisons and wolves:\n" + "First we use OpenCV to extract frames from a nature [video](https://www.youtube.com/watch?v=kQ_7GtE529M) containing bisons and wolves:\n" ] }, { @@ -56,7 +56,7 @@ } ], "source": [ - "video = cv2.VideoCapture(\"bison.mp4\")\n", + "video = cv2.VideoCapture(\"data/bison.mp4\")\n", "\n", "base64Frames = []\n", "while video.isOpened():\n", diff --git a/images/bison.mp4 b/examples/data/bison.mp4 similarity index 100% rename from images/bison.mp4 rename to examples/data/bison.mp4