readme install method

This commit is contained in:
13339479676 2021-12-29 16:47:23 +08:00
parent 0614e67d95
commit 9011644ae7
3 changed files with 23 additions and 3 deletions

View File

@ -2,10 +2,29 @@
### :zap: 使用
### :zap: 安装教程
#### :white_check_mark: 方法一
```shell
# 创建conda虚拟环境以python 3.8为例
conda create -n ow python==3.8 # 虚拟环境名称为ow
conda activate ow # 激活虚拟环境
pip install -r ./requirements.txt -U # 安装OpenCV Webcam脚本
```
#### 方法二
```shell
```
### :zap: 使用教程
#### :bulb: 常规调用
```shell
@ -86,7 +105,7 @@ python opencv-webcam.py -ishsf -isrf -rrf 0.5
### :bulb: 设置保存路径
#### :bulb: 设置保存路径
```shell
# 设置保存路径,默认保存路径为./WebcamFrame

View File

@ -1,4 +1,4 @@
# OpenCV Webcam 脚本
# OpenCV Webcam Script v0.1
# 创建人:曾逸夫
# 创建时间2021-12-26

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
opencv-python