0

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
  • 1
    The ML Kit API doesn't take in Surface Texture. You will need to convert it to a supported frame format. See documentation here: https://developers.google.com/android/reference/com/google/mlkit/vision/common/InputImage media.Image from CameraX API is supported. – Steven Oct 11 '22 at 21:46

0 Answers0