rembg icon indicating copy to clipboard operation
rembg copied to clipboard

Rembg is a tool to remove images background

Results 105 rembg issues
Sort by recently updated
recently updated
newest added

Hi. Loving rembg and how easy it is to use. I'm wondering is there any way to use models like SAM-HQ: https://github.com/SysCV/sam-hq And DIS: https://github.com/xuebinqin/DIS Would they need integrating or...

enhancement
stale

**Is your feature request related to a problem? Please describe.** When using the Rembg API and passing the bgc property to remove background, the output image format defaults to PNG....

enhancement
stale

**Describe the bug** 1] When user is using id card, rembg is unable to crop inage **To Reproduce** Steps to reproduce the behavior: 1. Give model image of person with...

bug
stale

**Describe the bug** I'm getting some onnx runtime errors, though an image seems to still be getting created. command is rembg i "!Masked!" "!Intermediate!" `P Error *************** [EP Error D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:456...

bug

# I tried human_seg it's taking same time and the file downladed are same of 178 mb and no diff in human_seg and u2net model

bug
stale

The background around products such as rings or bracelets is easily removed, but the background of the middle cavity of these objects is not removed. ![images (1)](https://github.com/danielgatis/rembg/assets/16468261/c3b2c884-c02c-440f-a8ec-ac3ab550edea) ![Screenshot 2024-04-13 050541](https://github.com/danielgatis/rembg/assets/16468261/8fbec1df-1063-4065-9417-a9f278fe3854)

bug

**Is your feature request related to a problem? Please describe.** I would like to use this library to create stickers **Describe the solution you'd like** allow to set a border_color...

enhancement

**Describe the bug** When switching from isnet-general-use to sam. Encountered the following bug ` File "/Users/XX/opt/anaconda3/envs/genai/lib/python3.11/site-packages/rembg/bg.py", line 257, in remove masks = session.predict(img, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/XX/opt/anaconda3/envs/genai/lib/python3.11/site-packages/rembg/sessions/sam.py", line 169,...

bug

``` rembg_session = rembg.new_session() rembg.remove(data=Image.open(input_path), session=rembg_session, only_mask=True) rembg_session.inner_session.get_providers() # prints out ['CPUExecutionProvider'] ``` I also saw that there were no spikes at all on my GPU RAM graph. I am...

bug
stale

**Describe the bug** I tried using the SAM model to remove the background and normally I get this result (using e.g. u2netp) ![Screenshot 2024-06-30 at 14 48 43](https://github.com/danielgatis/rembg/assets/12541790/eaa367f3-c8ab-4c6a-8abc-d998d849c177) With SAM...

bug