主要用于评测面部迁移工具的或帮助我们选取面部迁移后相似度最高的有用节点。本文主要介绍两款插件:
- • 插件1: https://github.com/cubiq/ComfyUI_FaceAnalysis
- • 插件2: https://github.com/chflame163/ComfyUI_FaceSimilarity
大家根据安装的难易程度自行选择,也可以一并安装。建议在换脸的时候都加上,多生成记账,根据分数选择其中的图进行下一步操作。
FaceAnalysis 的安装与使用
插件的安装
cd comfyui/custom_nodes
git clone https://github.com/cubiq/ComfyUI_FaceAnalysis.git
依赖安装稍有复杂,在这里(https://github.com/z-mahmud22/Dlib_Windows_Python3.x)下载Windows的dlib预编译版本,根据自己Python版本来下载:
# 查询python版本依赖:
cd comfyui/python
.\python --version
下载后存放任意目录,然后使用pip命令进行安装:
cd comfyui/python
# 注意替换成你的存放目录
.\python -m pip install /path/to/dlib-19.22.99-cp310-cp310-win_amd64.whl
# 安装其他依赖
.\pyth