CodeSolved

Solved Programming Questions & Exercises

Fixed AttributeError in using mediapipe and OpenCV

Technical question 2585/ Download 20 Views New

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?

0 Answers

Submit answer

Submitting answers is currently unavailable.

×
×
Close