Created
July 16, 2017 13:25
-
-
Save denstilwell/c967d0b0aecb1c9f073c9ea5e763ac6d to your computer and use it in GitHub Desktop.
check_for_cameras.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
import pygame.camera | |
pygame.init() | |
pygame.camera.init() | |
#find, list cameras | |
cam_list = pygame.camera.list_cameras() | |
print(cam_list) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment