Machine Learning in Linux: BackgroundRemover – remove backgrounds from images and video
Our Machine Learning in Linux series focuses on apps that make it easy to experiment with machine learning.
BackgroundRemover is a command line tool to remove the background from images and videos using AI. The AI is performed courtesy of U2Net, a machine learning model that allows you to crop objects in a single shot. Taking an image of a person, cat, etc. as input, it can compute an alpha value to separate the background from the panoramic view.
U2Net is a neural network based on a two-level nested architecture. This offers two main advantages: the ability to capture information at different levels of scale and the ability to go deeper without increasing the computational cost too much. U2-Net’s authors aim to design a new neural network for salient object-detection that can be trained from scratch.
BackgroundRemover is written in Python and published under an open source license.