Coder Social home page Coder Social logo

Comments (5)

tomchiverton avatar tomchiverton commented on July 20, 2024

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.

tomchiverton avatar tomchiverton commented on July 20, 2024

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.

chickencoding123 avatar chickencoding123 commented on July 20, 2024

@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.

tomchiverton avatar tomchiverton commented on July 20, 2024

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.

chickencoding123 avatar chickencoding123 commented on July 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.