Installing OpenPose on Ubuntu 16.04 with CUDA 8.0

1. Clone repository to desired location, well call it OPENPOSE_ROOT.

git clone --recursive

2. If running OpenCV 3.0 , modify OPENPOSE_ROOT/3rdparty/caffe/Makefile.config.Ubuntu16_cuda8.example and uncomment
and check cuda path , change if necessary eg.
CUDA_DIR := /usr/local/cuda-8.0

3. Open the Makefile.example in the OPENPOSE_ROOT/ubuntu/ directory, and modify the following

LIBRARIES += opencv_core opencv_highgui opencv_imgproc opencv_objdetect opencv_imgcodecs opencv_videoio

4. Run bash script to install from OPENPOSE_ROOT

bash ./ubuntu/