Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aifsh/hivisionidphotos-comfyui
https://github.com/aifsh/hivisionidphotos-comfyui
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aifsh/hivisionidphotos-comfyui
- Owner: AIFSH
- License: apache-2.0
- Created: 2024-09-07T11:58:08.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T14:16:06.000Z (4 months ago)
- Last Synced: 2025-01-01T12:08:10.411Z (10 days ago)
- Language: Python
- Size: 8.27 MB
- Stars: 100
- Watchers: 2
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HivisionIDPhotos-ComfyUI
a custom node for [HivisionIDPhotos](https://github.com/Zeyi-Lin/HivisionIDPhotos), you can find [证件照_workflow](./doc/证件照_workflow.json),or [id_photo_workflow](./doc/idphoto_workflow.json)![comfyui demo](doc/web.png)
## Example
| 输入 | 抠图 | 换背景 | 加水印 | 排版 |
| -- | -- | -- | -- | -- |
| ![](./doc/demo.jpg) [source](https://www.liblib.art/imageinfo/b7cb6b18b2af4c37be8607b648b52979) | ![](./doc/ComfyUI_temp_movvp_00002_.png) ![](./doc/ComfyUI_temp_igzmq_00002_.png) | ![](./doc/ComfyUI_temp_byppo_00004_.png) | ![](./doc/ComfyUI_temp_yhlxo_00002_.png)|![](./doc/ComfyUI_temp_jeppc_00005_.png) |## 教程
- [Demo](https://www.bilibili.com/video/BV1iFpvegEY3/)
- [一键包](https://pan.quark.cn/s/b8422210f61a)# 🤩 最近更新
- 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](https://github.com/ZHKKKe/MODNet)官方权重,[下载](https://github.com/Zeyi-Lin/HivisionIDPhotos/releases/download/pretrained-model/modnet_photographic_portrait_matting.onnx)
- `hivision_modnet.onnx` (24.7MB): 对纯色换底适配性更好的抠图模型,[下载](https://github.com/Zeyi-Lin/HivisionIDPhotos/releases/download/pretrained-model/hivision_modnet.onnx)
- `rmbg-1.4.onnx` (176.2MB): [BRIA AI](https://huggingface.co/briaai/RMBG-1.4) 开源的抠图模型,[下载](https://huggingface.co/briaai/RMBG-1.4/resolve/main/onnx/model.onnx?download=true)后重命名为`rmbg-1.4.onnx`
- `birefnet-v1-lite.onnx`(224MB): [ZhengPeng7](https://github.com/ZhengPeng7/BiRefNet) 开源的抠图模型,[下载](https://github.com/ZhengPeng7/BiRefNet/releases/download/v1/BiRefNet-general-bb_swin_v1_tiny-epoch_232.onnx)后重命名为`birefnet-v1-lite.onnx`- RetinaFace | **离线**人脸检测模型,CPU推理速度中等(秒级),精度较高| [下载](https://github.com/Zeyi-Lin/HivisionIDPhotos/releases/download/pretrained-model/retinaface-resnet50.onnx)后放到`hivision/creator/retinaface/weights`目录下