diff --git a/README.md b/README.md index c586e69..22f92c2 100644 --- a/README.md +++ b/README.md @@ -176,9 +176,10 @@ python opencv_webcam.py -fsd custom_dir -isasf # 以自动版为例 -#### :bulb: 设置帧名 +#### :bulb: 设置帧名前缀 ```shell +# 设置帧图片的前缀名称 python opencv_webcam.py -isasf -fnp webcam ``` @@ -187,7 +188,9 @@ python opencv_webcam.py -isasf -fnp webcam #### :bulb: 设置帧格式 ```shell +# 设置JPG质量为100,默认为95 python opencv_webcam.py -isasf -fss jpg -jq 100 +# 设置PNG质量为5,默认为3 python opencv_webcam.py -isasf -fss png -jq 5 ``` @@ -196,6 +199,7 @@ python opencv_webcam.py -isasf -fss png -jq 5 #### :bulb: 设置暂停键 ```shell +# 默认为p键 python opencv_webcam.py -p w ``` @@ -204,6 +208,7 @@ python opencv_webcam.py -p w #### :bulb: 设置保存帧数 ```shell +# 设置保存100帧 python opencv_webcam.py -isasf -afn 100 ``` @@ -214,6 +219,7 @@ python opencv_webcam.py -isasf -afn 100 #### :bulb: 指令查询 ```shell +# 查询脚本参数 python opencv_webcam.py --help ```