firephinx / openpose_ros

ROS Catkin package wrapper for the OpenPose library from https://github.com/CMU-Perceptual-Computing-Lab/openpose.
55 stars 44 forks source link

Running openpose_ros #4

Closed ghost closed 6 years ago

ghost commented 6 years ago

When I run you're program, $ rosrun openpose_ros openpose_ros_node

I get this error Error: Size(sourcePtrs) must match size(sourceSizes) and size(scaleInputToNetInputs). Currently: 2 vs. 2 vs. 1.

Coming from:

I am not sure of where to edit... Any help will be wonderful! Thanks in advance.

ghost commented 6 years ago

Adding some info:

I am currently using cv_camera which publishes /cv_camera/image_raw So is there a need for me to convert it to an OpenCV message? Or is there something more practical that's going on...

ghost commented 6 years ago

Never mind! I just edited the scale_number at line 39 of gflags_options.cpp to 2 and it worked! I'm not sure if this is a proper way... So any further advices will help! Thank you.