Nodes/TJ_ComfyUI_Lineart2Vector/Line Region Detector
ComfyUI Node

Line Region Detector

A ComfyUI node in TJ_Vector with 9 inputs and 4 outputs.

By TJ16th·Created 9 months ago·Updated 9 months ago· 2
Line Region Detector
  • image
  • line_mask
  • fill_mask
  • preview_image
  • color_info
background_mode
background_threshold240
line_detection_method
min_line_width1
max_line_width50
fill_handling
color_clusteringfalse
num_colors5
CategoryTJ_Vector

Inputs (9)

NameTypeDefaultDescription
imageIMAGE
background_modeCOMBO3 options: auto, white, black
background_thresholdINT2400–255
line_detection_methodCOMBO3 options: edge, morphology, hybrid
min_line_widthINT11–100
max_line_widthINT501–500
fill_handlingCOMBO3 options: ignore, separate, include
color_clusteringoptBOOLEANfalse
num_colorsoptINT52–20

Outputs (4)

NameTypeDescription
line_maskMASK
fill_maskMASK
preview_imageIMAGE
color_infoSTRING