Giter VIP home page Giter VIP logo

comfyui_zfkun's Introduction

ComfyUI zfkun

Custom nodes pack for ComfyUI

ChangeLog

2024-01-21

  • update version to 0.0.8
  • add error tips for Share Screen node
  • Optimize some logic for Share Screen node

2024-01-06

  • update version to 0.0.7
  • add Clip Area support for Share Screen node
  • add Refresh Duration support for Share Screen node

2023-12-27

  • add Window Capture Simple Server (WIP)

2023-12-24

  • update version to 0.0.6
  • add Share Screen node

2023-12-17

  • update version to 0.0.5
  • fix translation error for alibaba platform
  • fix translator name typo for tencent platform

2023-12-17

  • update version to 0.0.4
  • update README
  • add Load Image Path node
  • add Camera Capture Simple server

2023-12-16

  • update version to 0.0.3

  • add niutrans platform for text translate node

2023-12-15

  • update version to 0.0.2

  • add auto converting encoding to utf-8 for config.yaml

  • add auto install requirements

2023-12-08

Installation

Using ComfyUI Manager (recommended)

Install ComfyUI Manager and do steps introduced there to install this repo.

Alternative

cd ComfyUI/custom_nodes/
git clone https://github.com/zfkun/ComfyUI_zfkun

# comfyui use system python
pip install -r requirements.txt

# if comfyui use venv
# path/to/ComfUI/venv/bin/python -s -m pip install -r requirements.txt

# restart ComfyUI

Server

Camera Capture Simple

a simple camera capture server.

mainly used with Load Image Path and LCM for real-time virtual live workflow

feature

  • custom capture source (0, 1, 2 ...)
  • custom output directory
  • custom output filename (* will be replaced by %Y%m%d_%H%M%S)

useage

the paths to ComfyUI and python need to be modified to suit for you.

in my case, ComfyUI in ./ComfyUI and python in ./ComfyUI/venv with venv

basic

# enter ComfyUI's home
cd ./ComfyUI

# active virtual environment for python
source ./venv/bin/activate

# enter server's home
cd ./custom_nodes/ComfyUI_zfkun/server

# start server with custom output directory
python camera_capture_simple.py -o ~/ai/sd/output_webcam

advanced

python camera_capture_simple.py -h

Nodes

Preview Text

support text、primitive (text) for input

Preview Text (Multiline)

support text、primitive (clip text) for input

Text Translation

support platforms:

  1. create config.yaml (copy from config.yaml.example, make sure file encoding is utf-8)
  2. update translator field, save
  3. restart ComfyUI

Load Image Path

  • support path (relativeabsolute~~user))
  • support url (httphttps)
  • support RGBA for output image
  • support default image for input

Share Screen

  • support window、tab、screen share
  • support multiple share node at the same time
  • support custom clip area
  • support custom refresh duration
  • support default image (RGBA support)
  • support weight and prompt

Examples

Preview Text

Preview Text (Multiline)

Text Translation

Load Image Path

Share Screen

Camera Capture Simple Server

Window Capture Simple Server (WIP)

comfyui_zfkun's People

Contributors

zfkun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar YvanKOB avatar Michael avatar Tiberiu Ichim avatar Dmitri Vasiliev avatar Sean Stevens avatar Alexander G. Morano avatar VALADI K JAGANATHAN avatar Marc Quentel avatar  avatar jiedao avatar Dr.Lt.Data avatar  avatar  avatar

Watchers

 avatar Kostas Georgiou avatar  avatar jiedao avatar

Forkers

haohaocreates

comfyui_zfkun's Issues

screen node no popup on operaGX

hi,
love your screen share node, i think its really cool. in fact I did a tutorial on using it :D https://youtu.be/DZ-n2izkYYI
Unfortunately I've just updated comfyUI and the popup no longer appears when clicking share screen button.
the clip area also appears not to function.

Fully up to date comfyUI running on operaGX

Checked on Firefox as working

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.