HivisionIDPhotos-ComfyUI
a custom node for a/HivisionIDPhotos
Nodes (7)
Slap the right color behind your ID photo without touching the face
Stamp an image or text mark, positioned and styled
The boring node the whole pack is wired around
Turn one ID photo into a printable sheet of them
Turn a selfie into a compliant ID photo in one pass
The node that stops your ID photo from being rejected for being 2MB
Same params node, Chinese menu
HivisionIDPhotos-ComfyUI
a custom node for HivisionIDPhotos, you can find 证件照_workflow,or id_photo_workflow

Example
| 输入 | 抠图 | 换背景 | 加水印 | 排版 |
| -- | -- | -- | -- | -- |
|
source |
|
|
|
|
教程
🤩 最近更新
- 2024.09.16 增加人脸旋转对齐/调整亮度、对比度、锐度功能
- 2024.09.14 增加自定义DPI功能
- 2024.09.13 增加美白功能
weights
存到项目的ComfyUI/custom_nodes/HivisionIDPhotos-ComfyUI/hivision/creator/weights目录下:
-
modnet_photographic_portrait_matting.onnx(24.7MB): MODNet官方权重,下载 -
hivision_modnet.onnx(24.7MB): 对纯色换底适配性更好的抠图模型,下载 -
rmbg-1.4.onnx(176.2MB): BRIA AI 开源的抠图模型,下载后重命名为rmbg-1.4.onnx -
birefnet-v1-lite.onnx(224MB): ZhengPeng7 开源的抠图模型,下载后重命名为birefnet-v1-lite.onnx -
RetinaFace | 离线人脸检测模型,CPU推理速度中等(秒级),精度较高| 下载后放到
hivision/creator/retinaface/weights目录下