A 2020 Guide for Installing OpenPose
OpenPose is a real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints. It is built on 3rd party packages such as OpenCV and caffe.
Since I found that things do not work out if simply following the previous instruction. That is why I wrote this bug-free version of my installation. Hope it helps.
Part 1: Prerequisites
Step 1: Uninstall Anaconda (if any)
rm -rf anaconda3/
Note: simple remove is good enough, although purge can work fine too.
Step 2: Install protobu
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
./configure
make
make check
sudo make install
sudo ldconfig
Step 3: Install CMake GUI
Important: CMake 3.16 has issues with OpenSSL, use 3.15 instead. Required CMake version > = 3.12.
sudo apt purge cmake-qt-guisudo apt-get install qtbase5-dev
Download CMake from the website , unzip it and go inside that folder. In my case, I picked “cmake-3.15.6.tar.gz”.
./configure --qt-gui
./bootstrap && make -j`nproc` && sudo make install -j`nproc`
Step 4: Install Caffe