Skip to content

A modified version of TFJS Pose Detection model (MoveNet.SinglePose.Ligntning) using TFJS React Native in an Expo project.

Notifications You must be signed in to change notification settings

SadmanYasar/tensorflow-pose-detection-react-native-expo

Repository files navigation

Overview

A modified version of TFJS Pose Detection model (MoveNet.SinglePose.Ligntning) using TFJS React Native in an Expo project. It supports both portrait and landscape mode with front and back camera. Only the keypoints are rendered in the demo.

Note

This project uses Expo SDK 49 and jsc instead of Hermes. FPS is very low on my phone, around 3-4 FPS.

I updated Camera.Constants.Type to CameraType.front/back.

Added 3 additional props to TensorCamera according to this documentation.

Also updated tsconfig.json to use settings for Expo SDK 49.

Update 9/23/2023: Stopping development on this project for now. Will experiment with Flutter and Firebase MLkit.

Installation

To run it locally:

$ yarn
$ yarn start

Then scan the QR code to open it in the Expo Go app.

If the app crashes on startup, see here for more info.

About

A modified version of TFJS Pose Detection model (MoveNet.SinglePose.Ligntning) using TFJS React Native in an Expo project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published