I'm looking for something like picamera python library, for USB webcams. Is there a python library that allows for image capture, and streaming for USB web-cameras?
I recommend that you try a module called
you may install it by running the following command:
install python-opencv bindings, numpy
here is some example code to help you get started:
import cv2 cam=cv2.VideoCapture(0) img=cam.read() cv2.namedwindow("camera", cv2.CV_WINDOW_AUTOSIZE) cv2.imshow("camera",img) cv2.waitKey(0) cv2.destroywindow("camera")
You can read more about it here