locaal-ai / obs-backgroundremoval

An OBS plugin for removing background in portrait images (video), making it easy to replace the background when recording or streaming.
GNU General Public License v2.0
2.95k stars 202 forks source link

Installed But Not Showing #37

Closed DrewskiesAU closed 1 year ago

DrewskiesAU commented 3 years ago

Hi Team, I have followed instruction to install plugin but when open OBS it is not listed in the filter Capture s

geneangela commented 3 years ago

I am also having the same issue.

DrewskiesAU commented 3 years ago

Is there any updates on this by any chance?

rygvko commented 3 years ago

Yes i have the same issue....pls fix this...

ryanpeiris commented 3 years ago

Hi, Guys,

Make sure you are checking the this under 'Audio/video Filters' not in 'Effect Filters'. I made that mistake.

tempsnip

xelantro commented 3 years ago

Well for me it's just not there :/ and as seen in the screenshot it seems like he's also in the Audio-/Videofilters list. On Windows, extracted the arcive, copied it all over (everything seems to be there - like obs-backgroundremoval.dll in \obs-plugins\64bit\ and so on)

grafik (Yes my OBS is 64bit, sry for german in the screenshot)

DrewskiesAU commented 3 years ago

Hi Ryan, As per my screenshot on original message, I can confirm I am looking under Audio/video filters

rygvko commented 3 years ago

Is Roy the developer is not say something about this???? helow Roy.....

hvisage commented 3 years ago

If you are on macOS and having this problem, you are probably on a Case Sensitive filesystem and the .so file got put in Plugins instead of PlugIns directory and you'll notice the 2x directories in a ls -l output like this:

/Applications/OBS.app/Contents|
⇒  ls -alrt
total 8
drwxr-xr-x@  3 hvisage  staff    96 Sep 28 12:05 ..
drwxr-xr-x@  6 hvisage  admin   192 Sep 28 12:05 Resources
-rw-r--r--@  1 hvisage  staff  1226 Sep 28 12:05 Info.plist
drwxr-xr-x@  3 hvisage  staff    96 Sep 28 12:06 _CodeSignature
drwxr-xr-x@  8 hvisage  staff   256 Sep 28 12:06 MacOS
drwxr-xr-x@ 38 hvisage  staff  1216 Oct  1 08:09 Frameworks
drwxr-xr-x@  9 hvisage  staff   288 Oct  2 16:37 .
drwxr-xr-x   3 hvisage  admin    96 Oct  2 16:58 Plugins
drwxr-xr-x@ 30 hvisage  admin   960 Oct  2 16:58 PlugIns

Solution, mv/copy the obs-backgroundremoval.so to the PlugIns directory and it will pop up :)

(At least me it did after a build it when I was trying to find a solution)

PlugIns:
bearer                   iconengines              mac-decklink.so          obs-browser.so           obs-vst.so               styles
coreaudio-encoder.so     image-source.so          mac-syphon.so            obs-ffmpeg.so            obs-x264.so              text-freetype2.so
decklink-captions.so     imageformats             mac-virtualcam.so        obs-filters.so           platforms                vlc-video.so
decklink-ouput-ui.so     mac-avcapture.so         mac-vth264.so            obs-outputs.so           printsupport
frontend-tools.so        mac-capture.so           obs-backgroundremoval.so obs-transitions.so       rtmp-services.so

Plugins:
obs-backgroundremoval.so
rygvko commented 3 years ago

If you are on macOS and having this problem, you are probably on a Case Sensitive filesystem and the .so file got put in Plugins instead of PlugIns directory and you'll notice the 2x directories in a ls -l output like this:

/Applications/OBS.app/Contents|
⇒  ls -alrt
total 8
drwxr-xr-x@  3 hvisage  staff    96 Sep 28 12:05 ..
drwxr-xr-x@  6 hvisage  admin   192 Sep 28 12:05 Resources
-rw-r--r--@  1 hvisage  staff  1226 Sep 28 12:05 Info.plist
drwxr-xr-x@  3 hvisage  staff    96 Sep 28 12:06 _CodeSignature
drwxr-xr-x@  8 hvisage  staff   256 Sep 28 12:06 MacOS
drwxr-xr-x@ 38 hvisage  staff  1216 Oct  1 08:09 Frameworks
drwxr-xr-x@  9 hvisage  staff   288 Oct  2 16:37 .
drwxr-xr-x   3 hvisage  admin    96 Oct  2 16:58 Plugins
drwxr-xr-x@ 30 hvisage  admin   960 Oct  2 16:58 PlugIns

Solution, mv/copy the obs-backgroundremoval.so to the PlugIns directory and it will pop up :)

(At least me it did after a build it when I was trying to find a solution)

PlugIns:
bearer                   iconengines              mac-decklink.so          obs-browser.so           obs-vst.so               styles
coreaudio-encoder.so     image-source.so          mac-syphon.so            obs-ffmpeg.so            obs-x264.so              text-freetype2.so
decklink-captions.so     imageformats             mac-virtualcam.so        obs-filters.so           platforms                vlc-video.so
decklink-ouput-ui.so     mac-avcapture.so         mac-vth264.so            obs-outputs.so           printsupport
frontend-tools.so        mac-capture.so           obs-backgroundremoval.so obs-transitions.so       rtmp-services.so

Plugins:
obs-backgroundremoval.so

If Windows???

DrewskiesAU commented 3 years ago

I am on windows

rygvko commented 3 years ago

what kind of windows do you have? @DrewskiesAU

hvisage commented 3 years ago

If Windows???

I'd say follow the same logic to check... it'll definitely be a similar problem on Linux.

I don't do M$-Windows - too much issues for me professionally, so can't comment on Windows

DrewskiesAU commented 3 years ago

Hi @rygvko i am running windows 10

Localzen commented 3 years ago

FOUND THE SOLUTION!!! I was having the same issue, installed but couldnt see it. I updated my OBS and the background removal tool showed up where it was supposed to. To update OBS, navigate (within OBS) to "help" -> "check for updates". @MatiMax @rygvko

rygvko commented 3 years ago

@Localzen Nope it doesnt works......my obs is 27.1.1 64bit still not showing up....

Localzen commented 3 years ago

@rygvko for real?? damnn... did you extract the zip directly into your OBS folder?

rygvko commented 3 years ago

@Localzen Yes I did....C:\Program Files\obs-studio\data\obs-plugins\obs-backgroundremoval And C:\Program Files\obs-studio\obs-plugins\64bit

DrewskiesAU commented 3 years ago

Confirming my OBS is the current version and extract directly to the location

rygvko commented 3 years ago

I think its a bug in the plugin causing that....the developer must fix it....

kontroll commented 3 years ago

I can see the filter, on Linux, under the list of Audio/Video filters. My problem is that I use my phone as a cam, and it uses a browser source, which doesn't support Audio/Video filters. For that reason I can't apply the filter anyway.

xelantro commented 3 years ago

@kontroll If you use Android I can recomment you droid cam, they can be aceessed through browser as well, but they also ship an (windows and linux) desktop client

rygvko commented 3 years ago

@kontroll Yes you can add Audio/Video Filters. Open you Phone cam using media not browser source. Then you can Uncheck the Local file, then in the input enter the link for accessing your phone camera...

chukwumaokere commented 3 years ago

ALso having this issue...

DrewskiesAU commented 3 years ago

Still not working, has there been any updates to fix as of yet?

rygvko commented 3 years ago

i guess it never gonna fix....cause the developer dont care about it.....its just few computer that not able to used it....just uninstall and find another way....forget this suck plugin....

royshil commented 3 years ago

i'm releasing another version for OBS v27.1.3 - latest, so it would show up for you hang tight, 2-3 days it should be out for all OSs

royshil commented 3 years ago

i guess it never gonna fix....cause the developer dont care about it.....its just few computer that not able to used it....just uninstall and find another way....forget this suck plugin....

Hi @rygvko . Thank you for your comment! I'm working in 3 jobs and I've very very little time, but I do my best (!) to give you all a completely free plugin and open source. I work at night and on the weekends, because I think it's a good thing for the OBS users to have for free. If you're not satisfied with the plugin - help us improve it! check out the code and fix some problems.. Thanks again

rygvko commented 3 years ago

i guess it never gonna fix....cause the developer dont care about it.....its just few computer that not able to used it....just uninstall and find another way....forget this suck plugin....

Hi @rygvko . Thank you for your comment! I'm working in 3 jobs and I've very very little time, but I do my best (!) to give you all a completely free plugin and open source. I work at night and on the weekends, because I think it's a good thing for the OBS users to have for free. If you're not satisfied with the plugin - help us improve it! check out the code and fix some problems.. Thanks again

yes at last you give concern about this really appreciate....

royshil commented 3 years ago

Please try https://github.com/royshil/obs-backgroundremoval/releases/tag/v0.4.0 @rygvko @DrewskiesAU @chukwumaokere @kontroll @Localzen @hvisage

DrewskiesAU commented 3 years ago

Thank you for the time and effort you put into this @royshil

I have just tried the new file and it still doesnt show up for me

I am running 27.1.3 (32 bit)

rygvko commented 3 years ago

Please try https://github.com/royshil/obs-backgroundremoval/releases/tag/v0.4.0 @rygvko @DrewskiesAU @chukwumaokere @kontroll @Localzen @hvisage

Still not showing up...same as @DrewskiesAU....running on 27.1.3 (64bit) Just like there is no plug in installed....

Inventatorul1 commented 3 years ago

Same problem

KeysiJones commented 3 years ago

I found a solution for linux (Works on Ubuntu 20.04)...

Step 1: Uninstall OBS by running sudo apt remove obs-studio Step 2: Add OBS official repository by running sudo add-apt-repository ppa:obsproject/obs-studio (Yeah, i was installing OBS without adding the official repo and it was not working.... so add the official repository) Step 3: Update packages running sudo apt update Step 4: Install OBS studio by running sudo apt install obs-studio Step 5: Clone the repository in the folder you want it to be cloned and build the plugin by running bellow commands

git clone https://github.com/royshil/obs-backgroundremoval.git
cd obs-backgroundremoval
mkdir build && cd build
cmake .. && cmake --build . && cmake --install .

Step 6: move plugin files to obs plugins folder running the commands below...

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/

It worked for me... hope it helps you guys too.

Let's help each other !!

Inventatorul1 commented 3 years ago

I found a fix for windows: after you extract de zip manually place the files in obs directories. obs-backgroundremoval-0.4.0-win64\data\obs-plugins ----> C:\Program Files\obs-studio\data\obs-plugins obs-backgroundremoval-0.4.0-win64\obs-plugins\64bit ----> C:\Program Files\obs-studio\obs-plugins\64bit

rygvko commented 3 years ago

I found a fix for windows: after you extract de zip manually place the files in obs directories. obs-backgroundremoval-0.4.0-win64\data\obs-plugins ----> C:\Program Files\obs-studio\data\obs-plugins obs-backgroundremoval-0.4.0-win64\obs-plugins\64bit ----> C:\Program Files\obs-studio\obs-plugins\64bit

Thats not a solution....its the same as standart procedure for installing pluggin for OBS....and defenetely NOT WORKING....

adminjw commented 2 years ago

I found a fix for windows: after you extract de zip manually place the files in obs directories. obs-backgroundremoval-0.4.0-win64\data\obs-plugins ----> C:\Program Files\obs-studio\data\obs-plugins obs-backgroundremoval-0.4.0-win64\obs-plugins\64bit ----> C:\Program Files\obs-studio\obs-plugins\64bit

Thats not a solution....its the same as standart procedure for installing pluggin for OBS....and defenetely NOT WORKING....

Well, actually - it was the solution for me. For what ever reason when I copy-paste the files directly from the zip to the obs-studio folder, the UI makes me believe that the files have been copied (admin prompt, progress bar, etc..). Afterwards I run into the mentioned issue.

Thanks to @Inventatorul1 I checked for the individual files in the sub-folders and to my surprise, there was nothing to be found. So as recommended, I first extracted the files and only than copied them over. This time the files are in the right location and voilà - the plugin works now.

DrewskiesAU commented 2 years ago

I still cant get this to work. I have decided to not worry about this one now.

Thank you everyone for trying :)

Artyrm commented 2 years ago

I looked into the log file, and it says:

23:13:41.510: Skipping module '../../obs-plugins/64bit/DirectML.dll', not an OBS plugin 23:13:41.512: LoadLibrary failed for '../../obs-plugins/64bit/DirectML.dll': The specified module could not be found. 23:13:41.512: (126) 23:13:41.512: Module '../../obs-plugins/64bit/DirectML.dll' not loaded 23:13:41.584: [AMF] Unable to load 'amfrt64.dll', error code 126. 23:13:41.607: [AMF] AMF Test failed due to one or more errors. 23:13:41.607: Failed to initialize module 'enc-amf.dll' 23:13:41.615: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin 23:13:41.626: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin 23:13:41.627: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin 23:13:41.636: LoadLibrary failed for '../../obs-plugins/64bit/obs-backgroundremoval.dll': The specified module could not be found. 23:13:41.636: (126) 23:13:41.636: Module '../../obs-plugins/64bit/obs-backgroundremoval.dll' not loaded 23:13:41.637: [obs-browser]: Version 2.16.3 23:13:41.637: [obs-browser]: CEF Version

  • [ ] 75.1.16+g16a67c4+chromium-75.0.3770.100

23:13:41.646: [noise suppress]: NVIDIA RTX denoiser disabled, redistributable not found 23:13:41.728: Skipping module '../../obs-plugins/64bit/onnxruntime.dll', not an OBS plugin 23:13:41.730: LoadLibrary failed for '../../obs-plugins/64bit/onnxruntime.dll': The specified module could not be found. 23:13:41.730: (126) 23:13:41.730: Module '../../obs-plugins/64bit/onnxruntime.dll' not loaded

I highlighted the files that are used by this plugin. They're all on place. Somehow OBS doesn't count them for plugin...

As I can see from discussion here that might be due to dependency problems of the said dlls: https://obsproject.com/forum/threads/solved-issues-with-plugin-loading.79508/

Artyrm commented 2 years ago

Dependecy Walker shows several missing libraries: image

Most notably, d2d12.dll - that means no chance for me to get it running on my laptop, since it is Win7.

obs-backround remover requires some more dlls: image

If someone with Win7 could try to build it, I guess, we would find out more.

lluio commented 2 years ago

@KeysiJones jones solution worked for me on Ubuntu 21.04 :)

KeysiJones commented 2 years ago

I'm very happy that it worked for you @lluio !!! have a nice day !!

royshil commented 1 year ago

this shuold be resolved now

ngreyes commented 10 months ago

The issue may be your screen resolution, I had the same problem. Shrink down the OBS window for the Audio/Video filters and then move the window upwards, you will notice a second set of adding filters button. The top set is for Audio/Video and the second bottom set is for effects, that's where you will find the Background remover.