Software Requirements for using background removal

  1. The Python version should be greater than or equal to 3.6 

  2. python 3.6-dev #or whatever version of python you using

  3. Also, install torch and torchvision which you will be getting in the basic version of Python (https://pytorch.org)

  4. Another extension will be installed, i.e., ffmpeg 4.4+


Follow the below steps to install Python:

  1. sudo add-apt-repository ppa:deadsnakes/ppa

  2. sudo apt update

  3. sudo apt install python3.6

  4. sudo apt install ffmpeg python3.6-dev(To install ffmpeg and python-dev)

  5. pip install --upgrade pip

  6. pip install backgroundremover