readme update

This commit is contained in:
13339479676 2022-01-08 10:07:42 +08:00
parent e0964f1763
commit c01e4b1303
1 changed files with 17 additions and 4 deletions

View File

@ -91,12 +91,15 @@ python opencv_webcam.py
#### :bulb: 摄像头选择
#### :bulb: 设备选择
```shell
# 多摄像头切换示例
# 多摄像头切换示例默认为0
python opencv_webcam.py -dev 0
python opencv_webcam.py -dev 1
python opencv_webcam.py -dev 2
# RTSP
python opencv_webcam.py -dev rtsp://username:password@xxx.xxx.xxx
```
@ -172,7 +175,7 @@ python opencv_webcam.py -ishsf -isrf -rrf 0.5
#### :bulb: 设置保存路径
#### :bulb: 自定义保存路径
```shell
# 设置保存路径,默认保存路径为./WebcamFrame
@ -181,7 +184,17 @@ python opencv_webcam.py -fsd custom_dir -isasf # 以自动版为例
#### :bulb: 设置帧名前缀
#### :bulb: 自定义帧目录名称
```shell
# 设置帧目录名称默认保存路径为frames
python opencv_webcam.py -fdn frames_custom -isasf # 以自动版为例
```
#### :bulb: 自定义帧名前缀
```shell
# 设置帧图片的前缀名称