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
|
||||
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_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
|
||||
|
||||
|
@ -193,8 +193,8 @@ optional arguments:
|
|||
--quit QUIT, -q QUIT quit key for webcam
|
||||
--is_autoSaveFrame, -isasf
|
||||
is auto save frame
|
||||
--is_headSaveFrame, -ishsf
|
||||
is head save frame
|
||||
--is_handSaveFrame, -ishsf
|
||||
is hand save frame
|
||||
--is_resizeFrame, -isrf
|
||||
is resize frame
|
||||
--frame_saveDir FRAME_SAVEDIR, -fsd FRAME_SAVEDIR
|
||||
|
@ -202,7 +202,7 @@ optional arguments:
|
|||
--frame_nSave FRAME_NSAVE, -fns FRAME_NSAVE
|
||||
n frames save a frame (auto save frame)
|
||||
--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 save
|
||||
--resizeRatio_frame RESIZERATIO_FRAME, -rrf RESIZERATIO_FRAME
|
||||
|
@ -215,5 +215,7 @@ optional arguments:
|
|||
frame save jpg quality (0-100) default 95
|
||||
--png_quality PNG_QUALITY, -pq PNG_QUALITY
|
||||
frame save jpg quality (0-9) default 3
|
||||
--pause PAUSE, -p PAUSE
|
||||
webcam pause
|
||||
```
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from pathlib import Path
|
||||
import glob
|
||||
import re
|
||||
import os
|
||||
|
||||
|
||||
# 保存路径管理
|
||||
|
|
Loading…
Reference in New Issue