Nodes Browser

ComfyDeploy: How ComfyUI-TextOnSegs works in ComfyUI?

What is ComfyUI-TextOnSegs?

Add a node for drawing text with CR Draw Text of ComfyUI_Comfyroll_CustomNodes to the area of SEGS detected by Ultralytics Detector of ComfyUI-Impact-Pack.

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-TextOnSegs and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-TextOnSegs

日本語版READMEはこちら

<img src='img/example_face.jpg' width='400'> <img src='img/example_board.jpg' width='400'>

Installation

cd <ComfyUI directory>/custom_nodes
git clone https://github.com/nkchocoai/ComfyUI-TextOnSegs.git

Requirements

Usage

  • (Optional) Place font files (*.ttf) in the following folder.
    • ComfyUI_windows_portable/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes/fonts
    • Japanese and other characters are garbled, so you need to add font files.

draw text on the face

  • Load workflows/draw_text_on_face.json with D&D.
  • Change the values of Text node, CalcMaxFontSize node, etc. in the "Draw Text" group.
  • Execute the workflow.
    • If detection fails, an error occurs, but this is a specification.

Write text on the board