ComfyUI Node
BD MP Save Face Data
Save MediaPipe face mask data to disk (NPZ + JSON). Wire BD MP Face Mask outputs directly to matching inputs. Wire BD MP Face Refine masks to overwrite with SAM3-refined versions. Use context_id (from BD_SaveContext) for auto-path resolution. JSON sidecar has per-region bboxes readable from Blender Python.
BD MP Save Face Data
- face_oval
- skin
- left_eye
- right_eye
- eyes
- left_brow
- right_brow
- brows
- left_iris
- right_iris
- irises
- lips
- nose
- left_ear
- right_ear
- ears
- forehead
- hair
- head_mask
- masked_skin
- image
- npz_path
- json_path
- status
◄context_id►
◄output_dirmediapipe_data►
◄nameface►
◄auto_incrementtrue►
Category🧠BrainDead/Segmentation
Inputs (25)
| Name | Type | Default | Description |
|---|---|---|---|
| context_idopt | STRING | BD_SaveContext context_id. When wired/set, output_dir and name are ignored — the context template determines the full path. | |
| face_ovalopt | MASK | — | |
| skinopt | MASK | From BD MP Face Mask or BD MP Face Refine (SAM3-refined). | |
| left_eyeopt | MASK | — | |
| right_eyeopt | MASK | — | |
| eyesopt | MASK | — | |
| left_browopt | MASK | — | |
| right_browopt | MASK | — | |
| browsopt | MASK | — | |
| left_irisopt | MASK | — | |
| right_irisopt | MASK | — | |
| irisesopt | MASK | — | |
| lipsopt | MASK | — | |
| noseopt | MASK | — | |
| left_earopt | MASK | — | |
| right_earopt | MASK | — | |
| earsopt | MASK | — | |
| foreheadopt | MASK | — | |
| hairopt | MASK | — | |
| head_maskopt | MASK | External head silhouette (SAM3/BD MP Face Refine). | |
| masked_skinopt | MASK | Refined skin mask (BD MP Face Refine 'skin' output or custom). | |
| imageopt | IMAGE | Pre-resolution image for texture generation / Blender UV projection. | |
| output_diropt | STRING | mediapipe_data | Subdirectory under ComfyUI output/ (ignored when context_id is set). |
| nameopt | STRING | face | Base filename (ignored when context_id is set). |
| auto_incrementopt | BOOLEAN | true | Append _001, _002… to avoid overwriting. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| npz_path | STRING | — |
| json_path | STRING | — |
| status | STRING | — |