Face Detection
Overview

Face Detection node locates faces in an input image and returns bounding boxes, optional facial landmarks, and an overlay image.
Use this node to feed detected face regions into downstream nodes such as Face Recognition, blur/mosaic filters, or zone-based logic.
Input
Input Image
image requiredThe image frame to analyze. Connect this to an image output from an upstream camera or processing node.
Detection Model
string requiredFace detection backend to use.
Values:
ONNX_YUNET(default) — faster, recommended for most use cases.TFDNN— TensorFlow DNN-based detector; use whenONNX_YUNETdoes not produce satisfactory results on your hardware.
Confidence Threshold
numberMinimum confidence score to keep a detected face. See Confidence Threshold for tuning guidance.
Default: 0.9
NMS Threshold
numberNon-Maximum Suppression threshold for overlapping face boxes. See NMS Threshold for tuning guidance.
Default: 0.3
YuNet Top K
integerApplies only when Detection Model is ONNX_YUNET. Sets the maximum number of candidate face boxes to keep before NMS is applied. Lower values reduce computation at the cost of potentially missing distant or small faces.
Default: 5000
Overlay Results
boolean requiredWhether to draw face bounding boxes on the output frame. See Overlay Results.
Draw Landmarks
boolean requiredWhen enabled, draws the five facial landmark points (eye corners, nose tip, and mouth corners) on the overlay for each detected face.
Output
Overlay Image
imageOutput frame from the node. If overlays are enabled, face bounding boxes and optional landmarks are drawn on this frame.
Detected Count
integerNumber of faces detected in the current frame.
Detected Faces
arrayArray of face detection objects. Each object contains:
bboxarray: Bounding box[x, y, width, height]in image pixel coordinates.landmarksarray: Five landmark points[[x, y], ...]whenDraw Landmarksis enabled.confidencenumber: Detection confidence score.