Package Details: obs-backgroundremoval 1.3.5-1

Git Clone URL: https://aur.archlinux.org/obs-backgroundremoval.git (read-only, click to copy)
Package Base: obs-backgroundremoval
Description: Background removal plugin for OBS studio
Upstream URL: https://github.com/royshil/obs-backgroundremoval
Keywords: background chroma-key obs opencv removal
Licenses: GPL-3.0-or-later
Conflicts: obs-backgroundremoval-git, obs-backgroundremoval-git-debug
Submitter: PedroHLC
Maintainer: umireon
Last Packager: umireon
Votes: 20
Popularity: 1.87
First Submitted: 2021-08-13 14:15 (UTC)
Last Updated: 2025-11-28 02:21 (UTC)

Latest Comments

1 2 3 4 Next › Last »

gothmog123 commented on 2025-11-16 11:31 (UTC)

thank you

umireon commented on 2025-11-15 08:56 (UTC)

1.3.3 detects what GPU acceleration your ONNX Runtime has and should automatically enable the corresponding acceleration. Enjoy!

gothmog123 commented on 2025-11-13 07:06 (UTC)

@umireon

In the 1.3.3 release the onyx runtime allows linux users to select rocm with onyx backend to have hardware acceleration. Please keep that in there, it's a treasure

umireon commented on 2025-11-05 03:25 (UTC)

I know the attached ONNX Runtime is the bad part of this package. Working to remove this now.

umireon commented on 2025-11-05 03:22 (UTC)

I'm working on the new version. After releasing 1.3.0, I will be back here to refresh PKGBUILD.

iyanmv commented on 2025-11-04 21:13 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 4724cd9..bf9c264 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
 # Contributor: PedroHLC <root@pedrohlc.com>
 pkgname=obs-backgroundremoval

-pkgver=1.1.13
+pkgver=1.3.0_rc3
 pkgrel=1
 pkgdesc='Background removal plugin for OBS studio'

-_source="${pkgname}-${pkgver}"
-_onnxruntime_version=1.17.1
+_source="${pkgname}-${pkgver/_/-}"
+_onnxruntime_version=1.23.2
 _onnxruntime_filename="onnxruntime-linux-x64-gpu-${_onnxruntime_version}.tgz"
 _onnxruntime_url='https://github.com/microsoft/onnxruntime'

@@ -18,14 +18,12 @@ license=('GPL2')
 depends=('obs-studio' 'opencv' 'curl')
 makedepends=('cmake' 'ninja')
 source=(
-       "${_source}.tar.gz::$url/archive/refs/tags/${pkgver}.tar.gz"
+       "${_source}.tar.gz::$url/archive/refs/tags/${pkgver/_/-}.tar.gz"
        "${_onnxruntime_filename}::${_onnxruntime_url}/releases/download/v${_onnxruntime_version}/${_onnxruntime_filename}"
 )
 noextract=("${_onnxruntime_filename}")
-sha256sums=(
-       '732d280dbc094ecb62783c4d51ebf956ea365a0b4f76c13621628bc7fcb9415b'
-       '613c53745ea4960ed368f6b3ab673558bb8561c84a8fa781b4ea7fb4a4340be4'
-)
+sha256sums=('18af7483f9c978776369cdb64c7e0ee598edc194aaf88a11862aa3b68f878a06'
+            '2083e361072a79ce16a90dcd5f5cb3ab92574a82a3ce0ac01e5cfa3158176f53')

 build() {
   cmake -B build -S "${_source}" \
@@ -35,7 +33,8 @@ build() {
     -DENABLE_QT=OFF \
     -DUSE_SYSTEM_OPENCV=ON \
     -DCUSTOM_ONNXRUNTIME_URL="$(pwd)/${_onnxruntime_filename}" \
-    -DCUSTOM_ONNXRUNTIME_HASH=SHA256=613c53745ea4960ed368f6b3ab673558bb8561c84a8fa781b4ea7fb4a4340be4
+    -DCUSTOM_ONNXRUNTIME_HASH=SHA256=2083e361072a79ce16a90dcd5f5cb3ab92574a82a3ce0ac01e5cfa3158176f53 \
+    -DCUSTOM_ONNXRUNTIME_VERSION=$_onnxruntime_version
   cmake --build build
 }

iyanmv commented on 2025-11-04 21:07 (UTC)

I just tried the pre-release 1.3.0-rc3 and it works fine for me. Also, why do you need to use a custom version of onnxruntime? Can it used the one from [extra]?

gothmog123 commented on 2025-11-03 16:14 (UTC)

there's a pre release out, might be good to get, the last update was a really long time ago

wookiefriseur commented on 2025-10-18 14:53 (UTC)

Hey, thanks for the build script. When you got the time please change the upstream URL to the new one (from occ-ai/obs-backgroundremoval to royshil/obs-backgroundremoval). Currently it's just a permanent redirect leading to https://github.com/royshil/obs-backgroundremoval

Guess the organisation occ-ai was deleted and someone created an account with the exact same name. I'm not implying intentional namespace squatting, but this could break the build in the future should they create a repo with the same name. 😅