I use some amount of opencv magic and machine learning to remove the background. Have you checked the quality of the background removal process, were you satisfied?
Ahh yeah :) That's my trade secret :D If there is more interest from the community I would definitely share that here. Until then I will keep it as a secret :) Hope you dont mind.