How do I add an image as a virtual background using ML Kit Selfie segmentation? I am following the example project from github and I got it working with a colored overlay. But I dont understand how to replace that overlay with a picture. In this question, I can see that it is possible: Poor selfie segmentation with Google ML Kit. I copied code from https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart to get the pink overlay. I should also mention that I am using this in streaming mode.
Asked
Active
Viewed 117 times
1
-
This maybe helpful: https://github.com/googlesamples/mlkit/issues/610 – Steven Jan 21 '23 at 00:31