Me and my colleague have been working on a small POC for Background removal. We used semantic segmentation trained on selfies, and documented the process of training and deploying a Keras model with Docker, Heroku and a Gitlab CI in 3 posts:
https://greenscreen-ai.boorgle.com Server side implementation
https://greenscreen-ai-client.boorgle.com Client side implementation using KerasJS
Training post
https://medium.com/@gidishperber/background-removal-with-dee...
Deploying Keras model to Heroku with Gitlab CI
https://medium.com/@burgalon/deploying-your-keras-model-3564...
KerasJS client side post
https://medium.com/@burgalon/deploying-your-keras-model-usin...
Server side source code
https://gitlab.com/fast-science/background-removal-server
Client side post
https://gitlab.com/fast-science/background-removal-vue