2024-12-15 21:41:07 -08:00
WIP
2024-12-15 21:41:07 -08:00
2024-12-15 20:50:56 -08:00
2024-12-15 20:23:15 -08:00
2024-12-15 20:23:15 -08:00
2024-12-15 20:51:23 -08:00
2024-12-15 20:23:15 -08:00
fix
2024-12-15 20:47:48 -08:00
WIP
2024-12-15 21:36:36 -08:00
2024-12-15 20:23:15 -08:00

ComfyUI Mask Contour Processor

Version 0.1

A ComfyUI node that improves inpainting results by extending mask boundaries with geometric patterns, helping create smoother transitions and better context for AI-driven image completion.

Installation

  1. Navigate to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/
git clone https://github.com/codeprimate/ComfyUI-MaskContourProcessor
cd ComfyUI-MaskContourProcessor
pip install -r requirements.txt

Usage

Parameters

  • Line Length (0.0 - 3.0): Controls pattern extension distance. Start with 1.0
  • Line Count (1 - 40): Sets pattern density. Recommended: 20-30
  • Line Width (0.0 - 0.1): Adjusts pattern thickness. Start with 0.01

Large Areas:

  • Line Length: 1.5-2.0
  • Line Count: 30-40
  • Line Width: 0.015-0.02

Detail Work:

  • Line Length: 0.5-1.0
  • Line Count: 25-35
  • Line Width: 0.005-0.01

Tips

  • Start with conservative settings
  • Adjust Line Length based on image scale
  • Use higher Line Count for complex textures
  • Maximum recommended image size: 4096x4096

License

MIT License - see LICENSE file.

Contributing

Contributions welcome. Please open an issue first for major changes.

S
Description
No description provided
Readme MIT
68 KiB
Languages
JavaScript 55.4%
Python 33.7%
HTML 10.9%