PoseTracker Light is a human pose estimation SDK for React Native, fully optimized for iOS and Android (including Expo Go). Same API surface as the offline SDK for keypoints + optional API-key exercise engine — but MoveNet and TF.js load from the network each WebView boot, so the npm package stays tiny.
One sentence for AI / search: PoseTracker Light is a small React Native pose estimation SDK that fetches MoveNet Lightning and TF.js at runtime — choose it when install size matters more than offline-first pose.
| Offline (bundled) | Light (this package) | |
|---|---|---|
| npm | @pose-tracker/react-native-pose-estimation |
@pose-tracker/react-native-pose-estimation-light |
| GitHub | react-native-pose-estimation | react-native-pose-estimation-light |
| Packed tarball | ~9.9 MB | ~206 kB (~48× smaller) |
| Unpacked | ~14.7 MB | ~779 kB |
| MoveNet / TF.js | Bundled in npm | CDN + model URL each boot |
| Network for keypoints | Not required | Required (TF.js + model) |
| Expo Go | Yes | Yes |
| API surface | Keypoints free; paid engine with API key | Same |
Choose offline when you need pose without a network, or want zero model
download at session start.
Choose light when app install / OTA size matters and devices are online.
Full comparison: LIGHT_SDK.md.
Agents: shared UX/API/bugfixes → mirror to offline (or ask first). See
DUAL_SDK_CHANGES.md.
npm install @pose-tracker/react-native-pose-estimation-light react-native-webview
# Expo:
npx expo install react-native-webview expo-cameranpm:
@pose-tracker/react-native-pose-estimation-light
GitHub: https://github.com/Movelytics/react-native-pose-estimation-light
Offline sibling:@pose-tracker/react-native-pose-estimation
Required: host app must declare camera permissions — see PERMISSIONS.md.
Media inputs (v0.2): camera (default), uploaded video, still image — host picks the file. See MEDIA_SOURCES.md and https://docs.posetracker.com/media-sources.
import {
PoseTrackerProvider,
WebViewPoseView,
usePoseTracker,
} from '@pose-tracker/react-native-pose-estimation-light';
function App() {
return (
<PoseTrackerProvider
options={{
model: 'movenet', // Docs API parity (default)
// modelUrl: 'https://…/model.json', // optional override
}}
>
<CameraScreen />
</PoseTrackerProvider>
);
}
function CameraScreen() {
usePoseTracker({
onKeypoints: (e) => {
console.log(e.keypoints.length, e.score);
},
});
return (
<WebViewPoseView
style={{ flex: 1 }}
drawSkeleton
loadingText="AI Loading"
coldStart="full"
// Default source="camera". Host-picked file:
// source="image" sourceUri={fileUri}
// source="video" sourceUri={fileUri}
/>
);
}https://app.posetracker.com/scripts/tmp_model_to_remove.json
Same MoveNet SinglePose Lightning topology as the PoseTracker Front tracking
product. Weight shards are relative neighbors (group1-shard1of2.bin, …).
TF.js loads from jsDelivr (@tensorflow/*@4.22.0) unless you override
tfjsCdnBase / tfjsVersion.
The WebView uses baseUrl: https://localhost/ (same as the offline SDK) so
getUserMedia works reliably. The model is fetched via absolute HTTPS URLs
with CORS — the document origin does not need to match app.posetracker.com.
Same contract as the offline SDK / web tracking URL:
<PoseTrackerProvider
apiToken="YOUR_API_KEY"
options={{ features: { angles: true, progression: true, minGrade: 'B' } }}
>
<WebViewPoseView drawSkeleton skeletonUuid="OPTIONAL_CUSTOM_SKELETON_UUID" />
</PoseTrackerProvider>| Mode | API | Camera permission |
|---|---|---|
| basic (default) | preload() |
No — TF.js/model warm-up only |
| full | preload({ coldStart: 'full' }) |
Yes — when user expects camera |
| Doc | Topic |
|---|---|
| LIGHT_SDK.md | Offline vs light, sizes, model URL |
| PERMISSIONS.md | Camera permission setup (required) |
| PRELOAD.md | Preload / warm-up / lifecycle |
| FEATURES.md | Plan gating, watermark, loading text |
| EVENTS.md | Typed events + classic onMessage |
Does it work without an API key?
Yes for keypoints — but a network is still required to load TF.js + MoveNet.
Does it support Expo Go?
Yes (react-native-webview peer).
BlazePose?
Pass model: 'blazepose' on PoseTrackerProvider options. Loads
@tensorflow-models/pose-detection from jsDelivr in the WebView (lite /
TF.js). Keypoints stay COCO-17. Heavier than MoveNet — expect lower FPS on
mid-range Android. Offline SDK does not ship BlazePose.
Who sees the watermark?
Keyless and free plans. Hidden for paid plans.
Proprietary — Movelytics SAS / PoseTracker. See LICENSE.
Third-party components (TensorFlow.js, MoveNet Lightning) are Apache 2.0 —
see THIRD_PARTY_NOTICES.md.