Significantly improve video resolution/quality using ESPCN_x4 model
parent
a4c5f27412
commit
8123f94594
|
@ -198,7 +198,7 @@ options:
|
||||||
-s SOURCE_PATH, --source SOURCE_PATH select a source image
|
-s SOURCE_PATH, --source SOURCE_PATH select a source image
|
||||||
-t TARGET_PATH, --target TARGET_PATH select a target image or video
|
-t TARGET_PATH, --target TARGET_PATH select a target image or video
|
||||||
-o OUTPUT_PATH, --output OUTPUT_PATH select output file or directory
|
-o OUTPUT_PATH, --output OUTPUT_PATH select output file or directory
|
||||||
--frame-processor FRAME_PROCESSOR [FRAME_PROCESSOR ...] frame processors (choices: face_swapper, face_enhancer, ...)
|
--frame-processor FRAME_PROCESSOR [FRAME_PROCESSOR ...] frame processors (choices: face_swapper, face_enhancer, super_resolution...)
|
||||||
--keep-fps keep original fps
|
--keep-fps keep original fps
|
||||||
--keep-audio keep original audio
|
--keep-audio keep original audio
|
||||||
--keep-frames keep temporary frames
|
--keep-frames keep temporary frames
|
||||||
|
@ -212,6 +212,9 @@ options:
|
||||||
--max-memory MAX_MEMORY maximum amount of RAM in GB
|
--max-memory MAX_MEMORY maximum amount of RAM in GB
|
||||||
--execution-provider {cpu} [{cpu} ...] available execution provider (choices: cpu, ...)
|
--execution-provider {cpu} [{cpu} ...] available execution provider (choices: cpu, ...)
|
||||||
--execution-threads EXECUTION_THREADS number of execution threads
|
--execution-threads EXECUTION_THREADS number of execution threads
|
||||||
|
--enhancer-upscale-factor Sets the upscale factor for the enhancer. Only applies if `face_enhancer` is set as a frame-processor
|
||||||
|
--source-image-scaling-factor Set the upscale factor for source images. Only applies if `face_swapper` is set as a frame-processor
|
||||||
|
-r SCALE, --super-resolution-scale-factor SCALE Super resolution scale factor, choices are 2, 3, 4
|
||||||
-v, --version show program's version number and exit
|
-v, --version show program's version number and exit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
--extra-index-url https://download.pytorch.org/whl/cu118
|
--extra-index-url https://download.pytorch.org/whl/cu118
|
||||||
|
|
||||||
numpy>=1.23.5,<2
|
numpy>=1.23.5,<2
|
||||||
opencv-python==4.8.1.78
|
opencv-contrib-python==4.10.0.84
|
||||||
cv2_enumerate_cameras==1.1.15
|
cv2_enumerate_cameras==1.1.15
|
||||||
onnx==1.16.0
|
onnx==1.16.0
|
||||||
insightface==0.7.3
|
insightface==0.7.3
|
||||||
|
|
Loading…
Reference in New Issue