trinhnc / ros_hand_gesture_recognition Goto Github PK
View Code? Open in Web Editor NEWA ROS package for estimating hand pose using Mediapipe (and Python)
License: MIT License
A ROS package for estimating hand pose using Mediapipe (and Python)
License: MIT License
Hello,
I am trying to use this package at a Jetson AGX Xavier. After solving the issue here when I try to roslaunch ros_hand_gesture_recognition hand_sign.launch
, I see such an output on my terminal screen:
process[hand_sign_recognition-1]: started with pid [22518]
libgcc_s.so.1 must be installed for pthread_cancel to work
[hand_sign_recognition-1] process has died [pid 22518, exit code -6, cmd /home/mericgeren/catkin_ws/src/ros_hand_gesture_recognition/src/hand_sign_recognition.py __name:=hand_sign_recognition __log:=/home/mericgeren/.ros/log/b02b8112-8dc7-11ee-9d36-00044bcc3306/hand_sign_recognition-1.log].
log file: /home/mericgeren/.ros/log/b02b8112-8dc7-11ee-9d36-00044bcc3306/hand_sign_recognition-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
Then I have tried the command export OMP_NUM_THREADS=1
and then, I have seen such an output:
Traceback (most recent call last):
File "/home/mericgeren/catkin_ws/src/ros_hand_gesture_recognition/src/hand_sign_recognition.py", line 50, in <module>
hand_sign = HandSignRecognition()
File "/home/mericgeren/catkin_ws/src/ros_hand_gesture_recognition/src/hand_sign_recognition.py", line 25, in __init__
rospy.get_param("hand_sign_recognition/keypoint_classifier_model"))
File "/home/mericgeren/catkin_ws/src/ros_hand_gesture_recognition/src/gesture_recognition.py", line 32, in __init__
self.hands, self.keypoint_classifier, self.keypoint_classifier_labels = self.load_model()
File "/home/mericgeren/catkin_ws/src/ros_hand_gesture_recognition/src/gesture_recognition.py", line 41, in load_model
min_tracking_confidence=self.min_tracking_confidence,
File "/home/mericgeren/.local/lib/python3.6/site-packages/mediapipe/python/solutions/hands.py", line 129, in __init__
'multi_handedness'
File "/home/mericgeren/.local/lib/python3.6/site-packages/mediapipe/python/solution_base.py", line 262, in __init__
self._graph.start_run(self._input_side_packets)
RuntimeError: ; eglGetDisplay() returned error 0x3000ontext_egl.cc:156)
libgcc_s.so.1 must be installed for pthread_cancel to work
Could you offer your advice and guidance please?
Kindest regards.
Hello,
First of all, thank you for developing this package.
When I try to launch hand_sign.launch, I get this repeating error:
[ERROR] [1700838892.714985]: bad callback: <bound method HandSignRecognition.callback of <__main__.HandSignRecognition object at 0x7fac304be0>>
Traceback (most recent call last):
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/mericgeren/catkin_ws/src/ros_hand_gesture_recognition/src/hand_sign_recognition.py", line 36, in callback
cv_image = self.bridge.imgmsg_to_cv2(image_msg)
File "/home/mericgeren/catkin_ws/src/vision_opencv/cv_bridge/python/cv_bridge/core.py", line 163, in imgmsg_to_cv2
dtype, n_channels = self.encoding_to_dtype_with_channels(img_msg.encoding)
File "/home/mericgeren/catkin_ws/src/vision_opencv/cv_bridge/python/cv_bridge/core.py", line 99, in encoding_to_dtype_with_channels
return self.cvtype2_to_dtype_with_channels(self.encoding_to_cvtype2(encoding))
File "/home/mericgeren/catkin_ws/src/vision_opencv/cv_bridge/python/cv_bridge/core.py", line 91, in encoding_to_cvtype2
from cv_bridge.boost.cv_bridge_boost import getCvType
ModuleNotFoundError: No module named 'cv_bridge.boost.cv_bridge_boost'
Could you offer your advice and guidance please?
Kindest regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.