Questions tagged [segmentationselfie]

8 questions
1
vote
1 answer

MediaPipe selfie segmentation: Getting error when trying to capture stream from canvas

I'm trying to use selfie segmentation on the image from my webcam. For this, I'm using the MediaPipe lib. Here is my code const selfieSegmentation = new SelfieSegmentation({locateFile: (file) => { return…
1
vote
0 answers

How do i generate a dll file for Selfie Segmentation Mediapipe

How do i go about generating a dll file for Selfie Segmentation Mediapipe. I just couldn't figure it out since there is no source code specifically for Selfie Segmentation part, do i need to call my own functions? or is there any other way doing…
Kishore
  • 11
  • 1
0
votes
0 answers

Issue with creating segmenter using MediaPipe runtime for TensorFlow Body Segmentation in Next.js project

I'm following the tutorial for Body Segmentation with MediaPipe and TensorFlow.js. I am applying the tutorial steps into my NextJS project. When I try to create the segmenter with mediapipe runtime (runtime: 'mediapipe',), I get the following errors…
0
votes
0 answers

How do I erase a section from custom paint on flutter?

So I have this custom paint which gets ui.Image of a mask and an image both drawn on canvas. Now I made the mask be painted blue for this example but my goal is to save the canvas after I manage to completely delete the blue masked area (see example…
0
votes
0 answers

In Android, can Selfie-Segmentation be used with SurfaceTexture?

I am building a video pipeline where the input is a surface texture from CameraX. I would like to use it to do selfie segmentation with MLKit but I cannot see how. Anyone with a possible solution? Thanks
JAC
  • 287
  • 1
  • 10
0
votes
0 answers

Remove selfie background with body_detection flutter

I'm using body_detection to get the mask of the selfie in order to remove the background image then I'm trying to remove the background using a CustomPainter but not good results.!! https://pub.dev/packages/body_detection this is the…
tebitoq
  • 165
  • 1
  • 13
0
votes
1 answer

MLKit: Remove background from video capture using MLKSegmentationMask

I am using MLKit for iOS for Selfie Segmentation. In their sample project they are using a coloured mask to identify the background. I need to remove the background using MLKSegmentationMask and from…
Adeel Ur Rehman
  • 616
  • 5
  • 14
0
votes
1 answer

Using Google MLKit in an iOS Framework

I have a swift framework and in that framework I am using GoogleMLKit/SegmentationSelfie. Because MLKit is only available via cocoa pods I have had to convert my project to a pods project and I import the MLKit library as follows. # Uncomment the…
AngryDuck
  • 4,358
  • 13
  • 57
  • 91