diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml new file mode 100644 index 0000000..122a1ae --- /dev/null +++ b/.github/workflows/publish_action.yml @@ -0,0 +1,20 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + paths: + - "pyproject.toml" + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@main + with: + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here. \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d6b72ae --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 CHAOSEA + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index a54a01d..89df26c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ 这是一个用于 ComfyUI 的基础人脸处理节点集合,提供智能人脸对齐、粘贴和自动适配功能,让您的人物图像处理工作流程更加高效和精准。 - This is an advanced face processing node collection for ComfyUI, providing intelligent face alignment, pasting, and auto-fitting functions to make your character image workflow more efficient and precise. --- @@ -86,7 +85,3 @@ git clone https://github.com/CHAOSEA/ComfyUI_FaceAlignPaste.git - `models/shape_predictor_68_face_landmarks.dat` - dlib 人脸关键点检测模型,用于精确定位人脸的 68 个特征点 这些模型文件已包含在节点包中,无需单独下载。如果您遇到模型加载错误,请确保文件路径正确且文件完整。 -<<<<<<< HEAD ->>>>>>> 0e3e389 (初始提交:智能人脸对齐与粘贴节点集合) -======= ->>>>>>> 0026c0e8dcc9a597dc7f30a21fafb0b6607a3689 diff --git a/node_config.json b/node_config.json new file mode 100644 index 0000000..2311bed --- /dev/null +++ b/node_config.json @@ -0,0 +1,9 @@ +{ + "name": "ComfyUI_FaceAlignPaste", + "description": "智能人脸对齐与粘贴节点集合 | Smart Face Alignment and Pasting Node Collection", + "author": "CHAOSEA", + "version": "1.0.0", + "repository": "https://github.com/CHAOSEA/ComfyUI_FaceAlignPaste", + "tags": ["face", "alignment", "processing", "composition"], + "dependencies": ["numpy", "opencv-python", "torch", "Pillow"] +} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..aa6b19c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "ComfyUI_FaceAlignPaste" +description = "Smart Face Alignment and Pasting Node" +version = "1.0.0" +license = {file = "LICENSE"} +dependencies = ["numpy", "opencv-python", "torch", "Pillow", "mediapipe", "dlib"] + +[project.urls] +Repository = "https://github.com/CHAOSEA/ComfyUI_FaceAlignPaste" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "CHAOSEA" +DisplayName = "ComfyUI_FaceAlignPaste" +Icon = ""