Photobooth with webcam and LCD

I dug out an old webcam for a ‘photobooth’ idea. The user is updated with what’s happening by the LCD display.

First, install fswebcam to drive the webcam:

sudo apt-get install fswebcam

Create a folder in /pi called ‘webcam’.

Depending on the quality of webcam, the resolution of the photo can be changed fromĀ 320×240 to whatever your Pi can cope with. I’m getting “Corrupt JPEG data: premature end of data segment” errors quite a lot; I think this is because I’m not using a powered USB hub. You can also remove the date/time stamp and do other things that are listed in fswebcam help:

fswebcam --help

The LCD is from AndyPi, and uses his script.

Run this code to take a photo:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: