danielgatis / rembg

Rembg is a tool to remove images background
MIT License
15.46k stars 1.76k forks source link

[BUG] rembg connects to the internet #542

Closed SimoLRepo closed 7 months ago

SimoLRepo commented 8 months ago

Describe the bug I installed rembg via pip in python and run the command "rembg p path/to/input path/to/output". However, now I noticed that when I run the command, rembg.exe (not python.exe) connects to various ip addresses that can be connected to *.compute.amazonaws.com.

Why does this behavior occur? Do the images to be cut out remain on the local PC or are they sent to a remote server? Thank you.

To Reproduce Steps to reproduce the behavior:

  1. Run python via cmd
  2. pip install rembg[cli]
  3. python rembg p path/to/input path/to/output
  4. Runs "rembg.exe" and connect each time to different IP addresses linked to "*.compute.amazonaws.com"

Expected behavior No internet connection unless strictly necessary to download u2net

OS Version: Windows 10 22H2

Rembg version: rembg, version 2.0.52

SimoLRepo commented 7 months ago

It doesn't matter, I found another Open Source software with similar (and additional) features where this anomaly does not occur.