Comments (4)
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.
- 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/
- 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
- 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)? - Can you please confirm that you have added "--net_resolution -1x128" to your
01_body_from_image.py
file?
from ros_openpose.
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:
- 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.
- I'm not sure if I'm doing it right, py_openpose_path means to access the absolute path shown in the following picture?
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
-
Yes, my test image come from the recorded video and they have same resolution.
-
I'm not add
--net_resolution -1x128
in01_body_from_image.py
file.
from ros_openpose.
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.
Closing this issue as no further comments were received. Feel free to comment if the issue still exists.
from ros_openpose.
Related Issues (20)
- Increasing frame rate for Azure Kinect HOT 3
- Cannot get it to work in the most standard configuration HOT 2
- Frame_id + Publishing depth information HOT 6
- Information about Face Output HOT 7
- Hand skeleton error HOT 4
- Net Resolution HOT 2
- Only Hand Poses HOT 1
- Skeleton error in Rviz HOT 2
- Directory for openpose python node HOT 6
- encoding MONO16 support HOT 5
- Cmake Error - Package Configuration File Not Found HOT 2
- Error of run.launch HOT 14
- Input the Wrapper a recorded Azure Kinect Video HOT 2
- (OpenPose 1.7.0:16877): Gtk-ERROR ** HOT 5
- Need to detect only one person in the frame HOT 2
- Missing tags section HOT 2
- REQUIRED process [rosOpenpose-2] has died! HOT 4
- Lunch file operation error HOT 6
- Error running the launch file run.launch HOT 2
- Question about ROS Message Frame 3D Points HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros_openpose.