nadermx / backgroundremover

Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.
https://www.backgroundremoverai.com
MIT License
6.69k stars 556 forks source link

portrait got wrong orientation after bg removed #107

Closed gmmp closed 10 months ago

gmmp commented 10 months ago

Hello, i have to say, this is a great project, really help my work, thank you. But recently we ran into a problem, it's similar to a closed issue.

One of our customer's portrait is in a wrong orientation after bg removed. I tried both option "Objects, Humans, or Things" and "Only Humans" on the official tool website, tried all models (u2net, u2net_human_seg, u2netp) by running python cmd, they got same result. Is there any cmd option i could use to fix that?

I also notice that the original picture is attched with EXIF info, but output one is not. image

nadermx commented 10 months ago

Try putting a black frame around the picture

gmmp commented 10 months ago

Try putting a black frame around the picture

Thank you, work like a charm!