Nodes Browser

ComfyDeploy: How ComfyUI-Teeth works in ComfyUI?

What is ComfyUI-Teeth?

NODES: GetValueByIndexFromList, TextSplitByDelimiter, GetFirstSeg, FindContours

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-Teeth and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine
  • 增加 Teeth Run Python Code, 运行python代码
  • 增加 Teeth Get Value By Index From List, 获取List中的指定索引的元素
  • 增加 TeethTextSplitByDelimiter, 分割字符串
  • 增加 Teeth Get First Seg, 获取第一个seg
  • 增加 Teeth Find Contours, 获取图片中的轮廓list
  • 增加 Teeth Split Grid Image, 分割九(四)宫格图片
  • 增加 Teeth Image Grid Lines, 图片上面添加宫格线

Installation

  1. Open a terminal or command line interface.
  2. Navigate to the ComfyUI/custom_nodes/ directory.
  3. Run the following command: git clone https://github.com/steelan9199/ComfyUI-Teeth.git
  4. Restart ComfyUI. This command clones the repository into your ComfyUI/custom_nodes/ directory. You should now be able to access and use the nodes from this repository.

安装依赖

一般不需要执行这个步骤, 因为这些依赖比较常用, 你电脑上的ComfyUI的其他插件, 应该已经装过这些依赖了

pip install -r requirements.txt

workflow example:

获取轮廓
workflow

运行python
runPython

分割九(四)宫格图片
runPython

图片上面添加宫格线
runPython

如果能帮助到您, 我很开心,
打赏一杯咖啡, 就会更开心.

<table> <tr> <td width="50%"><img src="githubImg/wx.jpg" width="300px"></td> <td width="50%"><img src="githubImg/zfb.jpg" width="250px"></td> </tr> </table>