Nodes/ComfyUI-BrainDead/BD Face Feature Coords
ComfyUI Node

BD Face Feature Coords

Extract MediaPipe landmark coords for selected face features and emit them as SAM3_Detect-ready JSON. Toggle individual features. All enabled features are merged into one positive_coords payload for a single SAM3_Detect call. positive_coords → SAM3_Detect positive_coords (STRING) bbox_json → informational bounding box (STRING JSON)

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Face Feature Coords
  • landmarks_batch
  • positive_coords
  • bbox_json
  • status
frame_index0
left_eyefalse
right_eyefalse
left_browfalse
right_browfalse
left_irisfalse
right_irisfalse
lipsfalse
nosefalse
face_ovalfalse
contoursfalse
Category🧠BrainDead/FaceWrap

Inputs (12)

NameTypeDefaultDescription
landmarks_batchBD_LANDMARKS_BATCHLANDMARKS_BATCH from BD_FaceLandmarks.
frame_indexoptINT00–63Which frame in the batch to extract. 0 for single-image pipelines.
left_eyeoptBOOLEANfalse
right_eyeoptBOOLEANfalse
left_browoptBOOLEANfalse
right_browoptBOOLEANfalse
left_irisoptBOOLEANfalse
right_irisoptBOOLEANfalse
lipsoptBOOLEANfalse
noseoptBOOLEANfalse
face_ovaloptBOOLEANfalse
contoursoptBOOLEANfalse

Outputs (3)

NameTypeDescription
positive_coordsSTRINGJSON [{x,y},...] of all enabled feature landmarks. Wire to SAM3_Detect positive_coords.
bbox_jsonSTRINGTight bounding box as JSON {x,y,width,height} covering all enabled features.
statusSTRING