toyxyz / ComfyUI_toyxyz_test_nodes

Custom node and script for sending webcam to ComfyUI
GNU General Public License v3.0
460 stars 29 forks source link

How to setup a virtual webcam ? :) #10

Closed tetsuoo-online closed 7 months ago

tetsuoo-online commented 7 months ago

I'm having a load of fun with this, I'm using a RTX 3060 and I find the generation fast enough even without TAESD VAE (in fact I'm getting the exact same speed so maybe I missed something again, but that's another topic). Now I'm trying to mimic a trick I saw on Twitter last week, using OBS Studio to setup a virtual camera connected to a different monitor running Photoshop or any drawing software... It should work but I guess I'm facing decoding issues of some sort ? Actually even when I stop the virtual cam in OBS I'm getting the same colored noise.

Of course with the right amount of denoise the AI will get inspired no matter you give it lol image

tetsuoo-online commented 7 months ago

ok answering my own question here x) Hopefully this might help others with the same concern. It works with Load Webcam instead, this is what I do :

So of course I end up with a Photoshop window showing everything not just the image, what I found is use Image Padding with negative numbers and zero feathering to crop the borders and it's all good :) image

toyxyz commented 7 months ago

I'm working on an update to make selecting a camera a little simpler! image