资源算法openpose_explained

openpose_explained

2020-03-09 | |  97 |   0 |   0

OpenPose Explained

This work would be impossible without Ildoo Kim.

Material regarding my talks at EuroSciPy 2018 and PyConES 2018.

There are 4 notebooks:

  • 3 notebooks start 3 different ROS nodes: 1 that reads frames from your webcam, 1 that process those frames using OpenPose and 1 that displays the output image in a window.

  • 1 notebook allows you to compare the different versions of OpenPose (which I've called VGG and Mobile). One of them uses standard convolutions while the other depthwise convolutions.

Set up

(0) Install Docker.

(1) Build the image.

$ sudo docker build openpose_ros .

(2) Run a container.

sudo docker run --rm -it 
   --ipc=host -p 8888:8888 
   --device=/dev/video0:/dev/video0 
   --env="DISPLAY" 
   --env="QT_X11_NO_MITSHM=1" 
   --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" 
   openpose_ros bash

(3) Run roscore on background.

$ roscore &

Once roscore is all set (this will take a few seconds), Ctrl+C to return to the command line while roscore still runs on background.

(4) Run Jupyter.

$ jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root

Now you can go to your browser and access the notebook through http://localhost:8888/?token=HERECOMESYOURTOKEN.
Important: modify the last address adding the token generated by Jupyter at start.

(5) Needed to see in your screen the windows generated in the docker container.

$ xhost +local:root


上一篇:OpenPose-Rebuilt-Python

下一篇:openpose_ros_wrapper

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...