Visit ComfyUI Online for ready-to-use ComfyUI environment
Capture webcam images for AI art projects, enabling real-time visual integration and manipulation.
The LoadWebcamImage
node is designed to capture images directly from your webcam, providing a seamless way to integrate real-time visual data into your AI art projects. This node is particularly useful for artists who want to incorporate live footage or snapshots into their creative workflows. By leveraging this node, you can easily capture high-quality images from your webcam, which can then be processed or manipulated using various AI techniques. The node ensures that the captured images are instantly available for further use, making it a valuable tool for dynamic and interactive art creation.
This parameter specifies the source of the image, which in this case is the webcam. It is a required parameter and does not have additional options or settings.
This parameter defines the width of the captured image. It accepts integer values with a default of 0, a minimum of 0, and a maximum defined by MAX_RESOLUTION
. Setting this parameter allows you to control the horizontal resolution of the captured image, ensuring it fits your specific requirements.
This parameter sets the height of the captured image. Similar to the width parameter, it accepts integer values with a default of 0, a minimum of 0, and a maximum defined by MAX_RESOLUTION
. Adjusting this parameter helps you manage the vertical resolution of the image, tailoring it to your project's needs.
This boolean parameter determines whether the image capture should be triggered automatically when the node is queued. It defaults to True
, meaning the capture will occur as soon as the node is processed. Setting it to False
would require manual intervention to trigger the capture.
The output of this node is an IMAGE
parameter, which contains the captured image from the webcam. This image is processed and converted into a format suitable for further manipulation or analysis within your AI art project. The output image is in RGB format and normalized to a float32 tensor, making it ready for immediate use in various AI models and pipelines.
width
and height
parameters to match the resolution requirements of your project, keeping in mind the maximum resolution supported by your webcam.capture_on_queue
parameter to control when the image capture occurs, which can be useful for synchronizing with other nodes or processes in your workflow.© Copyright 2024 RunComfy. All Rights Reserved.