# HED Edge Detection (https://docs.fuser.studio/docs/nodes/image/hed-edge-detection)

_Provided by [Fal](https://fal.ai) — [Learn More](https://fal.ai/models/fal-ai/image-preprocessors/hed)._

## Inputs [#inputs]

- **Image** (`image`) — The image to detect edges from.

- **Safe Mode** (`toggle`) — Whether to use the safe version of the HED detector.

   Optional: `true` • Default: `false`

- **Scribble Mode** (`toggle`) — Whether to use the scribble version of the HED detector.

   Optional: `true` • Default: `false`

## Outputs [#outputs]

- **Edge Image** (`image`) — The image with edges detected using the HED detector.