Coder Social home page Coder Social logo

ameasure / comfyui-birefnet-zho Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zho-zho-zho/comfyui-birefnet-zho

0.0 0.0 0.0 97 KB

Better version for BiRefNet in ComfyUI | Both img & video

License: GNU General Public License v3.0

Python 100.00%

comfyui-birefnet-zho's Introduction

BRF

ComfyUI-BiRefNet-ZHO

Better version for BiRefNet in ComfyUI | Both img & video

Dingtalk_20240401154248

项目介绍 | Info

  • BiRefNet 的非官方实现

  • viperyl/ComfyUI-BiRefNet 插件区别:

    • 原版插件:只能简单输出蒙版,不方便用,也不能处理视频

    • 新版插件:

      1)模型加载和图像处理相分离,提升速度(和我之前做的 BRIA RMBG in ComfyUI 插件一致)

      2)可以直接输出透明背景的 PNG 图

      3)可以直接抠视频

  • BiRefNet 模型:目前最好的开源可商用背景抠除模型

  • 版本:V1.0 同时支持 图像和视频 处理

视频演示

BiRefNet.mp4

安装 | Install

  • 所需依赖:timm,如已安装无需运行 requirements.txt,只需 git 项目即可

  • 推荐使用管理器 ComfyUI Manager 安装(On the Way)

  • 手动安装:

    1. cd custom_nodes
    2. git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-BiRefNet-ZHO.git
    3. cd custom_nodes/ComfyUI-BiRefNet-ZHO
    4. pip install -r requirements.txt
    5. 重启 ComfyUI

使用说明 | How to Use

  • BiRefNet 中的 6 个模型均下载至./models/BiRefNet

  • 节点:

    Dingtalk_20240331031811

    • 🧹BiRefNet Model Loader:自动加载 BiRefNet 模型
    • 🧹BiRefNet:去除背景

更新日志

  • 20240401

    V1.0 同时支持 图像和视频 处理(支持批量处理)、支持输出 mask 功能

    创建项目

Stars

Star History Chart

关于我 | About me

📬 联系我

🔗 社交媒体

💡 支持我

Credits

BiRefNet

代码参考了 viperyl/ComfyUI-BiRefNet 感谢!

comfyui-birefnet-zho's People

Contributors

zho-zho-zho avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.