From 6683d463e55eba1b2ebe59e800e55f83ddfa48b3 Mon Sep 17 00:00:00 2001 From: 13339479676 Date: Wed, 26 Jan 2022 21:05:08 +0800 Subject: [PATCH] jupyter update --- tutorial/ows_jupyter.ipynb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tutorial/ows_jupyter.ipynb b/tutorial/ows_jupyter.ipynb index 8e456ba..1df5b82 100644 --- a/tutorial/ows_jupyter.ipynb +++ b/tutorial/ows_jupyter.ipynb @@ -52,9 +52,11 @@ "# 首先手动创建虚拟环境\n", "# conda create -n ows python==3.8 # 虚拟环境名称为ows\n", "# conda activate ows # 激活虚拟环境\n", - "!git clone https://gitee.com/CV_Lab/opencv_webcam.git # 克隆\n", + "# 克隆\n", + "!git clone https://gitee.com/CV_Lab/opencv_webcam.git\n", "%cd opencv_webcam\n", - "%pip install -qr requirements.txt -U # 安装" + "# 安装\n", + "%pip install -qr requirements.txt -U" ] }, { @@ -162,7 +164,8 @@ "metadata": {}, "outputs": [], "source": [ - "!python opencv_webcam.py -q k # 设置k键退出" + "# 设置k键退出\n", + "!python opencv_webcam.py -q k" ] }, { @@ -182,8 +185,7 @@ }, "outputs": [], "source": [ - "# 视频帧自动保存\n", - "!python opencv_webcam.py -isasf" + "!python opencv_webcam.py -isasf # 视频帧自动保存" ] }, {