problemas com a chamada “cv2.waitKey()”

Home Fóruns Fórum Detecção e Reconhecimento Facial com Python problemas com a chamada “cv2.waitKey()”

Visualizando 1 post (de 1 do total)
  • Autor
    Posts
  • #49452

    —————————————————————————

    error Traceback (most recent call last)

    <ipython-input-24-4c12ab92664a> in <cell line: 0>()
    —-> 1 while cv2.waitKey(1) < 0:
    2 conectado, frame = cap.read()
    3 if not conectado:
    4 break
    5 if max_frames > -1 and frame_atual > max_frames:

    error: OpenCV(4.11.0) /io/opencv/modules/highgui/src/window.cpp:1367: 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’

Visualizando 1 post (de 1 do total)
  • Você deve fazer login para responder a este tópico.