Skip to content

Instantly share code, notes, and snippets.

@wbadart
Created September 25, 2018 13:08
Show Gist options
  • Save wbadart/1c9381c0cc0738e1233031fbc89aa3c5 to your computer and use it in GitHub Desktop.
Save wbadart/1c9381c0cc0738e1233031fbc89aa3c5 to your computer and use it in GitHub Desktop.
OpenPose compilation environment
FROM bvlc/caffe:gpu
RUN git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose.git
RUN cd openpose && mkdir -p build && cd build \
&& cmake -DBUILD_CAFFE=OFF -DBUILD_PYTHON=ON \
-DCaffe_INCLUDE_DIRS="/opt/caffe/include;/opt/caffe/build/include;" \
-DCaffe_LIBS=/opt/caffe/build/lib/libcaffe.so .. \
&& make && make install
RUN pip install opencv-python
CMD bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment