# MediaPipe PoseLandMarker For Android **Repository Path**: a15229220972/media-pipe-for-android ## Basic Information - **Project Name**: MediaPipe PoseLandMarker For Android - **Description**: 我简化了MediaPipe官方示例的代码,以便开发者更专注功能的实现。 黑屏请添加权限,resultBundle.results.first().landmarks().toString()为结果(CameraFragment文件中) - **Primary Language**: Kotlin - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-31 - **Last Updated**: 2024-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 我简化了MediaPipe官方示例的代码,以便开发者更专注功能的实现。 以下是官方原文: # MediaPipe Tasks Pose Landmark Detection Android Demo ### Overview This is a camera app that can detects landmarks on a person either from continuous camera frames seen by your device's back camera, an image, or a video from the device's gallery using a custom **task** file. The task file is downloaded by a Gradle script when you build and run the app. You don't need to do any additional steps to download task files into the project explicitly unless you wish to use your own landmark detection task. If you do use your own task file, place it into the app's *assets* directory. This application should be run on a physical Android device to take advantage of the camera. ![Pose Landmarker Demo](pose_landmarker.png?raw=true "Pose Landmarker Demo") [Public domain video from Lance Foss](https://www.youtube.com/watch?v=KALIKOd1pbA) ## Build the demo using Android Studio ### Prerequisites * The **[Android Studio](https://developer.android.com/studio/index.html)** IDE. This sample has been tested on Android Studio Dolphin. * A physical Android device with a minimum OS version of SDK 24 (Android 7.0 - Nougat) with developer mode enabled. The process of enabling developer mode may vary by device. ### Building * Open Android Studio. From the Welcome screen, select Open an existing Android Studio project. * From the Open File or Project window that appears, navigate to and select the mediapipe/examples/pose_landmarker/android directory. Click OK. You may be asked if you trust the project. Select Trust. * If it asks you to do a Gradle Sync, click OK. * With your Android device connected to your computer and developer mode enabled, click on the green Run arrow in Android Studio. ### Models used Downloading, extraction, and placing the models into the *assets* folder is managed automatically by the **download.gradle** file.