royshil/obs-backgroundremoval

★ 4,654⑂ 0

An OBS plugin for removing background in portrait images (video), making it easy to replace the background when recording or streaming.

About royshil/obs-backgroundremoval

royshil/obs-backgroundremoval is an open-source project on GitHub, mainly written in C++. An OBS plugin for removing background in portrait images (video), making it easy to replace the background when recording or streaming. It currently holds 4,654 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

Git Homed tracks it on the Image Trending board and on the AI Image Trending list.

GitHub Repository Details

Repository royshil/obs-backgroundremoval · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

OBS Plugin: Portrait Background Removal / Virtual Green-screen and Low-Light Enhancement

GitHub Push (main) CI Total downloads Flathub GitHub release (latest by date)

A plugin for OBS Studio that allows you to replace the background in portrait images and video, as well as enhance low-light scenes.

⬇️ Download & Install OBS Background Removal ⬇️

Or, browse versions on releases page.

Not working? Please try the Lite version (Live Background Removal Lite) developed by one of us (Kaito Udagawa).

Usage

Check out the usage guide page for usage walkthrough and recommendations.

Additional tutorial videos:

How to build from source

Windows:

git clone https://github.com/royshil/obs-backgroundremoval.git

Platforms we support building from source officially:

git clone https://github.com/royshil/obs-backgroundremoval.git
cd obs-backgroundremoval
sudo ./bin/bootstrap
./bin/setup
./bin/build
sudo dpkg -i release/obs-backgroundremoval-*-linux-gnu.deb

The supported platforms are:

We plan to add building scripts for popular platforms such as Windows, Mac, and various distributions of Linux.

Introduction

This plugin is meant to make it easy to replace the background in portrait images and video. It is using a neural network to predict the mask of the portrait and remove the background pixels. It's easily composable with other OBS plugins to replace the background with e.g. an image or a transparent color.

If you like this work, which is given to you completely free of charge, please consider supporting it by sponsoring us on GitHub:

Support and Help

Reach out to us on GitHub Discussions or the OBS Plugins forum for online / immediate help.

If you found a bug or want to suggest a feature or improvement please open an issue.

If you are looking for hands-on help or private consultation please select a sponsorship tier.

Technical Details

GPU support:

Number of CPU threads is controllable through the UI settings. A 2-thread setting works best.

The pretrained model weights used for portrait foreground segmentation are taken from:

Image enhancement (low light) models are taken from: Some more information about how I built it: https://www.morethantechnical.com/2021/04/15/obs-plugin-for-portrait-background-removal-with-onnx-sinet-model/ and https://www.morethantechnical.com/2023/05/20/building-an-obs-background-removal-plugin-a-walkthrough/

Code Walkthrough

This video on YouTube will take you through the major parts of the code and explain them.

Download Trends and Star History

Download Trends GitHub Star History

GitHub Stars & Activity

4,654Stars
0Forks
0Open issues
C++Language

GitHub Popularity

GitHub stars4,654
Forks0
Open issues0
Primary languageC++
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1

opencv / opencv

C++★ 91,368⑂ 0
→
2
→
3

dusty-nv / jetson-inference

C++★ 9,023⑂ 0
→
4

leejet / stable-diffusion.cpp

C++★ 7,819⑂ 0
→
5

openMVG / openMVG

C++★ 6,582⑂ 0
→
6

MaaXYZ / MaaFramework

C++★ 5,098⑂ 0
→
7
→
8

Comfy-Org / ComfyUI

Python★ 143,896⑂ 0
→

More Trending Repositories