Focus is a Google Chrome Extension, that utilizes machine learning to remove the background of an image. Although Focus can remove background on all images, it works best with images that contain people.
Focus is dependent on a pre-trained Tensorflow model explained here. Through semantic segmentation, Focus will classify the object as either a the background, or an object.
To run Flask:
cd src
export FLASK_APP=app.py
flask run
pyenv shell 3.7x
python app.js