Background Removal / Virtual Green-screen & Low-Light Enhance

Background Removal / Virtual Green-screen & Low-Light Enhance v1.1.13

rgsantos

New Member
Unfortunately, the Background option does not appear here. I'm on version 27.2.0 of OBS. The files were unzipped in the OBS root folder. Any suggestion?

1.png
 
Unfortunately, the Background option does not appear here. I'm on version 27.2.0 of OBS. The files were unzipped in the OBS root folder. Any suggestion?

View attachment 80383
Hi, I was all set to help you but after looking at your screenshot I see you're in Windows and I on a Mac. I would suggest you google it on youtube. If you just do a generic OBS Background Removal you will need to sift through till you get this one as they don't say it in the title specifically. I'm not a programmer, but was determined to install it on my Mac, so after many days here and there and crashes I got it to work! I simply matched the extensions and folders from the installer to inside my OBS app and copied and pasted them accordingly. My opinion, it still needs some updating, but it's nice to play around with. Good luck! Oh, did you mean you had it and it doesn't work with the update? Don't know anything about that. Sorry.
 
Last edited:

richt

New Member
So have people been able to get this to work on an M1 MacBook. If you unzip the files into OBS it looks like it is built for the Intel macs. Or do you have to follow the build instructions to get it to work?
 

daveblinder

New Member
Can someone provide detailed steps on how to install this plugin on Mac for OS X? I am running Catalina. The terminal installation code does not work on my iMac. Please be specific with which files are being copied into which folders.

I believe many users are encountering this same issues. The terminal commands provided on github assume our files are being downloaded to a specific folder. Another issue is that Safari browser unzips the file by default, rendering the terminal command useless.
 
Can someone provide detailed steps on how to install this plugin on Mac for OS X? I am running Catalina. The terminal installation code does not work on my iMac. Please be specific with which files are being copied into which folders.

I believe many users are encountering this same issues. The terminal commands provided on github assume our files are being downloaded to a specific folder. Another issue is that Safari browser unzips the file by default, rendering the terminal command useless.
Here goes. Good luck!:
The Installer Zip:
-Download BR to your hard drive.
-Unzip it. Place it where you can access it on your hard drive.
You will see two folders: Plugins and Resources. You will need to install the contents of the folders from them separately.

OBS app on your Mac:
-Go to your Mac applications folder.
- Right click on the OBS App. You’ll see “Show Package contents”
-Contents - then select the plugins folder.

Installer Zip to Mac OBS package:
- From the Background Removal zip Copy “the background removal.so file” into that plugins folder of OBS that is right below the Mac OS folder. There is another plugins folder, but not that one.You won’t see it yet.

Plugins from Zip to Mac OBS app:
-From the Background removal zip that you just unzipped go to resources -data - OBS Plugins folder and copy OBS Background removal folder from your zip into your OBS plugins folder on your Mac. This will be a sub folder to the data folder, called OBS-plugins. Paste it in there.
Close up OBS file structure and then open up OBS.
This should work.

Please let me know if it works!

Want To Learn

Quote Reply
 

daveblinder

New Member
Thank you Want To Learn for the detailed OS X installation guide!

Background Removal is crashing OBS on my late 2013 iMac 3.2ghz quad core 32gb RAM running Catalina 10.15.7

crashlog attached
 

Attachments

  • OBS Crashlog BG Recover.txt
    124.2 KB · Views: 113
Thank you Want To Learn for the detailed OS X installation guide!

Background Removal is crashing OBS on my late 2013 iMac 3.2ghz quad core 32gb RAM running Catalina 10.15.7

crashlog attached
Sorry Dave, I'm not a programmer so I can't help you. If this installation was the culprit I would uninstall it. Actually I have two OBS's going at the same time. One that works and the other to experiment on. If you try to install OBS again the installer will ask you if you want to keep both, click both. They number them and you can later name them if you want.....furthermore, what I did was I would keep trying the one with background remover periodically and with the installation of other software like StreamFX and Mac security updates all of a sudden it was a little stable for a little and was more reliable, now it works good, but it may have been coincidental? It was shear insanity to try it over and over again, but it somehow worked! Also, did you delete your earlier attempts? After I deleted the installer that I put in the package contents as advised by the website it worked better. Although, when I chose Robust Video Matting it crashed at that moment so I didn't choose it anymore. It might also be the horsepower of your old mac, but again I'm not a programmer. Good luck!.....Oh, the 2nd OBS sharers basic resources, so if you delete an important resource in one then you might miss it in another. BR shows up in a different spot, but not usable.
 
Last edited:
indyjoe97 I wish I could help you, However, as mentioned I am not a programmer I just kept trying and trying and found that solution which works for some and myself. Can I ask, what do you see in OBS? I was seeing Background Remover in the right place and the wrong place in my attempts. Then I would see "no properties available " until I installed it correctly. Which Mac OS are you using?
 

JBaker

New Member
royshilkrot submitted a new resource:

Background Removal - Portrait Segmentation - Remove the background in your camera video with the power of neural networks.



Read more about this resource...
Hi,
Thanks for what sounds great.
Has anyone got this working on ubuntu 20.0.4.
It looks as though on linux its a build from scratch. I followed the instruction on the git hub. Make there is no makefile or build rules.
The cmake also fails for simular reasons.
If someone has been able to make this work on 20.0.4 would you please let me know what you did / links etc .
Thank you
 

omnionus

New Member
I am unable to get this plugin to show up on OBS. Using version 27.2.4, 64bit, on Windows 7. I've seen a few people mention missing DLL dependencies, but that is WAY over my head. Does anyone have a Win7 fix out yet?
 
I am unable to get this plugin to show up on OBS. Using version 27.2.4, 64bit, on Windows 7. I've seen a few people mention missing DLL dependencies, but that is WAY over my head. Does anyone have a Win7 fix out yet?
Ominous, I would check system requirements. I thought this plugin was for later than Win 7., but check to make sure as I am on a Mac and sometimes do virtual windows .
 

madry

New Member
Hello im kind of new here and not sure if this is the right place for this but I seem to be having this weird issue now where whenever I select the specific option GPU - DIRECTML / Robust Video Matting OBS crashes and only that option/features all other options/features seem to work fine here is the crash log below ive reformatted my pc thinking it had to be something else and then reinstalled the obs background remover files then restored the backup and im still having issues any help is appreciated in advanced thanks
Thread 41B0: libobs: graphics thread (Crashed)
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000E8106FE7C0 00007FFF094A5850 0000022D6F250A38 0000000000000001 0000022D6F250980 0000022D7C20F040 obs-backgroundremoval.dll!0x7fff094a5850
000000E8106FE840 00007FFF094A95CE 0000078000000438 0000000000000000 0000022D7C73E300 0000022D7C73E300 obs-backgroundremoval.dll!0x7fff094a95ce
000000E8106FECE0 00007FFF094A29F2 0000022D7239A700 0000000000000438 0000022D7239A700 0000000000000000 obs-backgroundremoval.dll!0x7fff094a29f2
000000E8106FF250 00007FFF42C15E1F 0000000000000438 0000022D7239A700 0000022D7CA86200 00007FFF42BE3510 obs.dll!obs_source_update_async_video+0xaf
000000E8106FF290 00007FFF42C16D3F 0000000044870000 0000022DC2C80000 8000000080000000 0000000000000000 obs.dll!render_video+0x9f
000000E8106FF2C0 00007FFF42C1610E 0000000000000438 0000000000000780 0000000000000780 0000022D7CA86200 obs.dll!obs_source_video_render+0x7e
000000E8106FF2F0 00007FFF42C4C420 0000022D7CA86200 000000E8106FF500 0000022D72322F20 0000000000000000 obs.dll!render_item+0x230
000000E8106FF3A0 00007FFF42C46A74 0000022D72399C60 0000000000001001 0000000000000000 3F80000000000000 obs.dll!scene_video_render+0x84
000000E8106FF3F0 00007FFF42C11F9F 0000000000000000 000000E8106FF550 0000022D72399C60 0000022D6F272DC0 obs.dll!obs_source_main_render+0x9f
000000E8106FF420 00007FFF42C1610E 0000022D6F272DC0 0000000000000000 0000022D6F272DC0 0000000000000000 obs.dll!obs_source_video_render+0x7e
000000E8106FF450 00007FFF42C1AA9A 000000003D4CCCCC 0000000000000000 0000022D6F272DC0 0000022D6571BCC8 obs.dll!obs_transition_video_render+0x4ba
000000E8106FF660 00007FFF42C11F9F 0000022D6571BD08 0000000000000000 0000022D6F272DC0 0000000000000040 obs.dll!obs_source_main_render+0x9f
000000E8106FF690 00007FFF42C1610E 0000000000000000 0000022D6571BD00 0000022D6597D430 0000000000000000 obs.dll!obs_source_video_render+0x7e
000000E8106FF6C0 00007FFF42C46540 0000000000000000 0000000000000000 0000022D6571B848 0000000000000001 obs.dll!obs_view_render+0x50
000000E8106FF6F0 00007FFF42C514CE 0000000000000000 0000022D6571B848 0000000000000001 0000000000000001 obs.dll!render_video+0x10e
000000E8106FF7C0 00007FFF42C50DC0 0000000000000000 0000000000000000 0000000000000000 0000022D6571BC68 obs.dll!output_frame+0xa0
000000E8106FF900 00007FFF42C50A9E 01D8843589C1A2C9 0000000000FE5000 000001CFC21A60EC FFFFFFFFFFFFFFFF obs.dll!obs_graphics_thread_loop+0x31e
000000E8106FF9C0 00007FFF42C5073C FFFFFFFFFFFFFFFF 00007FFF51566C30 0000000000000000 000000E8106FFAB9 obs.dll!obs_graphics_thread+0x2ec
000000E8106FFA70 00007FFF5BA27A06 0000022D6A4CAAE0 0000000000000000 0000000000000000 0000000000000000 w32-pthreads.dll!ptw32_threadStart+0x126
000000E8106FFB20 00007FFF610F1BB2 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ucrtbase.dll!0x7fff610f1bb2
000000E8106FFB50 00007FFF627F7034 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7fff627f7034
000000E8106FFB80 00007FFF636C2651 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7fff636c2651
 

madry

New Member
my current workaround is to use selfie segmentation even though it is kind of choppy but I think part of the problem may have been because I accidentally installed obs before installing the graphics card driver but I tried uninstalling both things the graphics with DDU in safe mode and uninstalled obs with everything and ran ccleaner before and after restarted then installed the graphics card first then the obs but still same issue which makes me think its something different could this possibly be caused by a faulty camera because my camera is almost 6 years old now but who knows
 

madry

New Member
for everyone having the issue where it crashes on the specific setting for gpu -directml Direct video matting take the files that are provided for the background removal and take the files obs-plugins/64 bit folder and also add them into your C:\Program Files\obs-studio\bin\64bit folder im not sure if I did this the first time while installing this but It works for me now I may have overlooked some instructions lol
 

BrendonScott

New Member
Here goes. Good luck!:
The Installer Zip:
-Download BR to your hard drive.
-Unzip it. Place it where you can access it on your hard drive.
You will see two folders: Plugins and Resources. You will need to install the contents of the folders from them separately.

OBS app on your Mac:
-Go to your Mac applications folder.
- Right click on the OBS App. You’ll see “Show Package contents”
-Contents - then select the plugins folder.

Installer Zip to Mac OBS package:
- From the Background Removal zip Copy “the background removal.so file” into that plugins folder of OBS that is right below the Mac OS folder. There is another plugins folder, but not that one.You won’t see it yet.

Plugins from Zip to Mac OBS app:
-From the Background removal zip that you just unzipped go to resources -data - OBS Plugins folder and copy OBS Background removal folder from your zip into your OBS plugins folder on your Mac. This will be a sub folder to the data folder, called OBS-plugins. Paste it in there.
Close up OBS file structure and then open up OBS.
This should work.

Please let me know if it works!

Want To Learn

Quote Reply
Did anyone else get this to work? I am fairly certain I installed in correctly as it shows up in the right spot under filers. However, when I try and use it, the filer cuts off the camera completely and leaves me with only the background color of my choosing . Anyone got a fix for missing camera on this filter? Thanks
 
Did anyone else get this to work? I am fairly certain I installed in correctly as it shows up in the right spot under filers. However, when I try and use it, the filer cuts off the camera completely and leaves me with only the background color of my choosing . Anyone got a fix for missing camera on this filter? Thanks
Hi BrendonScott, If installed correctly BR should show up in audio video filters not in the effects filters below. This is where you should start. Mine didn't until I installed it correctly. It showed in the bottom effects. The easy fix would be is to resize your camera source in OBS and try it that way, but that would be too easy . Also, maybe you should try the internal Mac camera first if you are using an external camera just to see if it works. I've only used the internal camera of the Mac. Disclaimer: I'm not a programmer, but after much trial and error I got it to work on my Mac. Best of luck to you!
 

clanger9

New Member
I have tried the pre-compiled version of this plugin on a Mac M1 and it is working well (if a little heavy on the CPU). Thank you!
I'm now experimenting with a native M1 version of OBS Studio and I'd like to do the same with this plugin.
Unfortunately, I'm struggling with the build instructions as I'm not very familiar with cmake...
I think I screwed up the source code paths and cmake is complaining it can't find stuff.
To compile this from source, where should the obs-studio and obs-backgroundremoval source code folders be in relation to each other?
 
Top