Update README_zh-CN.md
This commit is contained in:
+46
-45
@@ -6,43 +6,43 @@ English | [简体中文](./README_zh-CN.md)
|
||||
|
||||
## 安装
|
||||
|
||||
<span style="color: red;">注意:初次启动插件的时候会下载EasyPhoto所需要的所有模型,在terminal中可以看到下载进度,请不要中断下载,(为了启动速度,没有做hash校验),如果中断下载,需要手动删除上次下载一半的文件,重新下载。</span>
|
||||
<span style="color: red;">注意:初次启动插件的时候会下载EasyPhoto所需要的所有模型,在terminal中可以看到下载进度,请不要中断下载,(为了启动速度,没有做hash校验),如果中断下载,需要手动删除上次下载一半的文件,重新下载。</span>
|
||||
|
||||
1. 首先安装ComfyUI
|
||||
1. 首先安装ComfyUI
|
||||
|
||||
2. ComfyUI运行成功后进入`custom_nodes` 目录 `ComfyUI/custom_nodes/`
|
||||
2. ComfyUI运行成功后进入`custom_nodes` 目录 `ComfyUI/custom_nodes/`
|
||||
|
||||
```
|
||||
cd custom_nodes
|
||||
```
|
||||
```
|
||||
cd custom_nodes
|
||||
```
|
||||
|
||||
3. 克隆此项目到custom_nodes目录中
|
||||
3. 克隆此项目到custom_nodes目录中
|
||||
|
||||
```
|
||||
git clone https://github.com/THtianhao/ComfyUI-Portrait-Maker.git
|
||||
```
|
||||
```
|
||||
git clone https://github.com/THtianhao/ComfyUI-Portrait-Maker.git
|
||||
```
|
||||
|
||||
4. 重新启动ComfyUI
|
||||
4. 重新启动ComfyUI
|
||||
|
||||
|
||||
|
||||
## 依赖插件
|
||||
|
||||
[comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)
|
||||
[comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)
|
||||
|
||||
插件安装:同本插件安装方式进入到`custom_nodes` 然后执行
|
||||
插件安装:同本插件安装方式进入到`custom_nodes` 然后执行
|
||||
|
||||
```
|
||||
git clone https://github.com/Fannovel16/comfyui_controlnet_aux.git
|
||||
```
|
||||
```
|
||||
git clone https://github.com/Fannovel16/comfyui_controlnet_aux.git
|
||||
```
|
||||
|
||||
提示:次依赖是为了查看openpose的样式
|
||||
提示:次依赖是为了查看openpose的样式
|
||||
|
||||
## ComfyUI 工作流
|
||||
|
||||
Easyphoto工作位置: [./workflow/easyphoto.json](./workflows/easyphoto.json )
|
||||
Easyphoto工作位置: [./workflow/easyphoto.json](./workflows/easyphoto.json )
|
||||
|
||||
在comfyUI的右侧面板中点击Load,选择项目中的./workflow/easyphoto_workflow.json 文件
|
||||
在comfyUI的右侧面板中点击Load,选择项目中的./workflow/easyphoto_workflow.json 文件
|
||||
|
||||

|
||||
|
||||
@@ -50,59 +50,60 @@ English | [简体中文](./README_zh-CN.md)
|
||||
|
||||
## 节点介绍
|
||||
|
||||
* RetainFace PM:使用Model Scope中的pipleline `damo/cv_resnet50_face-detection_retinaface`处理图像
|
||||
* RetainFace PM:使用Model Scope中的pipleline `damo/cv_resnet50_face-detection_retinaface`处理图像
|
||||
* image:输入图像
|
||||
* multi_user_facecrop_ratio:提取头像区域的倍数
|
||||
* FaceFusion PM:使用Model Scope中的pipleline `damo/cv_unet-image-face-fusion_damo`将两张图像进行融合
|
||||
* FaceFusion PM:使用Model Scope中的pipleline `damo/cv_unet-image-face-fusion_damo`将两张图像进行融合
|
||||
* image:输入图像
|
||||
* user_image:要融合的头像
|
||||
* RatioMerge2Image PM: 按照比例融合两张图片
|
||||
* RatioMerge2Image PM: 按照比例融合两张图片
|
||||
* image1:输入的图像
|
||||
* Image2:输入的图像
|
||||
* fusion_rate: 融合比例,最大为1,越大越偏向image1
|
||||
* MaskMerge2Image PM: 利用Mask将图片进行融合
|
||||
* MaskMerge2Image PM: 利用Mask将图片进行融合
|
||||
* image1:输入的图像
|
||||
* image2:输入的图像
|
||||
* mask:需要替换的mask
|
||||
* ReplaceBoxImg PM: 替换box区域中的图片
|
||||
* ReplaceBoxImg PM: 替换box区域中的图片
|
||||
* origin_image: 原始图像
|
||||
* box_area:区域
|
||||
* replace_image:区域中要替换的图像(box_area和replace_image的分辨率要保持一致)
|
||||
* ExpandMaskFaceWidth PM: 对Mask的宽度进行比例扩张
|
||||
* replace_image:区域中要替换的图像(box_area和replace_image的分辨率要保持一致)
|
||||
* ExpandMaskFaceWidth PM: 对Mask的宽度进行比例扩张
|
||||
* mask:输入的Mask
|
||||
* box:mask对应的box
|
||||
* expand_width:宽度扩张的比例,根据box的宽度扩张
|
||||
* BoxCropImage PM:利用box对图片进行裁剪
|
||||
* ColorTransfer PM:对图片进行颜色迁移
|
||||
* FaceSkin PM:提取图片中人脸的部分的Mask
|
||||
* MaskDilateErode PM: 对Mask进行膨胀与腐蚀
|
||||
* SkinRetouching PM:使用Model Scope中的pipleline `damo/cv_gpen_image-portrait-enhancement`处理图像
|
||||
* PortraitEnhancement PM:使用Model Scope中的pipleline `damo/cv_gpen_image-portrait-enhancement`处理图像
|
||||
* ImageResizeTarget PM:将图片缩放到目标宽高
|
||||
* ImageScaleShort PM: 将图片的宽高中小的部分缩减到
|
||||
* BoxCropImage PM:利用box对图片进行裁剪
|
||||
* ColorTransfer PM:对图片进行颜色迁移
|
||||
* FaceSkin PM:提取图片中人脸的部分的Mask
|
||||
* MaskDilateErode PM: 对Mask进行膨胀与腐蚀
|
||||
* SkinRetouching PM:使用Model Scope中的pipleline `damo/cv_gpen_image-portrait-enhancement`处理图像
|
||||
* PortraitEnhancement PM:使用Model Scope中的pipleline `damo/cv_gpen_image-portrait-enhancement`处理图像
|
||||
* ImageResizeTarget PM:将图片缩放到目标宽高
|
||||
* ImageScaleShort PM: 将图片的宽高中小的部分缩减到
|
||||
* image:输入图像
|
||||
* size:要缩放的长度(按照宽高中最短的一边进行比例缩放)
|
||||
* crop_face:缩放后宽高要以32为倍数
|
||||
* GetImageInfo PM: 提取图片的宽高
|
||||
* GetImageInfo PM: 提取图片的宽高
|
||||
|
||||
## 贡献
|
||||
|
||||
如果你发现任何问题或有改进建议,欢迎贡献。请遵循以下步骤:
|
||||
如果你发现任何问题或有改进建议,欢迎贡献。请遵循以下步骤:
|
||||
|
||||
1. 分支出一个新的特性分支:`git checkout -b feature/your-feature-name`
|
||||
2. 进行修改并提交:`git commit -m "Add new feature"`
|
||||
3. 推送到你的远程分支:`git push origin feature/your-feature-name`
|
||||
4. 创建一个 Pull 请求(PR)。
|
||||
1. 分支出一个新的特性分支:`git checkout -b feature/your-feature-name`
|
||||
2. 进行修改并提交:`git commit -m "Add new feature"`
|
||||
3. 推送到你的远程分支:`git push origin feature/your-feature-name`
|
||||
4. 创建一个 Pull 请求(PR)。
|
||||
|
||||
## 许可证
|
||||
|
||||
该项目采用 MIT 许可证。查看 [LICENSE](LICENSE) 文件以获取详细信息。
|
||||
该项目采用 MIT 许可证。查看 [LICENSE](LICENSE) 文件以获取详细信息。
|
||||
|
||||
## 联系
|
||||
|
||||
如果你有任何疑问或建议,可以通过以下方式联系我们:
|
||||
如果你有任何疑问或建议,可以通过以下方式联系我们:
|
||||
|
||||
- 电子邮件:tototianhao@gmail.com
|
||||
- QQ 群:10419777
|
||||
- 电子邮件:tototianhao@gmail.com
|
||||
- QQ 群:10419777
|
||||
- 微信群:[](./images/wechat.jpg)
|
||||
|
||||
欢迎加入我们,为 EasyPhoto ConfyUI Plugin 的发展做出贡献!
|
||||
欢迎加入我们,为 EasyPhoto ConfyUI Plugin 的发展做出贡献!
|
||||
|
||||
Reference in New Issue
Block a user