Advertisement
metalx1000

List Webcam Devices in Python with PyGame

Nov 29th, 2011
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. import pygame.camera
  4. pygame.camera.init()
  5.  
  6. camlist = pygame.camera.list_cameras()
  7. print camlist
  8.  
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement