You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\samir\PycharmProjects\mouse\venv\Scripts\python.exe C:/Users/samir/PycharmProjects/mouse/AiVirtualMouse.py
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
[ WARN:0@16.873] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (1752) CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -2147483638
Traceback (most recent call last):
File "C:/Users/samir/PycharmProjects/mouse/AiVirtualMouse.py", line 23, in
img = detector.findHands(img)
File "C:\Users\samir\PycharmProjects\mouse\HandTrackingModule.py", line 22, in findHands
imgRGB = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) # converting to RGB bcoz hand recognition works only on RGB image
cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
[ WARN:0@17.203] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (539) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
C:\Users\samir\PycharmProjects\mouse\venv\Scripts\python.exe C:/Users/samir/PycharmProjects/mouse/AiVirtualMouse.py
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
[ WARN:0@16.873] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (1752) CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -2147483638
Traceback (most recent call last):
File "C:/Users/samir/PycharmProjects/mouse/AiVirtualMouse.py", line 23, in
img = detector.findHands(img)
File "C:\Users\samir\PycharmProjects\mouse\HandTrackingModule.py", line 22, in findHands
imgRGB = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) # converting to RGB bcoz hand recognition works only on RGB image
cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
[ WARN:0@17.203] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (539) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: