Relative Content

Tag Archive for opencvmediapipe

Mediapipe Gesture Recognition Handedness detects both hands but result object has only one

I’m trying to detect multi hand gestures using mediapipe. I want to detect both the gestures of both hands independently. Both hands can have the same gesture or different gestures. I the given code the function print_result is printing the the contents of the object after the inference has been run on the frame. the max_num_hands parameter has been set to 2 here with mp_hands.Hands(max_num_hands=2, min_detection_confidence=0.5) as hands: