Tencent / TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.
Other
4.38k stars 766 forks source link

where is the key code of blazepose and its tnn inference. #1270

Open henbucuoshanghai opened 3 years ago

henbucuoshanghai commented 3 years ago

i want to run blazepose on my phone ?where is the key code of tnn model?tks

darrenyao87 commented 3 years ago

@henbucuoshanghai you can follow the guide to run example project on android or ios, the example project includes the pose demo

darrenyao87 commented 3 years ago

@henbucuoshanghai here is the doc for runing example project. https://github.com/Tencent/TNN/blob/master/doc/en/user/demo_en.md

henbucuoshanghai commented 3 years ago

姿势检测 demo ./demo_x86_posedetector -p ../../../../model/skeleton/skeleton_big.tnnproto -m ../../../../model/skeleton/skeleton.tnnmodel -i ../../../assets/skeleton_test.jpg

thanks you for your help. this is blazepose?

Maosquerade commented 3 years ago

The source code at https://github.com/Tencent/TNN/blob/master/examples/base/skeleton_detector.cc,and you can find the ios/android sdk file on examples with keyword SkeletonDetector or skeleton_detecotor