File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 226
226
"output_type": "stream",
227
227
"text": [
228
228
"\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/45.4 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.4/45.4 kB\u001b[0m \u001b[31m3.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
229
- "\u001b[?25h0.16 .0\n"
229
+ "\u001b[?25h0.17 .0\n"
230
230
]
231
231
}
232
232
],
803
803
"**NOTE:** During our demo, we will need some example videos."
804
804
]
805
805
},
806
+ {
807
+ "cell_type": "code",
808
+ "execution_count": null,
809
+ "metadata": {},
810
+ "outputs": [],
811
+ "source": [
812
+ "!pip install -q supervision[assets]"
813
+ ]
814
+ },
806
815
{
807
816
"cell_type": "code",
808
817
"execution_count": 63,
831
840
},
832
841
"outputs": [],
833
842
"source": [
834
- "%cd {HOME}/videos\n",
835
- "\n",
836
- "!wget --load-cookies /tmp/cookies.txt \"https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1pz68D1Gsx80MoPg-_q-IbEdESEmyVLm-' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id=1pz68D1Gsx80MoPg-_q-IbEdESEmyVLm-\" -O vehicle-counting.mp4 && rm -rf /tmp/cookies.txt"
843
+ "%cd {HOME}/videos"
837
844
]
838
845
},
839
846
{
844
851
},
845
852
"outputs": [],
846
853
"source": [
847
- "VIDEO_PATH = f\"{HOME}/videos/vehicle-counting.mp4\""
854
+ "from supervision.assets import download_assets, VideoAssets\n",
855
+ "download_assets(VideoAssets.VEHICLES)\n",
856
+ "VIDEO_PATH = f\"{HOME}/videos/vehicle.mp4\""
848
857
]
849
858
},
850
859
{
You can’t perform that action at this time.
0 commit comments