Hi,
Ive got a problem with my pi freezing. it becomes unresponsive as soon as I call get_image() in my python script
Its a simple script...
[code]
import pygame
import pygame.camera
import pygame.image
import os
from pygame.camera import *
from pygame.locals import *
print "starting capture"
pygame.init()
pygame.camera.init()
size = (50,50)
cam = pygame.camera.Camera('/dev/video0', size, 'RGB')
print("cam created")
cam.start()
print("cam started")
img = cam.get_image()
print("gettting image")
[/code]
My script gets as far as "cam started"
I have succesfully taken a photo using the fswebcam program. No problem. It just wont take a photo via my python script.
I have uninstalled python along with pygame and resintalled and still have the same issue.
Any ideas?
Thanks
Aidan




