ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

[Feature request] Image preprocessors, e.g. HED, Canny edge, Depth

Open jamesWalker55 opened this issue 2 years ago • 5 comments

I would like to suggest implementing image pre-processors like HED edge detection or depth, these could process images loaded with the LoadImage node. This would be very useful for Controlnet workflows since it automates the generation of control images.

jamesWalker55 avatar Mar 17 '23 19:03 jamesWalker55

not sure if controlnet loader can suit your need? https://comfyanonymous.github.io/ComfyUI_examples/controlnet/controlnet_example.png

tzekeong avatar Mar 17 '23 21:03 tzekeong

someone made them as custom nodes: https://github.com/Fannovel16/comfy_controlnet_preprocessors

I think it would be awesome to have them already implemented though, as they pretty much go hand in hand with controlnets.

PladsElsker avatar Mar 17 '23 21:03 PladsElsker

I haven't done HED edge detection but I have depth and canny as stande-alone nodes, no installation steps, just extract and it installs what it needs: https://civitai.com/models/20793

Is HED any good? Honestly only used openpose, depth, and canny

WASasquatch avatar Mar 18 '23 07:03 WASasquatch

I added edge detection. It's "normal" whatever that is to PIL, and laplacian kernel.

WASasquatch avatar Mar 19 '23 09:03 WASasquatch

I haven't done HED edge detection but I have depth and canny as stande-alone nodes, no installation steps, just extract and it installs what it needs: https://civitai.com/models/20793

Is HED any good? Honestly only used openpose, depth, and canny

Any good? Hed is the best so far for consistency. I barely use other pp.

AbyszOne avatar Mar 26 '23 13:03 AbyszOne