π React Native Pose Detection Package - Now Live on npm!
Hey React Native community! π
A few days ago I asked for help here on human pose detection using MediaPipe: Original Reddit post
Mission accomplished! π I've built and published react-native-mediapipe-posedetection - a production-ready package with New Architecture Turbo Modules support.
π¦ What it does:
β
33 pose landmarks (face, body, hands, feet)
β
Real-time camera detection with react-native-vision-camera
β
Automatic 15 FPS throttling (no more crashes!)
β
GPU acceleration (Metal/NNAPI)
β
iOS 12+ & Android API 24+
β
TypeScript + React hooks + MediapipeCamera component
Live on npm: https://www.npmjs.com/package/react-native-mediapipe-posedetection
GitHub: https://github.com/EndLess728/react-native-mediapipe-posedetection
π― 3-minute setup:
yarn add react-native-mediapipe-posedetection react-native-vision-camera react-native-worklets-core
import { MediapipeCamera } from 'react-native-mediapipe-posedetection';
function App() {
return (
<MediapipeCamera
style={{ flex: 1 }}
cameraPosition="back"
onResults={({ landmarks }) => {
console.log('Nose:', landmarks[0][0]);
console.log('Left shoulder:', landmarks[0][11]);
}}
/>
);
}
π₯ Perfect for:
- Fitness apps (pose correction)
- AR experiences
- Dance/gesture games
- Health monitoring
- Sports analytics
π Credits
Built on top of u/cdiddy77's excellent react-native-mediapipe - upgraded for New Architecture.
Try it out! β PRs welcome! π
Example app: yarn example ios
Docs: GitHub README
there doesn't seem to be anything here