https://github.com/mikkel/comfyui-mask-boundingbox
Create bounding boxes selecting masks by threshold.
https://github.com/mikkel/comfyui-mask-boundingbox
Last synced: about 2 months ago
JSON representation
Create bounding boxes selecting masks by threshold.
- Host: GitHub
- URL: https://github.com/mikkel/comfyui-mask-boundingbox
- Owner: mikkel
- Created: 2023-11-02T07:18:34.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-22T21:26:23.000Z (about 1 year ago)
- Last Synced: 2024-12-19T03:03:09.075Z (6 months ago)
- Language: Python
- Size: 309 KB
- Stars: 28
- Watchers: 1
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI - Mask Bounding Box**
README
# ComfyUI - Mask Bounding Box

## Overview
The ComfyUI Mask Bounding Box Plugin provides functionalities for selecting a specific size mask from an image. Can be combined with ClipSEG to replace any aspect of an SDXL image with an SD1.5 output.## Features
- **Thresholding**: Threshold by mask value
- **Mask**: Selects the largest bounded mask.
- **Image**: Applies the selected image to the bounded mask.
- **Minimum width/height**: centered as much as available around the bounding box.## Usage
* Add the 'Mask Bounding Box' plugin
* Attach a mask and image
* Output the resulting bounding box and resized mask/images.Great for inpainting or selecting certain objects.
## Feedback & Contributions
If you have feedback or would like to contribute to the development of this plugin, please submit a pull request.