import pygame
import pygame.camera
from pygame.locals import *

pygame.init()
pygame.camera.init()
camlist = pygame.camera.list_cameras()
if camlist:
    cam = pygame.camera.Camera(camlist[0],(640,480))
