Many options in the comments of prior discussions <a href="https://news.ycombinator.com/item?id=36064639">https://news.ycombinator.com/item?id=36064639</a> and <a href="https://news.ycombinator.com/item?id=35838504">https://news.ycombinator.com/item?id=35838504</a>
I just starred this on Github. So it was fresh in my memory <a href="https://github.com/imgly/background-removal-js">https://github.com/imgly/background-removal-js</a>
I’d be concerned that something like that needs user feedback to do a really good job. When I try to do that with photoshop it is never quite right the first time though maybe the new A.I. models can do better.