Comments (5)
i have this issue too, but can't even get it to build.
I have the latest OBS PPA version, so thought this would be OK : LIBOBS_INCLUDE_DIR=/usr/include/obs cmake ..
But this moans
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find LibObs (missing: LIBOBS_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
external/FindLibObs.cmake:97 (find_package_handle_standard_args)
CMakeLists.txt:69 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/falken/obs-background/obs-backgroundremoval/build/CMakeFiles/CMakeOutput.log".
how did you get it to even compile ?
from obs-backgroundremoval.
The magic is cmake .. -DLIBOBS_INCLUDE_DIR=/usr/include/obs
Then after build
sudo mv /usr/local/lib/obs-plugins/obs-backgroundremoval.so /usr/lib/obs-plugins/ ; sudo mv /usr/local/share/obs/obs-plugins/obs-backgroundremoval /usr/share/obs/obs-plugins/
The 'tar' command from main instructions neds to be run with sudo too
Running obs
from the cli lists
info: obs-backgroundremoval.so
as a loaded module, hurrah !
Works, no crash.
from obs-backgroundremoval.
@tomchiverton Unfortunately that did not fix it for me. It crashes after I add the filter from the list of filters on the video source. I installed it without using the above patch by just updating the flag and running the mv
. Filter does show up in cli and in the list of filters on camera source inside obs UI.
Thinking graphic card which I do not have and rely on integrated graphics, but I thought ONNX runs on CPU anyways. Not sure what the segmentation fault is about. Did you get to actually add the filter and use it successfully?
from obs-backgroundremoval.
Yup, streamed into Webcamoid and Skype fine.
My machine has a AMD Radeon graphics card (low profile, OptiPlex 9020, Intel i7 ~3Ghz) but the filter says it's using "CPU" in the options.
from obs-backgroundremoval.
@tomchiverton lucky you. I did more investigation and seems like something is missing on my machine. Not sure what though:
#1 0x00007f57492ab6b0 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x00007f5711e50182 in filter_update(void*, obs_data*) () from /usr//lib/obs-plugins/obs-backgroundremoval.so
#3 0x00007f5711e502d4 in filter_create(obs_data*, obs_source*) () from /usr//lib/obs-plugins/obs-backgroundremoval.so
The only thing that made sense was this:
314 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
So this std lib is looking for something and I have no idea how to find out what is missing on my system.
Edit
I'm going to close this since it seems like it's not an issue. Unfortunately I found this which mentions a similar crash due to CPU make or model.
from obs-backgroundremoval.
Related Issues (20)
- 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 3
- 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 2
- fail to build on arm64 ubuntu jammy HOT 8
- OBS launch error after installing plugin HOT 3
- Hard requirement for cuda? HOT 2
- After installing obs-backgroundremoval, OBS crashes on launch HOT 7
- Install HOT 2
- Installing on Mac OS HOT 4
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.