In this app, we will track body movements and position with Pose Estimation
For the full tutorial, visit our post on Heartbeat.
This example app uses the on-device Pose Estimation API for Android.
- Android Studio 3.2 or above
- Android device in developer model (USB debugging enabled)
Step 1: Create a Fritz Account
In order to use Fritz, please register for a free account.
Step 2: Clone / Fork the fritz-android-tutorials repository and open the PoseEstimationApp in Android Studio
git clone https://github.com/fritzlabs/fritz-android-tutorials.git
In Android Studio, choose "Open an existing Android Studio project" and select
Step 3: Build the Android Studio Project
Select "Build > Make Project" from the top nav. Download any missing libraries if applicable. This should sync the gradle dependencies so give the build a second to complete.
Step 4: Install the app onto your device
With your Android device connected, select
Run > Run App from the top nav. When running the app for the first time, you'll have to give permissions to access the camera. After the app is installed and running, point your camera at someone to detect 17 different body keypoints.
For any questions or issues, you can: