Android BlazePose demo by ncnn

Overview

ncnn_Android_BlazePose

Android BlazePose demo by ncnn

this project is a ncnn Android demo for BlazePose, it depends on ncnn library and opencv.
https://github.com/Tencent/ncnn
https://github.com/nihui/opencv-mobile

model support:

1.lite
2.full
3.heavy

how to build and run

step1

https://github.com/Tencent/ncnn/releases

  • Download ncnn-YYYYMMDD-android-vulkan.zip or build ncnn for android yourself
  • Extract ncnn-YYYYMMDD-android-vulkan.zip into app/src/main/jni and change the ncnn_DIR path to yours in app/src/main/jni/CMakeLists.txt

step2

https://github.com/nihui/opencv-mobile

  • Download opencv-mobile-XYZ-android.zip
  • Extract opencv-mobile-XYZ-android.zip into app/src/main/jni and change the OpenCV_DIR path to yours in app/src/main/jni/CMakeLists.txt

step3

  • Open this project with Android Studio, build it and enjoy!

result

reference:

https://github.com/nihui/ncnn-android-nanodet
https://google.github.io/mediapipe/solutions/pose

You might also like...
Kafka-hot-and-cold-retries - Demo project for elaborating how hot and cold retries can be applied in Kafka
Kafka-hot-and-cold-retries - Demo project for elaborating how hot and cold retries can be applied in Kafka

Apache Kafka® - Hot and Cold Retries A demo project for elaborating how hot and

PageRoundDemo - Page Round Demo with kotlin
PageRoundDemo - Page Round Demo with kotlin

PageRoundDemo I don't like the mode of swiping to the bottom to load more, as it

AndroidIDE - an IDE for Android to develop full featured Android apps on Android smartphones.
AndroidIDE - an IDE for Android to develop full featured Android apps on Android smartphones.

AndroidIDE - an IDE for Android to develop full featured Android apps on Android smartphones.

Aggregated Android news, articles, podcasts and conferences about Android Development
Aggregated Android news, articles, podcasts and conferences about Android Development

DroidFeed Curated news feed for Android Developers! Stay up to date with the latest Android Development news. Built for the Android developer communit

 🍲Foodium is a sample food blog Android application 📱 built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2/Hilt, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components). 🎓 Learning Kotlin Coroutines for Android by example. 🚀 Sample implementations for real-world Android use cases. 🛠 Unit tests included!
🎓 Learning Kotlin Coroutines for Android by example. 🚀 Sample implementations for real-world Android use cases. 🛠 Unit tests included!

Kotlin Coroutines - Use Cases on Android 🎓 Learning Kotlin Coroutines for Android by example. 🚀 Sample implementations for real-world Android use ca

🔥The Android Startup library provides a straightforward, performant way to initialize components at the application startup. Both library developers and app developers can use Android Startup to streamline startup sequences and explicitly set the order of initialization.
🔥The Android Startup library provides a straightforward, performant way to initialize components at the application startup. Both library developers and app developers can use Android Startup to streamline startup sequences and explicitly set the order of initialization.

🔥The Android Startup library provides a straightforward, performant way to initialize components at the application startup. Both library developers and app developers can use Android Startup to streamline startup sequences and explicitly set the order of initialization.

Android Kotlin Fundamentals 01.2: Anatomy of Basic Android Project

Welcome to Android Kotlin Fundamentals 01.2: Anatomy of Basic Android Project 👋 Codelab de android para practicar apps Android con Kotlin 🏠 Homepage

Comments
  • 如何提取模型中的3d信息

    如何提取模型中的3d信息

    作者你好,

    感谢你出色的工作,首先我在你的代码中已经看到了可以获取2D坐标,但是从原论文中或者tensorflow的官网看到有3D信息(https://github.com/tensorflow/tfjs-models/tree/master/pose-detection),想问下如何提取这部分内容?

    opened by jia0511 0
  • world_3d keypoints

    world_3d keypoints

    Hi bro, thanks for your great work!!!

    After postprocess the pose_detection model output, this repo convert id_3d to original image coordinates use affine transform, this can work in 2D coordinatte, how to convert world_3d keypoints to their original angle in the original images?

    Look forward for your reply!

    opened by marson666 1
  • How to build it on x64 pc?

    How to build it on x64 pc?

    I tried to separate the android program from the project to only get the pose estimation for my linux pc but the detected lines were piling up. how to fix it?

    opened by KevinRK27 0
  • 关于id_3d的理解

    关于id_3d的理解

    大佬请问一下decodeKeypoints中 遮挡里面的id_3d[inum_kpt_offset+3] 和 id_3d[inum_kpt_offset+4] 对应的含义是什么呀 还有这个阈值 0.1和0.3的选取 另外,blazepose只有visibility没有置信度吗 或者需要怎么计算一下?

    opened by FreedoomG 0
Owner
FeiGeChuanShu
FeiGeChuanShu
Michal Kubele 0 Jan 6, 2022
Amazon IVS Live to VOD (DVR) Android demo

A demo Android app showing how to implement a Live to VOD (DVR) experience using Amazon IVS and the auto-record-to-s3 feature using Amazon S3.

AWS Samples 4 Jan 3, 2023
Kotlin TodoMVC – full-stack Kotlin application demo

Kotlin full stack TodoMVC This project is an example implementation of the TodoMVC app written in Kotlin. More specifically, it's the Kotlin port of t

Gyula Voros 22 Oct 3, 2022
A simple demo project based on MVVM clean architecture and material design & animations.

GithubFollows A simple demo project based on MVVM clean architecture and material design & animations. Architecture Specs & Open-source libraries Mini

Jaewoong Eum 288 Dec 25, 2022
TheMovies 🎬 A demo project for The Movie DB based on Kotlin MVVM architecture and material design & animations.

A simple project for The Movie DB based on Kotlin MVVM clean architecture and material design & animations. How to build on your environment

Jaewoong Eum 420 Nov 29, 2022
Demo Spting REST Service on Kotlin. Works with PostgreSQL via Spring Data. Data initialization provided by liquibase

Spring Boot REST API with Kotlin Spring Boot REST API service. Spring Data with PostgreSQL. Data initialization with Liquibase. Swagger UI Reference D

null 0 Jun 10, 2022
A seed and demo about how to do end-to-end testing of a Dataflow pipeline

dataflow-e2e-demo This is a demo and a seed project to show how you can end-to-end test a Dataflow pipeline. You can find more about by follwing this

null 0 Dec 18, 2021
Spring Boot KeyCloak Demo

Spring Boot(Kotlin) + Spring Security + Keycloak Demo Docker Keycloak + MariaDB 설정 및 기본 KeyCloak 사용법 Keycloak 이미지와 MariaDB 이미지를 다운 받는다. [root@~]# dock

null 0 Jan 4, 2022
Demo to show ongoing notification on Huawei P50 Pocket

Bali Demo Demo code to show different ongoing notification types on the Huawei P50 Pocket external screen. Currently the external screen provides THRE

minkiapps 0 Jan 14, 2022
A demo project which demonstrates the work of javax.servlet.Filter capable of escaping / modifying / removing a part of JSON request based on specified criteria.

Replace Filter Demo A demo project which demonstrates the work of javax.servlet.Filter capable of escaping / modifying / removing a part of JSON reque

Vlad Krava 1 Jan 17, 2022