Foreground extraction model.
sudo apt-get update
sudo apt-get install python3.7
sudo apt-get install python-virtualenv
cd titlematch/
virtualenv --python=python3.7 venv
source venv/bin/activate
pip install -r requirements.txt
sudo apt-get install python3.7-tkpython -m foregrox -h
python -m foregrox --input='images/input/photo_2019-02-12_15-54-31.jpg'\
--output='images/output'\
--show=TrueIf you got insufficient results with the main model, you can try the alternative one:
python -m foregrox --input='images/input/photo_2019-02-12_15-54-31.jpg'\
--show=True\
--alt=TrueIf you want to additionally check, if image already has white background:
python -m foregrox --input='images/input/photo_2019-02-12_15-54-31.jpg'\
--show=True\
--bg=True








