Color Detection
Overview
Color Detection node finds regions that match configured color rules and returns their outlines as detection contours.
Use this node to locate objects by color in scenes where the target has a consistent, distinguishable hue — for example colored caps on bottles, zone markings on a floor, or colored indicators on equipment. Pair it with downstream nodes such as Detection Count Zones or logic nodes that act on the contour data.
Input
Input Image
image requiredThe image frame to analyze. Connect this to a camera or upstream image output.
Color Thresholds
array requiredColor rules used to isolate target-colored regions. See Color Thresholds for configuration details.
Morphology
object requiredMorphological operations to clean the color mask before contour extraction. See Morphology for details.
Overlay Results
boolean requiredWhether to draw detection contours and filled regions on the output frame. See Overlay Results.
Overlay Alpha Mask
number requiredOpacity of the colored region overlays. See Overlay Alpha Mask.
Single Overlay Color
boolean requiredWhen enabled, all detected regions are filled with the same color defined by overlayHexColor instead of automatically assigned per-region colors.
Output
Overlay Image
imageOutput frame from the node. If overlays are enabled, detected color regions are filled and outlined.
Detected Count
integerNumber of color-matched regions detected in the current frame.
Detected Objects
arrayArray of region detection objects. Each object contains the contour boundary points and the bounding box of the region.
Binary Frame
imageBinary mask produced from the color threshold step. Useful for debugging threshold rules — white pixels are the regions that passed the color match.