Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommendation: ability to change background while running. #70

Open
MartinKlevs opened this issue Apr 15, 2021 · 3 comments
Open

Recommendation: ability to change background while running. #70

MartinKlevs opened this issue Apr 15, 2021 · 3 comments
Labels
experimental Things we want to play with outside the stable build

Comments

@MartinKlevs
Copy link

MartinKlevs commented Apr 15, 2021

Restarting the process could be inconvenient in some scenarios. The simplest way to do this would be to regularly check whether the background file has been replaced.

@BenBE
Copy link
Collaborator

BenBE commented Apr 15, 2021

If you need the ability to change the background at any time it's best to use a tool like OBS Studio and use deepseg only to perform the background segmentation. That's also what the s shortcut on the debug window is for, so you can disable the background replacement at any time when another tool is providing the background for you instead.

@MartinKlevs
Copy link
Author

MartinKlevs commented Apr 16, 2021

This would work fine for a pixel-sharp segmentation, however I am experimenting with smooth mask borders and a smooth transition is hard to fix properly in OBS. One could also output just the mask and mix it with the webcam in OBS, however that can lead to problems with multiple programs accesing the webcam.

Besides that, it would also be a good convenience feature, that uses less resources, and takes less effort, than mixing with OBS.

@phlash
Copy link
Collaborator

phlash commented Apr 23, 2021

Possibly related to #43 where local file input / video stream backgrounds are discussed, tagging as an experiment to try..

@phlash phlash added the experimental Things we want to play with outside the stable build label Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Things we want to play with outside the stable build
Projects
None yet
Development

No branches or pull requests

3 participants