readme update
This commit is contained in:
parent
4f08bca925
commit
dbf8d3f68e
12
README.md
12
README.md
|
@ -180,9 +180,9 @@ python opencv_webcam.py --help
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
usage: opencv_webcam.py [-h] [--device DEVICE] [--quit QUIT] [--is_autoSaveFrame] [--is_headSaveFrame] [--is_resizeFrame] [--frame_saveDir FRAME_SAVEDIR] [--frame_nSave FRAME_NSAVE]
|
usage: opencv_webcam.py [-h] [--device DEVICE] [--quit QUIT] [--is_autoSaveFrame] [--is_handSaveFrame] [--is_resizeFrame] [--frame_saveDir FRAME_SAVEDIR] [--frame_nSave FRAME_NSAVE]
|
||||||
[--frame_capKey FRAME_CAPKEY] [--resize_frame RESIZE_FRAME [RESIZE_FRAME ...]] [--resizeRatio_frame RESIZERATIO_FRAME] [--frame_namePrefix FRAME_NAMEPREFIX]
|
[--frame_capKey FRAME_CAPKEY] [--resize_frame RESIZE_FRAME [RESIZE_FRAME ...]] [--resizeRatio_frame RESIZERATIO_FRAME] [--frame_namePrefix FRAME_NAMEPREFIX]
|
||||||
[--frame_saveStyle FRAME_SAVESTYLE] [--jpg_quality JPG_QUALITY] [--png_quality PNG_QUALITY]
|
[--frame_saveStyle FRAME_SAVESTYLE] [--jpg_quality JPG_QUALITY] [--png_quality PNG_QUALITY] [--pause PAUSE]
|
||||||
|
|
||||||
OpenCV Webcam Script
|
OpenCV Webcam Script
|
||||||
|
|
||||||
|
@ -193,8 +193,8 @@ optional arguments:
|
||||||
--quit QUIT, -q QUIT quit key for webcam
|
--quit QUIT, -q QUIT quit key for webcam
|
||||||
--is_autoSaveFrame, -isasf
|
--is_autoSaveFrame, -isasf
|
||||||
is auto save frame
|
is auto save frame
|
||||||
--is_headSaveFrame, -ishsf
|
--is_handSaveFrame, -ishsf
|
||||||
is head save frame
|
is hand save frame
|
||||||
--is_resizeFrame, -isrf
|
--is_resizeFrame, -isrf
|
||||||
is resize frame
|
is resize frame
|
||||||
--frame_saveDir FRAME_SAVEDIR, -fsd FRAME_SAVEDIR
|
--frame_saveDir FRAME_SAVEDIR, -fsd FRAME_SAVEDIR
|
||||||
|
@ -202,7 +202,7 @@ optional arguments:
|
||||||
--frame_nSave FRAME_NSAVE, -fns FRAME_NSAVE
|
--frame_nSave FRAME_NSAVE, -fns FRAME_NSAVE
|
||||||
n frames save a frame (auto save frame)
|
n frames save a frame (auto save frame)
|
||||||
--frame_capKey FRAME_CAPKEY, -fck FRAME_CAPKEY
|
--frame_capKey FRAME_CAPKEY, -fck FRAME_CAPKEY
|
||||||
frame capture key (head save frame)
|
frame capture key (hand save frame)
|
||||||
--resize_frame RESIZE_FRAME [RESIZE_FRAME ...], -rf RESIZE_FRAME [RESIZE_FRAME ...]
|
--resize_frame RESIZE_FRAME [RESIZE_FRAME ...], -rf RESIZE_FRAME [RESIZE_FRAME ...]
|
||||||
resize frame save
|
resize frame save
|
||||||
--resizeRatio_frame RESIZERATIO_FRAME, -rrf RESIZERATIO_FRAME
|
--resizeRatio_frame RESIZERATIO_FRAME, -rrf RESIZERATIO_FRAME
|
||||||
|
@ -215,5 +215,7 @@ optional arguments:
|
||||||
frame save jpg quality (0-100) default 95
|
frame save jpg quality (0-100) default 95
|
||||||
--png_quality PNG_QUALITY, -pq PNG_QUALITY
|
--png_quality PNG_QUALITY, -pq PNG_QUALITY
|
||||||
frame save jpg quality (0-9) default 3
|
frame save jpg quality (0-9) default 3
|
||||||
|
--pause PAUSE, -p PAUSE
|
||||||
|
webcam pause
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import glob
|
import glob
|
||||||
import re
|
import re
|
||||||
import os
|
|
||||||
|
|
||||||
|
|
||||||
# 保存路径管理
|
# 保存路径管理
|
||||||
|
|
Loading…
Reference in New Issue