From cd9b9a8ab87a6f847cd3e5a5cda975707d92c83a Mon Sep 17 00:00:00 2001 From: lazniak <37815923+lazniak@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:31:54 +0200 Subject: [PATCH] Add Head Orientation Node for ComfyUI to custom node list (#1030) This pull request adds the Head Orientation Node for ComfyUI to the custom node list. Key features of the Head Orientation Node: - Analyzes and sorts images based on facial orientation using MediaPipe - Detects facial landmarks and calculates head pose (pitch, yaw, roll) - Supports batch processing of multiple images - Enhances AI image processing workflows with intelligent image sorting Technical details: - Implemented in Python using MediaPipe, OpenCV, and NumPy - Compatible with existing ComfyUI infrastructure - Thoroughly tested for accuracy and performance This node fills a gap in the current ComfyUI ecosystem by providing advanced facial analysis capabilities, which can be particularly useful for tasks like: - Automated portrait retouching - Dataset preparation for facial recognition models - Creating consistent facial animations The code follows best practices for Python development and adheres to the Apache 2.0 license, ensuring compatibility with ComfyUI and its extensions. I've thoroughly tested this node and believe it will be a valuable addition to the ComfyUI toolkit. I'm open to any feedback or suggestions for improvement. Thank you for considering this contribution to the ComfyUI-Manager repository. --- custom-node-list.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/custom-node-list.json b/custom-node-list.json index 52f806e0..6f0cfc56 100644 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -14440,6 +14440,17 @@ ], "install_type": "unzip", "description": "This is a node to convert an image into a CMYK Halftone dot image." + }, + { + "author": "PabloGFX", + "title": "Head Orientation Node", + "id": "head-orientation-node", + "reference": "https://github.com/lazniak/Head-Orientation-Node-for-ComfyUI---by-PabloGFX", + "files": [ + "https://github.com/lazniak/Head-Orientation-Node-for-ComfyUI---by-PabloGFX" + ], + "install_type": "git-clone", + "description": "A custom node for ComfyUI that analyzes and sorts images based on head orientation using MediaPipe. It detects facial landmarks, calculates head pose, and intelligently sorts images for enhanced AI image processing workflows." } ] }