Visit ComfyUI Online for ready-to-use ComfyUI environment
Powerful node for depth estimation using Marigold model, enhancing visual quality with user-friendly customization options.
NegiTools_DepthEstimationByMarigold is a powerful node designed to estimate depth from images using the Marigold model. This node leverages advanced machine learning techniques to generate depth maps, which can be used in various applications such as 3D rendering, augmented reality, and image enhancement. By converting 2D images into depth maps, it provides a new dimension of information that can significantly enhance the visual and functional quality of your projects. The node is designed to be user-friendly, allowing you to adjust parameters like inference passes, denoise steps, and depth exponent to fine-tune the output according to your needs. Whether you are looking to create more realistic scenes or add depth effects to your images, this node offers a robust solution.
This parameter accepts an image input that you want to process for depth estimation. The image should be in a compatible format that the node can read and process.
This parameter controls the number of inference passes the model will perform. More passes can lead to more accurate depth estimation but will take longer to process. The default value is 10, with a minimum of 1 and a maximum of 40.
This parameter determines the number of denoise steps applied during the depth estimation process. Higher values can result in cleaner depth maps but may increase processing time. The default value is 10, with a minimum of 1 and a maximum of 40.
This parameter sets the seed for random number generation, ensuring reproducibility of results. The default value is 0, and it can range from 0 to 0xffffffff.
This parameter allows you to choose the runtime environment for executing the depth estimation. Options include bare (recommended)
and venv (if "bare" doesn't work)
. The bare
option is recommended for most users, while venv
can be used if there are compatibility issues.
This parameter adjusts the exponent applied to the depth values, allowing you to control the contrast and intensity of the depth map. The default value is 1.0, with a range from 0.1 to 3.0, adjustable in steps of 0.1.
This boolean parameter allows you to invert the depth map, making closer objects appear farther and vice versa. The default value is False.
This output parameter provides the resulting depth map as an image. The depth map is a grayscale image where the intensity of each pixel represents the estimated depth. This output can be used in various applications such as 3D modeling, augmented reality, and image enhancement to add depth information to your projects.
infer_passes
parameter, but be aware that this will also increase processing time.denoise_steps
parameter to reduce noise in the depth map, especially if the input image is noisy.depth_exponent
to fine-tune the contrast and intensity of the depth map according to your specific needs.invert
parameter to correct it.runtime
parameter to venv
.© Copyright 2024 RunComfy. All Rights Reserved.