Yes, it is still working. from rembg import remove from PIL import Image img_path = "img.jpg" # Path to the input image output_path = "output.png" # Path to save the output image # Open the input image using PIL input_image = Image.open(img_path) # Remove the background output_image = remove(input_image) # Save the output image as PNG output_image.save(output_path)
it it still working, I tried installing it using pip. but module not found is showing as a error
Yes, it is still working.
from rembg import remove
from PIL import Image
img_path = "img.jpg" # Path to the input image
output_path = "output.png" # Path to save the output image
# Open the input image using PIL
input_image = Image.open(img_path)
# Remove the background
output_image = remove(input_image)
# Save the output image as PNG
output_image.save(output_path)