Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AutoComplete for MediaPipe Library in VS Code

Tags:

python

I am writing a program to detect Hands Gesture in Real-Time using the MediaPipe Library in Python on Visual Studio Code (V.S. Code). But, I am not getting the auto-complete suggestions while writing my Code for the same. Any suggestions which extensions will be helpful in providing me with the same? Appreciate your help:)

import cv2 as cv
import mediapipe as mp

mp_hands = mp.solutions.hands
hands = mp_hands.Hands()
mp_draw = mp.solutions.drawing_utils
like image 572
Pressing_Keys_24_7 Avatar asked Nov 17 '25 05:11

Pressing_Keys_24_7


1 Answers

I changed mp.solutions.hands to mp.solutions.mediapipe.python.solutions.hands and it worked.

like image 73
Orkun Avatar answered Nov 19 '25 19:11

Orkun