danielgatis / rembg

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

[BUG] ... build Exe cuts portion of images off #551

Closed wan-joe closed 5 months ago

wan-joe commented 7 months ago

After compiling my script to exe by using pyinstaller --windowed --onefile myscript.py

The executables opens alright but it cuts portion of the image of especially from shoulders downwards.

Meanwhile the images portion isn't cuts off when I run the script. I have tested the executable on different windows 10 computer, still same results.

How can I achieve desire results but just removing background from image without portion of the images being cut off.

NB: I'm already using u2net_human_seg model and also installed latest version of cuda. Screenshot_20231211-163500~2

IMG-20231211-WA0057~2

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.