Giter Club home page Giter Club logo

Comments (4)

ravijo avatar ravijo commented on July 19, 2024

@akamob

Thanks for opening this issue. It is quite interesting at first. Because at the backend, the same OpenPose is used in both cases.. Basically, the OpenPose when used with this package is detecting 0 people. The image quality is poor but the python binding of OpenPose is detecting 1 person.

I suggest you do a little more debugging to find the actual cause of this confusing behavior.

  1. Please use the video (mp4) file on the complied OpenPose to see if Openpose detects anything. Please refer to Quick Start Overview
./build/examples/openpose/openpose.bin --video examples/media/video.avi \
--face --hand --write_json output_json_folder/
  1. We have seen the python bindings are working fine, can you please use the python bindings with this package by enabling synchronous mode as mentioned in Implementation Versions Info.
roslaunch ros_openpose run.launch camera:=nodepth synchronous:=true \
py_openpose_path:=absolute_path_to_py_openpose
  1. Can you please confirm that the test image for 01_body_from_image.py is taken from the recorded video (and has exactly the same resolution as the video)?
  2. Can you please confirm that you have added "--net_resolution -1x128" to your 01_body_from_image.py file?

from ros_openpose.

akamob avatar akamob commented on July 19, 2024

Hi, @ravijo, thank you very much for your reply:)

I forgot to mention I build OpenPose in cpu_only mode due to the limited computational power. And the following are my test results:

  1. I test my video file on OpenPose and it can detect some keypoints. Although the skeleton is incomplete and sometimes OpenPose still detect 0 people.
    ros_openpose_report_1 from 2022-03-09 12-28-00

ros_openpose_report_1-1 from 2022-03-09 12-29-43

  1. I'm not sure if I'm doing it right, py_openpose_path means to access the absolute path shown in the following picture?
    ros_openpose_report_2 from 2022-03-09 12-59-29
    I run this command:
    roslaunch ros_openpose run.launch camera:=nodepth synchronous:=true \ py_openpose_path:=/home/lk3696/yi_ros_openpose/src/openpose/build/python/openpose/

And I got the warn:

[ WARN] [1646801737.361694890]: Shutdown request received.
[ WARN] [1646801737.361725319]: Reason given for shutdown: [[/rosOpenpose] Reason: new node registered with same name]
rosOpenposeSync: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = const sensor_msgs::CameraInfo_<std::allocator<void> >; typename boost::detail::sp_member_access<T>::type = const sensor_msgs::CameraInfo_<std::allocator<void> >*]: Assertion `px != 0' failed.
shutdown request: [/echo] Reason: new node registered with same name
  1. Yes, my test image come from the recorded video and they have same resolution.
    ros_openpose_report_3 from 2022-03-09 13-05-47

  2. I'm not add --net_resolution -1x128 in 01_body_from_image.py file.
    ros_openpose_report_4 from 2022-03-09 13-10-27

from ros_openpose.

ravijo avatar ravijo commented on July 19, 2024

@akamob

Seeing your screenshot, I am quite sure that the images you are getting are of poor quality. Because OpenPose can detect it SOMETIMES ONLY.

You can either (a) try to improve the image quality, or (b) play with the OpenPose configurations such as net_resolution etc. Basically, we do not want to resize down images in this scenario.

Please let me know your progress in this specific case.

from ros_openpose.

ravijo avatar ravijo commented on July 19, 2024

Closing this issue as no further comments were received. Feel free to comment if the issue still exists.

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.