|
|
|
@ -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",
|
|
|
|
|