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

Feature request : Adding custom backgrounds for video using Selfie Segmentation MediaPipe Solution #87

Open
shivaylamba opened this issue Jun 7, 2021 · 7 comments
Assignees
Labels
enhancement New feature or request Intermediate

Comments

@shivaylamba
Copy link

shivaylamba commented Jun 7, 2021

Is your feature request related to a problem? Please describe.
No it is a new feature request.

Describe the solution you'd like
Using the newly announced MediaPipe Selfie Segmentation Solution for Web to allow dynamic background change during live video. ( Refer : https://google.github.io/mediapipe/solutions/selfie_segmentation.html )

Describe alternatives you've considered
The https://github.com/tensorflow/tfjs-models/tree/master/body-pix Bodypix model can also do body segmentation. But the Selfie Segmentation model is lighter.

Approach to be followed (optional)

  • Use the CDN link or NPM package for MediaPipe.
  • Define the model type ( General or Landscape )
  • Define the canvas element and Video capture device
  • Load the model and send the canvas as the input element
  • Wait for the segmentation mask to be generated
  • Choose between different types of backgrounds

Additional context

@welcome
Copy link

welcome bot commented Jun 7, 2021

Hello there!👋 Welcome to the project!🚀⚡

Thank you and congrats🎉for opening your very first issue in this project. Please adhere to our Contributing Guidelines.🙌 You may submit a PR if you like, make sure to follow our Pull Request Template. If you want to report a bug🐞 please follow our Issue Template. Also make sure you include steps to reproduce it and be patient while we get back to you.😄

Feel free to join our Discord Community.💖 We have different channels for active discussions.✨ Hope you have a great time there!😄

@shivaylamba
Copy link
Author

@sansyrox @midopooler would like to discuss about this implementation with you all

@sansyrox
Copy link
Member

sansyrox commented Jun 7, 2021

@shivaylamba , adding custom backgrounds is not a part of the current roadmap. We would like to improve the facemesh detection feature first.
Custom backgrounds is definitely a good feature to consider for future roadmaps, however, if you or @midopooler be able to help us with implementing that, we would really appreciate it.

@sansyrox
Copy link
Member

sansyrox commented Jun 7, 2021

@shivaylamba , we can discuss this on our weekly community call on Sunday.

@shivaylamba
Copy link
Author

Sure @sansyrox

@shivaylamba
Copy link
Author

Can you share details of the weekly community call?

@sansyrox
Copy link
Member

sansyrox commented Jun 7, 2021

They usually take place on Sunday around 5pm. I will share the link with you later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Intermediate
Projects
None yet
Development

No branches or pull requests

4 participants