onexuan / ncnn_Android_PP-TinyPose

ncnn Android demo of PP-TinyPose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ncnn_Android_PP-TinyPose

ncnn Android demo of PP-TinyPose

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

model support:

1.tinypose_128x96
2.tinypose_256x192

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://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/keypoint/tiny_pose

About

ncnn Android demo of PP-TinyPose


Languages

Language:C++ 87.4%Language:Java 11.8%Language:CMake 0.9%