Fixed AttributeError in using mediapipe and OpenCV
Hello friends, I am writing a program with OpenCV and MediaPipe libraries, but I get an error. The error is:
AttributeError: module 'mediapipe' has no attribute 'solutions'
While I also installed mediapipe and solutions. Here is my code:
mpHands = mp.solutions.hands()
hands = mpHands.Hands()
Does anyone know where the problem is?