ComfyUI Extension: comfyui-DataCleaning

Authored by Jacky-MYQ

Created

Updated

5 stars

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

    image

    Note (It's better for you to read this Note before you use this node)

    1. You can use the select images button to import your images or just drag your images into the node.
    2. You can use mouse to move the crop window to select the image which you want to crop.
    3. You can click the delete button which is under the image to delete the image.
    4. 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 the save 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

    1. Clone this reporitory into custom_nodes folder in your ComfyUI folder.
    2. Install the dependencies: pip install -r requirements.txt. (It just need Pillow, so you can just install it with pip install Pillow)
    3. 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.