Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webcam App dont capture #4

Open
mp3pintyo opened this issue Nov 23, 2023 · 1 comment
Open

Webcam App dont capture #4

mp3pintyo opened this issue Nov 23, 2023 · 1 comment

Comments

@mp3pintyo
Copy link

mp3pintyo commented Nov 23, 2023

Windows 11 error:
[ WARN:[email protected]] global window.cpp:302 cvGetWindowProperty No UI backends available. Use OPENCV_LOG_LEVEL=DEBUG for investigation
Exception in thread Thread-1 (capture_frames):
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "d:\AI\ComfyUI\custom_nodes\ComfyUI_toyxyz_test_nodes\CaptureCam\cam.py", line 318, in capture_frames
if cv2.waitKey(1) & 0xFF == ord('q'):
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1338: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvWaitKey'


There is no such directory path on my computer: D:\a\opencv-python\

@toyxyz
Copy link
Owner

toyxyz commented Nov 24, 2023

I have updated it. Try deleting the custom node folder and re-downloading it to see if you get the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants