Building Live Background Removal Lite on macOS
Prerequisite: Homebrew must be installed on your system. If you do not have Homebrew, follow the instructions at brew.sh.
To build Live Background Removal Lite on macOS, you need to install OBS Studio and all required dependencies using brew. Do not use vcpkg.
Install OBS Studio
Install OBS Studio using Homebrew:
brew install obs Steps
- Install build tools and dependencies:
brew install cmake git pkg-config opencv curl fmt - Clone the repository:
git clone https://github.com/kaito-tokyo/live-backgroundremoval-lite.git cd live-backgroundremoval-lite - Configure the build (using CMake preset):
cmake --preset macos-homebrew - Build the plugin (using CMake preset):
cmake --build --preset macos-homebrew - Install the plugin:
rm -rf ~/Library/Application\ Support/obs-studio/plugins/live-backgroundremoval-lite.plugin cp -r ./build_homebrew/RelWithDebInfo/live-backgroundremoval-lite.plugin ~/Library/Application\ Support/obs-studio/pluginsThis will install the plugin to the OBS Studio plugins directory for your user account.
- Restart OBS Studio to load the plugin.
For more details, see the contribution guide.
Back to Top