Giter Site home page Giter Site logo

ksato-dev / openpose-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esemeniuc/openpose-docker

0.0 0.0 0.0 22 KB

A docker build file for CMU openpose with Python API support

Home Page: https://hub.docker.com/r/cwaffles/openpose

Dockerfile 24.00% Python 76.00%

openpose-docker's Introduction

openpose-docker

A docker build file for CMU openpose with Python API support

https://hub.docker.com/r/cwaffles/openpose

Requirements

Getting started

cloning the repo.

$ git clone https://github.com/esemeniuc/openpose-docker.git

build the image using dockerfile

$ cd ./openpose-docker
$ sudo docker build -t openpose .

start docker env.

$ sudo docker run --gpus all --name openpose -it openpose_v1:latest /bin/bash

build python openpose

$ cd /openpose/build/python/openpose
$ make install

setup env. for pyopenpose

$ cd /openpose/build/python/openpose
$ cp ./pyopenpose.cpython-36m-x86_64-linux-gnu.so /usr/local/lib/python3.6/dist-packages
$ cd /usr/local/lib/python3.6/dist-packages
$ ln -s pyopenpose.cpython-36m-x86_64-linux-gnu.so pyopenpose
$ export LD_LIBRARY_PATH=/openpose/build/python/openpose
$ python3
>>> import pyopenpose as op
>>> 

run examples

# download model
$ cd /openpose/models
$ bash getModels.sh

# test python examples
$ cd /openpose/examples/tutorial_api_python
# please follow this commit to fix code(https://github.com/u0251077/openpose-docker/commit/f7cb071b6cca51de7c0404e064b4344eb1c075df)
$ python3 01_body_from_image.py

๐Ÿ‘ (success)

result

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.