{"repo":"nadermx/backgroundremover","free":true,"listed":false,"github":"https://github.com/nadermx/backgroundremover","clone":"git clone https://github.com/nadermx/backgroundremover.git","description":"Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.","language":"Python","stars":8018,"topics":["background-remover","backgroundremover","removebackground","remove-background","remove-background-image","remove-background-video","background-removal","python","video","pytorch"],"license":"MIT","category":"machine-learning","readme_excerpt":"BackgroundRemover BackgroundRemover is a command line tool to remove background from image and video using AI, made by nadermx to power https://BackgroundRemoverAI.com. If you wonder why it was made read this short blog post. Requirements python = 3.6 python3.6-dev #or what ever version of python you use torch and torchvision stable version (https://pytorch.org) ffmpeg 4.4+ To clarify, you must install both python and whatever dev version of python you installed. IE; python3.10-dev with python3.10 or python3.8-dev with python3.8 How to install torch and ffmpeg Go to https://pytorch.org and scroll down to INSTALL PYTORCH section and follow the instructions. For CPU-only (default): For GPU (CUDA) support: Visit https://pytorch.org/get-started/locally/ to find the correct command for your CUDA version. To install ffmpeg and python-dev: Installation To Install backgroundremover, install it from pypi Please note that when you first run the program, it will check to see if you have the u2net models, if you do not, it will pull them from this repo It is also possible to run this without installing it via pip, just clone the git to local start a virtual env and install requirements and run and for windows Installation using Docker Note for Docker video processing: Video processing uses multiprocessing which requires adequate shared memory. If you encounter errors like OSError: [Errno 95] Operation not supported , use --shm-size=2g (or higher) or --ipc=host when running the container.","default_branch":null,"files":null,"tree":[],"storefront":"/r/nadermx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nadermx/backgroundremover/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}