Remove-bg

AI

background removal

SHOW HN2024

286points
121comments
#226of 3,515 in 2024
Top 7%of 2024 by points

How HN took it

MixedNo clear lean

11 positive, 22 neutral or asking, 2 mixed, 21 critical, out of 56 comments about the project. Thread score -0.17.

Execution: 5 for, 10 againstIdea: 3 for, 4 againstPerformance: 1 for, 6 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Results are strong on many images, including hair and animals

    From 2 comments
    • Thanks for sharing this repo. While I don't have time to actively contribute to the code, I have been testing on images to share my feedback for future devs. 1. Background…
      san_dimitri on HN
    • I tried it on an image of me and a horse in front of a paddock and it worked perfectly. Really impressed. Other background removal tools would find me - but erase half the horse…
      zurtri on HN
  • Runs fully offline once the model is loaded

    From 1 comment
    • Well, my question is about where it lies within the gray area between fully online and fully offline, so that wouldn't work. Edit: Good call! It's fully offline - I disabled the…
      benatkin on HN
  • Client-side processing with no server needed

    From 1 comment
    • Nice work! Making AI accessible directly in the browser (even if you have to download quite the payload for the model parameters) is a real accessibility game changer. Shameless…
      jacobn on HN

Objections

  • Crashes or freezes browsers and tabs, often from memory use

    From 4 comments
    • Very cool idea, but for me it completely doesn't work. I'll open an image, the entire computer (running Linux) will briefly freeze (including stopping Spotify in its tracks) and…
      akpa1 on HN
    • Opened, uploaded image, looked good (it worked!). Then my browser (Arc) started freezing, unfroze after closing your website :/
      ramonverse on HN
    • I tried your site using the image: https://bannerify.co/tools/remove-bg I crashed the page after 10 or so seconds and Chrome prompted me: Crashpad_NotConnectedToHandler, it…
      kamjin on HN
    • You might want to warn about memory usage. I had Chromium consume several GBs of RAM and had to terminate it. But it is great that there now is more offline tools. It would be…
      codedokode on HN
  • WebGPU fails to start on many browsers without flags

    From 3 comments
    • Well gave it 2 tries before giving up. Does not do anything in FireFox and in Chrome it also failed after loading some data. It told me to restart Chrome with some GPU unsafe flag.
      ivolimmen on HN
    • Status: Error Firefox on Linux: Error: Unsupported device: "webgpu". Should be one of: wasm. Chromium on Linux: Error: no available backend found. ERR: [webgpu] Error: Failed to…
      beeboobaa3 on HN
    • It's not working for me
      cutiepatootiee on HN
  • Generic error messages on failure

    From 2 comments
    • The very first image I uploaded (A model lighthouse with a very obvious background) gives just "Error".
      ericol on HN
    • Non-descript error after 180 seconds. Vivaldi on Android. Please turn off the rolling animation for the duration timer. It looks really wrong when the numbers wind back (which…
      Flop7331 on HN
  • Artifacts and lost detail on some images

    From 2 comments
    • Thanks for sharing this repo. While I don't have time to actively contribute to the code, I have been testing on images to share my feedback for future devs. 1. Background…
      san_dimitri on HN
    • Thanks for sharing; it looks like this has trouble with certain kinds of images. Here's likely the most representative example: Original: https://imgur.com/a/NrEXfua BG removed:…
      lelandfe on HN

Requests

  • Warn about model download size before loading

    From 1 comment
    • It would be cool if it could ask before loading the model, or at least indicate to me how large the download will be, as I'm on a metered connection right now. But maybe that's…
      sva_ on HN
  • Clearer error messages

    From 1 comment
    • The error is ambiguous right now and I'll try to make it clearer (welcome for contributions) The idea is it fallbacks to not use webgpu if your browser is not supported, but it…
      anduc on HN
  • Use a better model such as BiRefNet

    From 1 comment
    • It is a 2024 model, for comparison https://github.com/danielgatis/rembg/ uses U2-Net which is open source from 2022. There is also https://github.com/ZhengPeng7/BiRefNet (another…
      Mathnerd314 on HN

Questions

  • Does the model license allow this distribution?

    From 3 comments
    • feels like it could be nice to abide by the license terms https://bria.ai/bria-huggingface-model-license-agreement/ > 1.1 License. > BRIA grants Customer a time-limited,…
      Birch-san on HN
    • It doesn't, except that it runs it. There's no download link or code playground for running arbitrary code on it, so while technically it transfers the model to the computer…
      benatkin on HN
    • Pretty sure downloading it to your browser counts as distributing it, legally speaking.
      papa_bear on HN
  • Why not install through the Linux package manager?

    From 1 comment
    • Why can't I just "apt-get install" tools like this? I used to have all the powerful tools at my fingertips but now I feel like my Linux distro is slowly disappearing into a…
      amelius on HN

Alternatives named

  • remove.bg

    From 2 comments
    • Not sure if you realise you've given it the same name as another product that does this exact thing. (Disclosure I work for Canva, the company which owns remove.bg).…
      mvdtnz on HN
    • Ahh, for a second I thought https://remove.bg had open-sourced their product (which I've been quite happy with on the few occasions I've used it). Very cool, though!
      codethief on HN
  • rembg

    From 1 comment
    • It is a 2024 model, for comparison https://github.com/danielgatis/rembg/ uses U2-Net which is open source from 2022. There is also https://github.com/ZhengPeng7/BiRefNet (another…
      Mathnerd314 on HN
  • transparent-background

    From 1 comment
    • I've tried many different background removal algorithms and found that InSPyReNet has been the most successful one. I use `transparent-background` on pip a whole bunch and it…
      makifoxgirl on HN
  • imgly background-removal-js

    From 1 comment
    • Hi, nice work. I recently also published a WebGPU version of our browser-only background removal library. It's using the onnx-runtime under the hood. Weights are from isnet. It…
      hauschildt on HN
  • Xenova remove-background-web playground

    From 1 comment
    • Great to have local tools. Here's another one that uses the exact same combination of technologies: https://huggingface.co/spaces/Xenova/remove-background-web (Feb 2024)
      xnx on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/41358490)