diff --git a/README.md b/README.md index 92d2a94..98b4f49 100644 --- a/README.md +++ b/README.md @@ -1,47 +1,49 @@ # ComfyUI-FaceKeypointsFilter -A ComfyUI custom node for selectively filtering face keypoints from DWPose/OpenPose output. +DWPose/OpenPose の出力から顔のキーポイントを選択的にフィルタリングする ComfyUI カスタムノードです。 -## Description +[English](README_EN.md) -This node allows you to disable specific facial parts (jaw, eyebrows, eyes, nose, outer mouth, inner mouth) from OpenPose 68-point face keypoints. This is useful when you want to preserve certain facial features while ignoring others in your ControlNet workflow. +## 概要 -## Installation +OpenPose の 68点顔キーポイントから、特定の顔パーツ(あご・眉・目・鼻・口外周・口内周)を無効化できるノードです。ControlNet ワークフローで特定の顔の特徴を保持しながら、他の部分を無視したい場合に便利です。 -### Using ComfyUI Manager (Recommended) +## インストール -Search for "FaceKeypointsFilter" in ComfyUI Manager and install. +### ComfyUI Manager を使用(推奨) -### Manual Installation +ComfyUI Manager で「FaceKeypointsFilter」を検索してインストール。 -1. Navigate to your ComfyUI's `custom_nodes` folder -2. Clone this repository: +### 手動インストール + +1. ComfyUI の `custom_nodes` フォルダに移動 +2. このリポジトリをクローン: ```bash git clone https://github.com/smartvain/ComfyUI-FaceKeypointsFilter.git ``` -3. Restart ComfyUI +3. ComfyUI を再起動 -## Usage +## 使い方 -1. Connect the output of DWPose Preprocessor (or any node that outputs `POSE_KEYPOINT`) to this node -2. Enable the facial parts you want to **remove** (disable): - - `remove_jaw`: Jaw contour (points 0-16) - - `remove_eyebrows`: Eyebrows (points 17-26) - - `remove_eyes`: Eyes (points 36-47) - - `remove_nose`: Nose (points 27-35) - - `remove_mouth_outer`: Outer lip contour (points 48-59) - - `remove_mouth_inner`: Inner mouth (points 60-67) -3. Connect the output to your ControlNet Apply node +1. DWPose Preprocessor(または `POSE_KEYPOINT` を出力するノード)の出力をこのノードに接続 +2. **削除(無効化)したい**顔パーツを有効にする: + - `remove_jaw`: あご輪郭(ポイント 0-16) + - `remove_eyebrows`: 眉(ポイント 17-26) + - `remove_eyes`: 目(ポイント 36-47) + - `remove_nose`: 鼻(ポイント 27-35) + - `remove_mouth_outer`: 口の外周(ポイント 48-59) + - `remove_mouth_inner`: 口の内周(ポイント 60-67) +3. 出力を ControlNet Apply ノードに接続 -## Node Location +## ノードの場所 `Pose/Face Utils` > `Face Keypoints Filter (OpenPose)` -## Compatibility +## 互換性 -- Works with DWPose Preprocessor from `comfyui_controlnet_aux` -- Compatible with OpenPose JSON format (version 1.3) +- `comfyui_controlnet_aux` の DWPose Preprocessor と連携 +- OpenPose JSON フォーマット(バージョン 1.3)に対応 -## License +## ライセンス MIT License diff --git a/README_EN.md b/README_EN.md new file mode 100644 index 0000000..9e527d4 --- /dev/null +++ b/README_EN.md @@ -0,0 +1,49 @@ +# ComfyUI-FaceKeypointsFilter + +A ComfyUI custom node for selectively filtering face keypoints from DWPose/OpenPose output. + +[日本語](README.md) + +## Description + +This node allows you to disable specific facial parts (jaw, eyebrows, eyes, nose, outer mouth, inner mouth) from OpenPose 68-point face keypoints. This is useful when you want to preserve certain facial features while ignoring others in your ControlNet workflow. + +## Installation + +### Using ComfyUI Manager (Recommended) + +Search for "FaceKeypointsFilter" in ComfyUI Manager and install. + +### Manual Installation + +1. Navigate to your ComfyUI's `custom_nodes` folder +2. Clone this repository: + ```bash + git clone https://github.com/smartvain/ComfyUI-FaceKeypointsFilter.git + ``` +3. Restart ComfyUI + +## Usage + +1. Connect the output of DWPose Preprocessor (or any node that outputs `POSE_KEYPOINT`) to this node +2. Enable the facial parts you want to **remove** (disable): + - `remove_jaw`: Jaw contour (points 0-16) + - `remove_eyebrows`: Eyebrows (points 17-26) + - `remove_eyes`: Eyes (points 36-47) + - `remove_nose`: Nose (points 27-35) + - `remove_mouth_outer`: Outer lip contour (points 48-59) + - `remove_mouth_inner`: Inner mouth (points 60-67) +3. Connect the output to your ControlNet Apply node + +## Node Location + +`Pose/Face Utils` > `Face Keypoints Filter (OpenPose)` + +## Compatibility + +- Works with DWPose Preprocessor from `comfyui_controlnet_aux` +- Compatible with OpenPose JSON format (version 1.3) + +## License + +MIT License diff --git a/tmpclaude-59ec-cwd b/tmpclaude-59ec-cwd new file mode 100644 index 0000000..b360dda --- /dev/null +++ b/tmpclaude-59ec-cwd @@ -0,0 +1 @@ +/c/Users/zlcbl/AppData/Roaming/StabilityMatrix/Data/Packages/ComfyUI/custom_nodes/ComfyUI-FaceKeypointsFilter