comfyui-anime-seg

comfyui-anime-seg
★ 10

动漫角色分割掩码输出ONNX模型背景去除
基于isnetis.onnx的ComfyUI节点,用于对二次元人物进行精确分割,输出角色掩码,便于去背景或后期合成。
💡 连接图片输入,生成角色掩码用于去背景或合成。
🍴 2 Forks💻 Python🔄 2024-05-22
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/6862a2001521
📦 requirements.txt
opencv-python
onnxruntime
onnx
numpy
Pillow
📄 README

comfyui-anime-seg

A Anime Character Segmentation node for comfyui, based on this hf space and forked from abg-comfyui

Installation

  • git clone this repo to the custom_nodes directory
  • git clone https://github.com/LyazS/comfyui-anime-seg.git

  • Download dependencys on requirements.txt on comfyui
  • pip install -r requirements.txt

  • Download the isnetis.onnx model from here, and put it in the custom_nodes/comfyui-anime-seg/model directory.
  • Usage

    Create a “mask/Anime Character Seg” node, and connect the images to input, and it would segment the anime character and output the masks.