|
本帖最后由 哨箭勇度 于 2023-11-23 04:26 编辑
● 单图换脸ROOP1.3解压即用N卡整合版_230726
基于开源项目ROOP
开源地址:https://github.com/s0md3v/roop
配套VS地址:https://visualstudio.microsoft.com/zh-hans/
CUDA下载:https://developer.nvidia.com/cuda-11-8-0-download-archive
整合版资源发布地址:https://www.ooai8.com/forum-83-1.html (新版在此更新)
作者主页地址:https://space.bilibili.com/2024652747
学习交流群Q:42940310
● ROOP1.3更新内容:
* Check frames before processing
* Enhance on bbox by factor 1.5
* Introduce ARGS for temporary frames
* Improve README
* Improve README
* Bump version
* Rework on ffmpeg encoders and quality ranges
* Rework on ffmpeg encoders and quality ranges
* Update README
* Fix range in CLI
* Update gui demo
翻译:
处理前检查框架
使用factor 1.5增强处理边框
*为临时框架引入ARGS
*改进自述
*改进自述
*凹凸版本
*对ffmpeg编码器和质量范围进行返工
*对ffmpeg编码器和质量范围进行返工
*更新自述文件
*在CLI中修复范围
*更新gui演示
● 命令
options:
-h, --help show this help message and exit
-s SOURCE_PATH, --source SOURCE_PATH select an source image
-t TARGET_PATH, --target TARGET_PATH select an target image or video
-o OUTPUT_PATH, --output OUTPUT_PATH select output file or directory
--frame-processor FRAME_PROCESSOR [FRAME_PROCESSOR ...] frame processors (choices: face_swapper, face_enhancer, ...)
--keep-fps keep target fps
--keep-frames keep temporary frames
--skip-audio skip target audio
--many-faces process every face
--reference-face-position REFERENCE_FACE_POSITION position of the reference face
--reference-frame-number REFERENCE_FRAME_NUMBER number of the reference frame
--similar-face-distance SIMILAR_FACE_DISTANCE face distance used for recognition
--temp-frame-format {jpg,png} image format used for frame extraction
--temp-frame-quality [0-100] image quality used for frame extraction
--output-video-encoder {libx264,libx265,libvpx-vp9,h264_nvenc,hevc_nvenc} encoder used for the output video
--output-video-quality [0-100] quality used for the output video
--max-memory MAX_MEMORY maximum amount of RAM in GB
--execution-provider {cpu} [{cpu} ...] available execution provider (choices: cpu, ...)
--execution-threads EXECUTION_THREADS number of execution threads
-v, --version show program's version number and exit
● 整合内容:
免训练 (一张图换脸)
免安装 (解压即用)
免GIT(GIT作用是下载项目)
免项目文件(已整合下载)
免XX(已整合下载)
免VS(VS负责编译,过程已整合)
免PYTHON(已整合到项目目录)
免环境变量(启动脚本已设置好)
免CUDA(已整合)
免CUDNN(已整合)
免限制(NSFW不良资源限制已解除)
● 运行脚本:
requirements.bat 更新依赖(非懂勿用)
run-cpu.bat 不使用显卡
run-cuda.bat 使用N卡
run-enhancer.bat 增强模式,生成高清图片或视频
run-swapper-enhancer.bat 一次操作高清换脸
● 线程参数说明:
--execution-threads 1
后边的数字越大,要求你的配置越高,如果你的显卡较差建议选择1
● 常见错误:
大多数情况下可用以下命令解决OpenCV错误:
pip uninstall opencv-python opencv-python-headless
pip install opencv-python
● 报错问答:
有问题请反映到:https://www.ooai8.com/forum-83-1.html
常见问题我会在B站做视频解答
资源下载:
解压密码:www.ooai8.com
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|