cdiddy77 / react-native-mediapipe

A React Native Camera and Player for MediaPipe applications.
MIT License
10 stars 12 forks source link

enable access to segmentation masks in posedetection #136

Open cdiddy77 opened 3 months ago

cdiddy77 commented 3 months ago

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.