kijai / ComfyUI-LivePortraitKJ

ComfyUI nodes for LivePortrait
MIT License
1.67k stars 129 forks source link

Live feed from webcam #138

Open shahanhyperspace opened 2 months ago

shahanhyperspace commented 2 months ago

Is it possible to connect a webcam input in and generate the out at runtime? Rather than recording a video and uploading it.

kijai commented 2 months ago

Yes there's a realtime example included, it captures a part of your screen which can be anything, including a view from your webcam. There are nodes to capture webcam directly too, but every one I tried was too slow.

DenizYunus commented 4 weeks ago

Well, I'm new to ComfyUI, and I couldn't find a way to run the webcam example continuously. I just can press queue, and it generates 1 image based on current webcam frame. As a developer, I thought I could use sth like Loops but couldn't find that too. Tried some nodes like loopchain etc but couldn't make them work too

Update: I used Auto Queue, it works actually so no need to loop functionality.