taking webcam photos in python 3 and windows
问题 I want to be able to take a photo from a webcam in python 3 and Windows. Are there any modules that support it? I have tried pygame, but it is only linux and python 2, and VideoCapture is only python 2. 回答1: 07/08/14 Pygame 3.4 Ver. is released http://www.youtube.com/watch?v=SqmSpJfN7OE http://www.lfd.uci.edu/~gohlke/pythonlibs/ You can download "pygame‑1.9.2a0.win32‑py3.4.exe" take a photo from a webcam in python 3.4 (testing on window 7) code [1] import pygame import pygame.camera pygame