Background Removal

by ysharmaco.huggingface.ysharma/background-removal-copy

How the score works

  • Remote endpoint
  • 3 tools
  • MIT

Tools

  • background_removal_copy_fn Remove the background from an image and return both the transparent version and the original. This function performs background removal using a BiRefNet segmentation model. It is intended for use with image input (either uploaded or from a URL). The function returns a transparent PNG version of the image with the background removed, along with the original RGB version for comparison. Returns: , origin (PIL.Image): The original RGB image, unchanged., processed_image (PIL.Image): The input image with the background removed and transparency applied.
  • background_removal_copy_fn_ Remove the background from an image and return both the transparent version and the original. This function performs background removal using a BiRefNet segmentation model. It is intended for use with image input (either uploaded or from a URL). The function returns a transparent PNG version of the image with the background removed, along with the original RGB version for comparison. Returns: , origin (PIL.Image): The original RGB image, unchanged., processed_image (PIL.Image): The input image with the background removed and transparency applied.
  • background_removal_copy_process_file Load an image file from disk, remove the background, and save the output as a transparent PNG. Returns: Path to the saved PNG image with background removed.

As the server's own listing gives them. We never call a tool.