royshil/obs-backgroundremoval

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

What it solves

This plugin for OBS Studio solves the problem of needing a physical green screen to remove or replace backgrounds in portrait video and images. It also addresses the issue of poor visibility in low-light scenes by providing enhancement tools.

How it works

The plugin uses neural networks to predict a mask of the portrait (foreground) and remove the background pixels. It leverages various pretrained models for portrait segmentation and image enhancement, utilizing ONNX Runtime for execution. It supports hardware acceleration via WinML (Windows), CoreML (Mac), and CUDA/ROCM/MIGraphX (Linux) to ensure performance, while remaining functional on CPUs.

Who it’s for

Content creators, streamers, and users of OBS Studio who want to professional-looking backgrounds or low-light correction without specialized hardware.

Highlights

  • Virtual Green-screen: Removes backgrounds from portraits or any object using AI-driven segmentation.
  • Low-Light Enhancement: Includes models to improve visibility in dark scenes.
  • Cross-Platform Acceleration: Supports a wide range of GPU acceleration frameworks across Windows, Mac, and Linux.
  • OBS Integration: Easily composable with other OBS plugins to replace backgrounds with images or transparent colors.

Related

  • Project
  • Project
  • Project
  • Project
  • Project