Advertisement
metalx1000

PyGame list Webcams - Python - Cameras - Video

Jun 10th, 2014
604
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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement