Comments (5)
The GTK error is most probably coming from OpenCV. I guess that you are using a custom OpenCV. To debug your issue, can you please do the following:
- Run OpenPose as a standalone program by giving an example video mentioned in OpenPose/Quick Start Overview.
- Please make sure GUI inside ROS works fine by executing the following command:
rosrun image_view image_view image:=/your_camera/image_topic
BTW, are you defining your new camera rfly_nodepth
? If so, we can add your contributions to this repository after discussions with you.
from ros_openpose.
From your command line output I assume that you use a Nvidia Jetson board.
I had this gtk version issue with my AGX Orin. My wild guess is, this is due to some openCV version mismatch from cv_bridge and openpose, see here
I did the following to solve this:
- Build and install openCV 4.6 with CUDA enabled. The preinstalled openCV in Jetson Orin does not support CUDA.
- Build openpose with openCV 4.6. You can do this by specifying
OPENCV_DIR
to the installed path of openCV incmake-gui
interface, see this Reference - Edit
cv_bridgeConfig.cmake
to tellcatkin_make
to find the newly installed openCV, see this link- I am not sure if this step is mandatory because i tried many ways to make the whole system work. But in the end it works.
- If you installed ROS using
àpt
, then it is probably that thecv_bridge
package is also built with another openCV. To solve this, you can build thevision_opencv
withros_openpose
using openCV 4.6:- Assume that your workspace of
ros_openpose
is located in~/catkin_ws/src
. - Download the source code of
vision_opencv
, which containscv_bridge
cd ~/catkin_ws/src git clone https://github.com/ros-perception/vision_opencv.git cd vision_opencv git checkout noetic
- build
vision_opencv
andros_openpose
together:cd ~/catkin_ws catkin_make
- Assume that your workspace of
Then it should work.
from ros_openpose.
From your command line output I assume that you use a Nvidia Jetson board. I had this gtk version issue with my AGX Orin. My wild guess is, this is due to some openCV version mismatch from cv_bridge and openpose, see here
I did the following to solve this:
1. Build and install openCV 4.6 with CUDA enabled. The preinstalled openCV in Jetson Orin does not support CUDA. 2. Build openpose with openCV 4.6. You can do this by specifying `OPENCV_DIR` to the installed path of openCV in `cmake-gui` interface, see [this Reference](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation/2_additional_settings.md#custom-opencv) 3. Edit `cv_bridgeConfig.cmake` to tell `catkin_make` to find the newly installed openCV, see [this link](https://github.com/ravijo/ros_openpose/issues/62#issuecomment-1123430014) * I am not sure if this step is mandatory because i tried many ways to make the whole system work. But in the end it works. 4. If you installed ROS using `àpt`, then it is probably that the `cv_bridge` package is also built with another openCV. To solve this, you can build the `vision_opencv` with `ros_openpose` using openCV 4.6: 1. Assume that your workspace of `ros_openpose` is located in `~/catkin_ws/src`. 2. Download the source code of `vision_opencv`, which contains `cv_bridge` ``` cd ~/catkin_ws/src git clone https://github.com/ros-perception/vision_opencv.git cd vision_opencv git checkout noetic ``` 3. build `vision_opencv` and `ros_openpose` together: ``` cd ~/catkin_ws catkin_make ```
Then it should work.
yes, i use jetson agx ogin and my opencv version is 4.5.4(default and not compiled by cuda), let me try your method.
from ros_openpose.
The GTK error is most probably coming from OpenCV. I guess that you are using a custom OpenCV. To debug your issue, can you please do the following:
1. Run OpenPose as a standalone program by giving an example video mentioned in [OpenPose/Quick Start Overview](https://github.com/CMU-Perceptual-Computing-Lab/openpose#quick-start-overview). 2. Please make sure GUI inside ROS works fine by executing the following command: ``` rosrun image_view image_view image:=/your_camera/image_topic ```
BTW, are you defining your new camera
rfly_nodepth
? If so, we can add your contributions to this repository after discussions with you.
my openpose runs just fine and i just use a simulation camera
from ros_openpose.
From your command line output I assume that you use a Nvidia Jetson board. I had this gtk version issue with my AGX Orin. My wild guess is, this is due to some openCV version mismatch from cv_bridge and openpose, see here
I did the following to solve this:
1. Build and install openCV 4.6 with CUDA enabled. The preinstalled openCV in Jetson Orin does not support CUDA. 2. Build openpose with openCV 4.6. You can do this by specifying `OPENCV_DIR` to the installed path of openCV in `cmake-gui` interface, see [this Reference](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation/2_additional_settings.md#custom-opencv) 3. Edit `cv_bridgeConfig.cmake` to tell `catkin_make` to find the newly installed openCV, see [this link](https://github.com/ravijo/ros_openpose/issues/62#issuecomment-1123430014) * I am not sure if this step is mandatory because i tried many ways to make the whole system work. But in the end it works. 4. If you installed ROS using `àpt`, then it is probably that the `cv_bridge` package is also built with another openCV. To solve this, you can build the `vision_opencv` with `ros_openpose` using openCV 4.6: 1. Assume that your workspace of `ros_openpose` is located in `~/catkin_ws/src`. 2. Download the source code of `vision_opencv`, which contains `cv_bridge` ``` cd ~/catkin_ws/src git clone https://github.com/ros-perception/vision_opencv.git cd vision_opencv git checkout noetic ``` 3. build `vision_opencv` and `ros_openpose` together: ``` cd ~/catkin_ws catkin_make ```
Then it should work.
Thank you very much, your method slove this problem, I install opencv4.6.0 and cover the default opencv4.5.4, after this I meet another problem " error while loading shared libraries: libopencv_highgui.so.406: cannot open shared object file: No such file or directory", I "sudo apt-get install libopencv-highgui-dev", then my openpose and ros_openpose run correctly.
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
- 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.