1. Clone repository to desired location, well call it OPENPOSE_ROOT.
2. If running OpenCV 3.0 , modify OPENPOSE_ROOT/3rdparty/caffe/Makefile.config.Ubuntu16_cuda8.example and uncomment
OPENCV_VERSION := 3
and check cuda path , change if necessary eg.
CUDA_DIR := /usr/local/cuda-8.0
3. Open the Makefile in the OPENPOSE_ROOT 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