react-native-mediapipe icon indicating copy to clipboard operation
react-native-mediapipe copied to clipboard

enable access to segmentation masks in posedetection

Open cdiddy77 opened this issue 1 year ago • 0 comments

The segmentation mask for each pose is a 2d array of values, an image essentially, which represents the mask. This obviously should not be transferred across the native <=> js boundary on every frame, as it is a 1080p bitmap. But it supplies the information to do basic green-screening of the poser, which certainly has potential.

Somehow the web version does expose it. You can turn it on in the mediapipe web demo.

cdiddy77 avatar Jun 23 '24 23:06 cdiddy77