Comments (11)
Despite what seems to be a good compile now, obs-studio doesn't see the plugin. Even if I try the approaches the others in the issues list have recommended: moving into /usr/share and /usr/lib as well as into .config/obs-studio...
Not really sure what to make of that.
from obs-backgroundremoval.
A little digging with strace says:
warning: Module '/usr//lib/obs-plugins/obs-backgroundremoval.so' not loaded
So it is indeed seeing the plugin, but choosing not to load it.
Tips or advice?
from obs-backgroundremoval.
usually it fails to load because of missing dependencies...
can you inspect the shared library deps of your obs-backgroundremoval.so
file?
perhaps it's just a e.g. LD_LIBRARY_PATH
issue
from obs-backgroundremoval.
Ah yes, I see I don't have libonnxruntime.so. This is a real bear to get installed for some reason on arch. I did a fresh pull from github from the link you have in the description and for some reason it won't build to completion. The work continues.
from obs-backgroundremoval.
@krisezra87 Have you been able to get this installed on Arch? I am not seemingly having any luck...
from obs-backgroundremoval.
@laundry-96 no I have not been able to make it work yet unfortunately. I have tried several onnx installs but nothing has generated that .so file for me yet. You have reminded me that this was on my todo list. I think I am going to nuke my install and start fresh.
from obs-backgroundremoval.
@laundry-96 I got it! I'm by no means an expert here, but it looks like the onnxruntime files are actually obtained during the make and perhaps cleaned up. I went here:
https://github.com/microsoft/onnxruntime/releases/tag/v1.7.0
And downloaded / extracted the x64 tgz file for this release (it's the one that is shown as being necessary in the makeprg call and from objdump -p /usr/local/lib/obs-plugins/obs-backgroundremoval.so
). Inside the extracted tgz there is a lib folder that contains libonnxruntime.so and libonnxruntime.so.1.7.0. I symlinked these both into /usr/lib.
I put the plugin in a variety of places at the advice of other people in the issues list and I'm not sure which one eventually loaded... but I'm fairly certain this is the key right here.
It's ugly, but it worked!
from obs-backgroundremoval.
@krisezra87 please let me know if the latest release works https://github.com/royshil/obs-backgroundremoval/releases/tag/v0.2.5-beta
from obs-backgroundremoval.
@royshil this looks much better and is very close. No longer need the ~/.config/obs-studio/plugins symbolic links which is great, and I didn't have to manually symlink libonnxruntime.so into /usr/lib.
Some minor issues I'm not sure how to fix in a pull request:
- The checksum is wrong. I bypassed with
makepkg --skipchecksums -si
- Install instructions are slightly wrong. You need the
-i
flag above to get the .so files distributed. - Minor: I can't actually start up the virtual camera in obs-studio without running as sudo. There seems to be something slightly weird with the polkit settings and the agent prompts for password (but it won't take my password).
All told, running now with makepkg --skipchecksums -si
in the scripts folder works properly out of the box, provided that obs is launched with sudo... which I don't like, but I'm willing to roll with for now :).
from obs-backgroundremoval.
I'm able to build the latest commit with makepkg, and install with makepkg -i with no issues.
from obs-backgroundremoval.
going to close this issue as most acute problems are resolved
from obs-backgroundremoval.
Related Issues (20)
- Background removal doesn't work nicely with the Source Clone plugin from Exeldro. HOT 7
- Can this plugin remove the background of a game card instead of a human portrait? HOT 18
- The latest update for OBS Back ground removal will not load because of Microsoft Defender SmartScreen HOT 6
- Latest update seems to break silhouette coherence HOT 2
- Huge latency issue in Linux HOT 6
- Support more than one person HOT 3
- DirectML not working with AMD RX 7800 XT
- Obs does not start after installing the background removal tool HOT 8
- Tremendous latency apon diabling source HOT 13
- Version 1.1.13 doesn't work HOT 16
- Background removal
- Not able to update the obs on `linux` HOT 3
- OBS does not load plugin HOT 6
- Plugin loads, but doesn't do anything HOT 5
- be able to capture full dody and hands as they extend out to point HOT 1
- Background color setting is missing from background removal advanced settings HOT 1
- Build issue on Fedora 40: failed to set dynamic section sizes: bad value HOT 7
- Feature request: Face tracking HOT 1
- fail to build on arm64 ubuntu jammy HOT 8
- OBS launch error after installing plugin HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-backgroundremoval.