Background Removal - Portrait Segmentation

Background Removal - Portrait Segmentation v0.4.0

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?
Hi Clanger, I would like to help, but I am not a programmer and I'm not sure if I understand your question either. However. I had written a step by step set of instructions for this board a while back to install it on the Mac which I can't seem to find tonight for some reason. I am also swamped with work responsibilities to. I was determined to figure it out and just copied files that I though belonged in a certain folder based on their name and where it resided in the installation download. i.e. the .so in the .so folder. I did a lot of trial and error and crashes until it finally worked. If this info is what you need I can try to look for it, but it might be on a zip drive that I no longer use. if not, then I can't help you, sorry! Please let me know and if I can find some time I will look for it or type it again. Good luck!
 

clanger9

New Member
Hi Clanger, I would like to help, but I am not a programmer and I'm not sure if I understand your question either. However. I had written a step by step set of instructions for this board a while back to install it on the Mac which I can't seem to find tonight for some reason. I am also swamped with work responsibilities to. I was determined to figure it out and just copied files that I though belonged in a certain folder based on their name and where it resided in the installation download. i.e. the .so in the .so folder. I did a lot of trial and error and crashes until it finally worked. If this info is what you need I can try to look for it, but it might be on a zip drive that I no longer use. if not, then I can't help you, sorry! Please let me know and if I can find some time I will look for it or type it again. Good luck!
Hi Want To Learn yes, I can install the pre-compiled plugin manually and it works fine on the OBS Studio release. The process for this is: right click on the OBS app, "Show package contents", then copy the contents of the plugin package to the relevant places in there (Resources & Plugins). This works with the current release of OBS Studio.
However, I want to compile this plugin from source, as I'm experimenting with a native M1 build of OBS Studio. This is where I'm struggling.
The instructions here don't work for me https://github.com/royshil/obs-backgroundremoval#mac-osx
Specifically this line cmake .. -DobsLibPath=/Applications/OBS.app/Contents/Frameworks -DobsIncludePath=~/Downloads/obs-studio/libobs
 
Hi Want To Learn yes, I can install the pre-compiled plugin manually and it works fine on the OBS Studio release. The process for this is: right click on the OBS app, "Show package contents", then copy the contents of the plugin package to the relevant places in there (Resources & Plugins). This works with the current release of OBS Studio.
However, I want to compile this plugin from source, as I'm experimenting with a native M1 build of OBS Studio. This is where I'm struggling.
The instructions here don't work for me https://github.com/royshil/obs-backgroundremoval#mac-osx
Specifically this line cmake .. -DobsLibPath=/Applications/OBS.app/Contents/Frameworks -DobsIncludePath=~/Downloads/obs-studio/libobs
Yes Clanger, unfortunately it's beyond my understanding so I wish you ALL the best!
 
Top