Skip to content

silasalves/ros_openpose

 
 

Repository files navigation

ros_openpose

ROS wrapper for OpenPose | It supports (currently but others are planned)-

✔️ Intel Realsense Camera



Sample video showing visualization on RViz

Dependencies

  1. OpenPose
  2. realsense-ros

Compilation

  1. Make sure to download the complete repository. Use git clone https://github.com/ravijo/ros_openpose.git or download zip as per your convenience.
  2. Invoke catkin tool inside ros workspace i.e., catkin_make

Troubleshooting

  1. While compiling the package, if the following error is reported at the terminal-

    error: no match for ‘operator=’ (operand types are ‘op::Matrix’ and ‘const cv::Mat’)
    

    In this case, please update the OpenPose. Most likely, an old version of OpenPose is installed. So please checkout Openpose from the master branch as described here. Alternatively, you can checkout OpenPose version 1.5.1 by running the following command at the root directory of OpenPose installation-

    git checkout tags/v1.5.1
    

    Do not forget to run sudo make install to install the OpenPose system-wide.

Steps to run

  1. Make sure that ROS env is sourced properly by executing the following command-
    source devel/setup.bash
    
  2. Invoke the single launch file by executing the following command-
    roslaunch ros_openpose run.launch
    

The standard openpose command-line arguments are also supported. To do so, please set the value of openpose_args by editing the run.launch file as shown below-

<arg name="openpose_args" value="--face --hand"/>

Note

This package has been tested on the following environment configuration-

Name Value
OS Ubuntu 14.04.6 LTS (64-bit)
RAM 16 GB
Processor Intel® Core™ i7-7700 CPU @ 3.60GHz × 8
Kernel Version 4.4.0-148-generic
ROS Indigo
GCC Version 5.5.0
OpenCV Version 2.4.8
OpenPose Version 1.5.1
GPU GeForce GTX 1080
CUDA Version 8.0.61
cuDNN Version 5.1.10

About

ROS wrapper for OpenPose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 69.1%
  • Python 18.1%
  • CMake 12.8%