You should try Computer Vision libraries for python like OpenCV and SimpleCV. They are best for playing with the camera, videos and for image processing tasks. My personal favorite is OpenCV you should definitely try it. https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_setup/py_intro/py_intro.html#intro
On Tue, Aug 5, 2014 at 2:25 AM, Danny Yoo <d...@hashcollision.org> wrote: > On Mon, Aug 4, 2014 at 7:10 AM, René Mathieu <rnmathieu...@gmail.com> > wrote: > > Hello there > > > > I'm writing a Python program and I would like to display a video device > > (webcam). How should I write in the program? > > > Hi Mathieu René, > > I'm unsure because I have no direct experience with this. You might > want to check the general Python mailing list if you don't get other > answers from the tutors here. > > There is no built-in support in the Standard LIbrary to a webcam; > however, there appear to be external libraries that provide access to > a webcam. From a web search, it looks like the Pygame library might > be applicable: > http://www.pygame.org/docs/tut/camera/CameraIntro.html. You might > also be able to look into the PythonCV library: > > http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_gui/py_video_display/py_video_display.html > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > -- Vipul Sharma Jabalpur Engineering College +91-8827931450
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor