I've talked about it before based on tensorflow Of openpose Version installed , But I don't think so caffe The frame is so easy to use , Many functions can't be realized , Such as regulation net_resolution The adjustment of , By adjusting the resolution to improve the accuracy and speed of detection . And hands. 、 Face and foot key recognition , For now ,tensorflow None of the versions mentioned .
So seek caffe There are many advantages to the framework , I hope small partners who want to develop large-scale projects still choose caffe Version of , The source code is c+. If you don't know much about it c++ My friends , May adopt python api Project development .

If there is something unclear in this article , You can refer to the following installation tutorials for bloggers .
## 1.https://medium.com/pixel-wise/real-time-pose-estimation-in-webcam-using-openpose-python-2-3-opencv-91af0372c31c 2.https://blog.techbridge.cc/2019/01/18/openpose-installation/ 3.https://blog.csdn.net/qq_20226441/article/details/82380030 4.https://blog.csdn.net/zb1165048017/article/details/82115724

openpose c++ Environment construction of :
openpose1.5.0 + vs2017 +cuda10.2 + cudnn7 + win10

1.openpose Acquisition

open https://github.com/CMU-Perceptual-Computing-Lab/openpose
choice openpose1.5.0 The latest version , Click on clone or download, Download to the project directory .

2.vs2017 Installation , It is recommended that you install in the default path

3.cuda and cudnn install

cuda Official website :https://developer.nvidia.com/cuda-downloads
cudnn Official website :https://developer.nvidia.com/cudnn
My links :https://pan.baidu.com/s/1Qyi9BUHf26b5ftCUr1FJKA
Extraction code :ukp3

4. Download the model file

1. Follow the directory to open the file :\openpose\3rdparty\windows Next, find four .bat Run the batch file once to automatically download the required environment .( I tried to run very slowly , You can download it from your browser , It's faster )

2. stay \openpose\models Find below getModels.bat Batch files run to download the required model .

5.cmake install

6. Build project ( As shown in the figure below )

single click configure To configure , Maybe download some files ,
Pay attention to choose the appropriate vs edition , The default is vs2017, if 64 Bit platform selection win64
Wait for the progress bar to finish , A red background indicates new content , It is suggested that all model Check all of them , because coco and mpi The model is relative body_25 It's simpler , It can speed up the operation .
Remember to gpu-mode Change to cuda
single click generate Generating engineering files , Maybe download some files .

7. Build a library

use Visual Studio 2015 Open build/OpenPose.sln Archives
Switch to the Release Mode And Build Project
This is very important , If it's not changed to release, hinder python api Will fail to start .
8. Run the test
Will want to run the project (openposedemo perhaps tutorial The project in ) Right click Set as start project f5 function .

important :

If all the above steps are done , It should be possible in
openpose\build\python\openpose\Release notice
openpose_python.cp36-win_amd64.pyd library file .
(OpenPose The original is to use C++ It's written , Yes, it is pybind11 Baocheng Python You can call library, there cp36 refer to python3.6 edition , Be sure to pay attention to , After that, the environment changed , And recompile .)

After completing the above steps , You can go to \openpose\build\examples\tutorial_api_python The files needed to run .
such as openpose_python.py, This is the running camera , For real-time detection .
Be careful :dir_path, It means you openpose Installation directory , If you change the project environment , It needs to be changed to the following absolute path .

Here's how to modify the parameters , It involves a lot of parameters , Later, we will introduce the meaning of the relevant parameters . You can also view the relevant documents yourself .
Later, there will be related openpose Documentation of , Very interesting , There are many things to pay attention to .
At present, the development and collation of related projects are in progress , Interested partners can join the discussion , Of course, the party refused , I hope you can respect each other's achievements , Opportunities for cooperation .

openpose c++ Configuration tutorial + python api More articles about

  1. Python Study 1 One Python2.75 Installation and environment configuration tutorial

    Python2.75 Installation and environment configuration tutorial Python The grammar is simple , Powerful , There are a lot of third-party development packages ( modular ), Perfect for beginners . meanwhile Python Unlike java Also, the memory requirement is very high , Suitable for doing some regular tasks ...

  2. Django Rest Framework Course and API The wizard

    Django Rest Framework Course and API The wizard . One . request (Request)REST_FRAMEWORK Medium Request Expanded the standard HttpRequest, by REST_FRAM ...

  3. Termux Advanced terminal installation and configuration tutorial

    Termux Advanced terminal installation and configuration tutorial , This article has been delayed for half a year . Because the related articles on the Internet are relatively few , Just today, I'm brushing the machine again , So let's sum it up , I hope this article can help other small partners . Develop Android The platform is bigger ...

  4. Appium python API summary

    Appium python api according to testerhome The article , Add something that is not mentioned in the article API [TOC] [1]find element driver Methods Be careful : These methods can only be used sel ...

  5. hudson Configuration tutorial

    Hudson Configuration tutorial hudson It's a good one Show's open source tools , Unfortunately, it was developed by little Japan . That's not good . Take it and use it . Our company (Qisda) Its purpose is to It's used to grab at night Android Code for , Then compile , preservation img file , Then root ...

  6. 《Spark Python API Official document in Chinese 》 And pyspark.sql ( One )

    Abstract : stay Spark In development , Because of the need to use Python Realization , Find out API And Scala Slightly different , and Python API There are relatively few materials in Chinese . Every time I check the English version API The explanation is relatively slow , The Chinese version is easier get To what you need , ...

  7. boost.python Introductory tutorial ----python The embedded c++

    Python Introduction to language Python Is a scripting language . Known for its open development interface and unique Syntax . Even though Python It's only a few years since it was noticed at home , But actually Python In the last century 90 years ( According to the www.python.or ...

  8. HBase Python API

    HBase Python API HBase adopt thrift Mechanism can realize multi language programming , Information passes through the port , therefore Python It's a good choice Make complaints Blogger in Mac On the configuration HBase, How Zoomkeeper Has been submitted to the ...

  9. Mac Configuration tutorial - Development of article

    take Mac Daily use of software and development software to distinguish , Put what was written before Mac The article on configuration is divided into two parts : Mac Configuration tutorial - Everyday Mac Configuration tutorial - Development of article Picture bed iPic Set shortcut key Command+Shift+u ...

  10. Two 、Blender/Python API The overview

    original text :https://docs.blender.org/api/blender_python_api_current/info_overview.html Python in Blender  Ble ...

Random recommendation

  1. [ placeholder - Hang in the air ]scikit-learn General example 10 : Nuclear ridge regression and SVR Comparison

    [ placeholder - Hang in the air ]scikit-learn General example 10 : Nuclear ridge regression and SVR Comparison

  2. Tesseract-OCR text2image.exe [ x86 Support XP ]

    Tesseract-OCR Tools text2image.exe , Download others compiled in win The system doesn't work properly . Toss for a long time, finally compiled to work properly . --font="font name ...

  3. linux Performance analysis tool

    overview uptime dmesg | tail vmstat 1 mpstat -P ALL 1 pidstat 1 iostat -xz 1 free -m sar -n DEV 1 sar -n T ...

  4. [SSH service ]——SSH Port forwarding

    Experimental Topology Description of the experiment Suppose there are three hosts A.B.C.B and A.C Can connect ,AC The two hosts are not connected . At this time, you can use the local port to forward , To achieve A and C adopt B To connect . In the experiments , In order to construct the above environment , We use three virtual machines , Its network ring ...

  5. python The road to automation day 06

    ATM Homework explanation : Data access layer Business logic layer time & datetime modular import time # print(time.clock()) # Return processor time ,3.3 At first it was abandoned , Changed to ...

  6. stellar.js Parallax Scrolling

    1. Introduction package <script src="js/jquery.min.js"></script> <script src="js/jquery. ...

  7. JS Click replication

    One . Principle analysis The browser provides copy command , You can copy the selected content document.execCommand("copy") If it's an input box , Can pass  select()  Method , Select input ...

  8. double, Loss of precision

    double, Loss of precision : amount.doubleValue() * Use BigDecimal: public static double add(double d1,double d2){ Bi ...

  9. Python Crawling Doutu expression , Let's make you a big doodle

    Don't talk much , Last result ( Just climbed 10 Page content ) Code up :( Direct operation )   be used Xpath #encoding:utf-8 # __author__ = 'donghao' # __time__ = 2018/ ...

  10. MySql5.5 install (windows)

    First, post the installation package 32 Bit installation package link :https://pan.baidu.com/s/1AGLpcKv1I4kvWjPsVMyS8Q password :xypy 64 Bit installation package link :https://pan.baidu. ...