ComfyUI-YOLO icon indicating copy to clipboard operation
ComfyUI-YOLO copied to clipboard

Improve mask merging and resizing

Open cymoon59 opened this issue 1 year ago • 1 comments

  • Add support for merging multiple masks into a single binary mask
  • Implement mask resizing to match target image dimensions
  • Enhance error handling for invalid mask inputs

This commit enhances the UltralyticsMergeMasks class to handle multiple input masks, merge them into a single binary mask, and optionally resize the result to match a target image.

cymoon59 avatar Aug 02 '24 06:08 cymoon59

Thank you for the development. Have you tested it?

kadirnar avatar Aug 08 '24 10:08 kadirnar