Depth_to_normal
Converts a depth image to a normal map. It works very well with 2D images and DepthAnything v2. depthmin : Depths lower than this value are replaced with 0. bluedepth : Adjusts the intensity of the blue channel of the normal map to emphasize depth. The lower this number, the stronger the depth. sobelratio : Makes the Normal map more stereoscopically accurate. Values between 0.1 and 0.3 are recommended. Captures an image from a specified window or screen. capturemode Default : Capture a defined area of the monitor window : Captures the area of the window entered in targetwindow windowcrop : Same as window, but cuts off and captures the area relative to that window. targetwindow : Name of the window to capture. You can find its name in the list of windows in the Webcam app. Load an image from a path. To use this node with webcam, you must first run run.bat in ComfyUI/customnodes/ComfyUItoyxyztestnodes/CaptureCam. And in the Webcam app, you'll need to select your webcam and run capture with start. Captures an image directly from the webcam selected with 'selectwebcam'. (Usually 0) This is unstable compared to the Load Webcam Image node. If you're using obs, I recommend using the Load Webcam Image node. This node saves the generated images to a defined folder path. Set name to choose the base file name. In the Save method, images are saved without overwriting existing files by appending a number such as comfyui000001.png. In Overwrite mode, an existing image with the same name is replaced. Connect the MASK output from ComfyUI's Load Image node to preserve transparency when sav…
ToyxyzTestNodes · 1 input · 4 parameters · 1 output