Giter Club home page Giter Club logo

Comments (2)

jmberd02 avatar jmberd02 commented on August 19, 2024 1

That worked thank you so much for your help!!!

from ros_openpose.

ravijo avatar ravijo commented on August 19, 2024

@jmberd02

Thanks a lot for creating this issue. I hope you are running the following command:

roslaunch ros_openpose run.launch camera:=azurekinect

I definitely get 2d output in the console, however, I do not see a Z entry

You are right. That's because we have set to print only pixel information. Please see the code below:

text = [bodyPart.pixel for person in msg.persons for bodyPart in person.bodyParts]
rospy.loginfo('%s\n' % text)

You can notice that bodyPart.pixel is used here to print in the console. It denotes 2D information.

is there some way to get that information?

Yes. There is. Please edit bodyPart.pixel to bodyPart.point as shown below:

text = [bodyPart.point for person in msg.persons for bodyPart in person.bodyParts]
rospy.loginfo('%s\n' % text)

Extra Information

Just in case, if you are running the synchronous API version, you must be using it in the following way:

roslaunch ros_openpose run.launch camera:=azurekinect synchronous:=true py_openpose_path:=absolute_path_to_py_openpose

However, recently a bug has been discovered in the synchronous API version. Please see here for more information.

from ros_openpose.

Related Issues (20)

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.