ComfyUI Extension: comfyui-DataCleaning
Image cropping and Image resizing
Custom Nodes (0)
README
comfyui-DataCleaning
🥰🥰🥰🥰 This custom node can be used in Image cropping and Image resizing! It's easy to use and understand! Hope you like it!
The original intention of this node is to ensure data security, expecially on your personal data. If you find this useful, please consider giving it a star — your support really helps!⭐️⭐️⭐️
(If you have some good advices, please contact me in the issues!)
Example
Note (It's better for you to read this Note before you use this node)
- You can use the
select images
button to import your images or just drag your images into the node. - You can use mouse to move the crop window to select the image which you want to crop.
- You can click the
delete
button which is under the image to delete the image. - After processing all the images' crop box, you can click the
save
button which is under the image to save the image alone by the browser or use thesave images
button to save all the images to your local path which you need to set your save path in the 'save_img_path'.
Installation
- Clone this reporitory into
custom_nodes
folder in your ComfyUI folder. - Install the dependencies:
pip install -r requirements.txt
. (It just needPillow
, so you can just install it withpip install Pillow
) - you can either use
ComfyUI-Manager
to install it.
To Do List
- [x] Basic interface and functions: crop and resize.
- [ ] Add the segmentation function to process the images in order to remove the background or obtain the subject which you want to use only.