The PyMatting Interactive Tool is an interactive alpha matting tool.
Tested on Ubuntu 20.04 using Python 3.8.2. First, install the prerequisites:
sudo apt-get install python3-pip python3-venv python3-pyqt5 gitClone this GitHub repository:
git clone https://github.com/pymatting/pymatting-interactive-tool
cd pymatting-interactive-toolIf you want to install everything in a virtual environment, you could do it like the following:
python3 -m venv ~/envs/pit/
source ~/envs/pit/bin/activate
pip3 install -r requirements.txtTo run the program, simply execute:
python3 main.pyRunning the tests may take a while
pip3 install -r requirements-test.txt
python3 -m unittest discover -s tests