A cutting-edge template for building AI-powered vision plugins for OBS Studio
Features β’ Quick Start β’ Documentation β’ Contributing
Note
This is an unofficial template based on the official OBS Plugin Template. It has been customized for AI and computer vision plugin development but is not maintained or endorsed by the OBS Project.
Welcome to the OBS AI Vision Plugin Template β your launchpad for creating next-generation streaming plugins powered by artificial intelligence! This template provides a robust foundation for developing computer vision and AI-enhanced features for OBS Studio, the world's leading open-source streaming and recording software.
This isn't just another plugin template. It's a production-ready starting point designed specifically for AI and vision-based applications:
- π§ AI-Ready Architecture: Pre-configured structure optimized for integrating machine learning models
- ποΈ Vision Processing: Built with computer vision workflows in mind
- π Modern C++17: Clean, maintainable code following industry best practices
- π§ Cross-Platform: Seamless development on Windows, macOS, and Linux
- β‘ CMake Presets: Simplified build process with zero configuration headaches
- π€ CI/CD Pipeline: Automated builds and releases via GitHub Actions
|
|
|
|
Get up and running in minutes with our streamlined build process powered by CMake Presets.
Ensure you have the following tools installed:
| Tool | Version | Purpose |
|---|---|---|
| CMake | 3.28+ | Build system generator |
| C++ Compiler | VS2022/Xcode16/GCC | Code compilation |
| Git | Latest | Version control |
| π₯οΈ Platform | π§ Environment | β Status |
|---|---|---|
| Windows | Visual Studio 17 2022 | β Fully Supported |
| macOS | Xcode 16 | β Fully Supported |
| Ubuntu | Ubuntu 24.04 | β Fully Supported |
πͺ Windows (PowerShell)
cmake -P scripts/download-deps.cmake# Configure the project
cmake --preset windows-x64
# Build the plugin
cmake --build --preset windows-x64
# Install to local release folder
cmake --install build_x64 --prefix releaseCopy the contents of the release directory to your OBS Studio installation:
C:\Program Files\obs-studio
π macOS (Terminal)
cmake -P scripts/download-deps.cmake# Configure the project
cmake --preset macos
# Build the plugin
cmake --build --preset macos
# Install directly to OBS plugins folder
cmake --install build_macos --prefix "$HOME/Library/Application Support/obs-studio/plugins"β¨ The plugin will be immediately available in OBS Studio!
π§ Ubuntu (Bash)
# Add OBS Studio PPA
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update
# Install required packages
sudo apt-get install \
cmake \
libgles2-mesa-dev \
libqt6svg6-dev \
libsimde-dev \
ninja-build \
obs-studio \
pkg-config \
qt6-base-dev \
qt6-base-private-dev# Configure the project
cmake --preset ubuntu-x86_64
# Build the plugin
cmake --build --preset ubuntu-x86_64
# Install system-wide
sudo cmake --install build_x86_64 --prefix /usrobs-plugintemplate-ai-vision/
βββ π src/ # Plugin source code
βββ π data/ # Resources & localization
βββ π cmake/ # Build configuration
βββ π scripts/ # Helper scripts
βββ π .github/ # CI/CD workflows
βββ π CMakeLists.txt # Main build file
This template is perfect for creating:
- π Face & Object Detection: Real-time recognition in streams
- πΌοΈ Scene Analysis: Intelligent scene switching and composition
- π― Motion Tracking: Follow subjects automatically
- π Style Transfer: Apply AI-powered filters and effects
- π Analytics: Gather insights from video content
- π Background Removal: AI-powered chroma-free keying
- π₯ Multi-Person Tracking: Follow multiple subjects
- π¨ Content-Aware Effects: Smart filters that understand your scene
The template includes a complete CI/CD pipeline powered by GitHub Actions:
| Trigger | Action | Output |
|---|---|---|
π Push to main/master |
Build & Test | Validation |
| π₯ Pull Request | Build & Test | CI Checks |
π·οΈ Tag Push (e.g., v1.0.0) |
Build, Sign & Package | Draft Release |
- Create a tag:
git tag v1.0.0 && git push origin v1.0.0 - Automated build: GitHub Actions compiles for all platforms
- Code signing: Artifacts are signed (macOS/Windows)
- Draft release: Binaries are attached and ready for publishing
For distribution on macOS, you'll need to configure code signing and notarization.
π Detailed instructions: Codesigning on macOS
Expand your knowledge with our comprehensive documentation:
| Resource | Description |
|---|---|
| π Getting Started | Begin your plugin development journey |
| π§ Build Requirements | System prerequisites and setup |
| βοΈ CMake Options | Advanced build configuration |
| π OBS Plugin API | Official OBS Studio documentation |
We welcome contributions! Whether you're fixing bugs, improving documentation, or proposing new features:
- π΄ Fork the repository
- πΏ Create a feature branch (
git checkout -b feature/amazing-feature) - πΎ Commit your changes (
git commit -m 'Add amazing feature') - π€ Push to the branch (
git push origin feature/amazing-feature) - π Open a Pull Request
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- π¬ Discussions: GitHub Discussions
- π Issues: Bug Reports
- π§ Contact: For questions and support
Built with β€οΈ using:
- OBS Studio - The best streaming software
- Qt Framework - Cross-platform GUI framework
- CMake - Build system generator
β Star this repository if you find it helpful!
Made with π€ for the AI-powered streaming future