Code: Select all
import numpy as np
import cv2
cap = cv2.VideoCapture(0)
while(True):
# Capture frame-by-frame
ret, frame = cap.read()
# Our operations on the frame come here
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
# Display the resulting frame
cv2.imshow('frame',gray)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
# When everything done, release the capture
cap.release()
cv2.destroyAllWindows()
Code: Select all
GdkGLExt-WARNING **: Window system doesn't support OpenGL.
Does anyone have a clue what I can do next please? I am using DebianDog Jessie
Dont know if this is relevant except that other people have been asked for it.
Code: Select all
# lspci |grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Code: Select all
# lsusb
Bus 003 Device 004: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 Webcam