DIY Photography

Your one stop shop for everything photo-video

  • News
  • Inspiration
  • Reviews
  • Tutorials
  • DIY
  • Gear
Search

Submit A Story

How to Take The Perfect Jump Shot With An Open Source Photo Booth

Oct 8, 2013 by Udi Tirosh 1 Comment

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

Taking a perfectly timed photograph of a jumping person is not trivial. You both count, 3…2..1…jump!

How to Take The Perfect Jump Shot With An Open Source Photo Booth

Wait, I should have jumped on “1” or jumped on “Jump!”. Let’s try again. And again. and again… Would it be nice if we could do it perfect every time?

Imagine the photobooth opportunities it can open for events and weddings – an unattended booth that takes jump shots (no pun intended)

Instructables member Andrew Maxwell-Parish (A.K.A ElectricSlim) used two open source programs Processing (a programming language for visual creatives) and OpenCV (computer vision and learning) to create an automatic photobooth that takes pictures when you jump. It actually does better – it takes them at the peak of the jump and does not even require a fancy camera.

Here is a funny little movie that shows what this booth is capable of (please… speakers on full volume)

Andrew explains the mechanism behind the photobooth:

How to Take The Perfect Jump Shot With An Open Source Photo Booth

The key to this project is using OpenCV’s face detection capabilities. When a person is looking towards the camera, it will register the face. This is an example already available in the OpenCV library that was modified for this project. The sketch (Processing lingo for the code) is analyzing the basics of a person’s movement. If their head goes above a certain location on the frame and there is a change in vertical direction (start falling back down), it will automatically take a image from the web camera.

If you have a USB camera ,all you have to do is download and install the relevant software and a sketch (program) that Andrew provides.

How to Take The Perfect Jump Shot With An Open Source Photo Booth

The sketch should automatically load that [USB camera] over the onboard web camera. At least that’s what happens with me. I hope it does with you.

You will want to check both the wide and high variables in the sketch. This should match the resolution of the web camera that you are using. When you are jumping you’ll want to be far enough back that you can get your whole body in the frame. If your face is detected you’ll see a red box at the top of the camera feed. Jump up high to get your head in that box.  If it flashes white and you hear a shutter sound, then it took an image and saved it in the folder file that contains the Processing sketch.

How to Take The Perfect Jump Shot With An Open Source Photo Booth

While easy to setup, Andrew did find a few caveats:

  • the face detection on OpenCV requires that your face is pointed towards
    the camera. If your head is tilted away from the camera, it isn’t going
    to work.
  • Lighting is also an issue. I found that working in a room with a
    reasonable amount of natural sunlight seemed work best. Dimly lit rooms
    produced lower quality images and had a higher chance of not taking an
    image.
  • Jumping against a bare background also seems to work better with
    the face detection. OpenCV will occasionally detect random objects in
    the background as faces

How to Take The Perfect Jump Shot With An Open Source Photo Booth

Internet getting flooded with Jumping shots in 3, 2, 1…

[Automatically Take Perfect Jump Shots | Andrew Maxwell-Parish]

FIND THIS INTERESTING? SHARE IT WITH YOUR FRIENDS!

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

Related posts:

The Complete Guide To Bulding a DIY Open Air Wireless Internet-enabled “Photo Booth” (with Slide Show) Photo Editing for Free – Pixls Offers Tutorials for Open Source Software Like Gimp and Darktable Filmulator is an open source raw photo editor based on the film developing process I held a professional head-shot photo booth for dogs at a local Pet Fest, the results are hilarious

Filed Under: DIY Tagged With: Photobooth

Udi Tirosh: from diyphotography.net

About Udi Tirosh

Udi Tirosh is an entrepreneur, photography inventor, journalist, educator, and writer based in Israel. With over 25 years of experience in the photo-video industry, Udi has built and sold several photography-related brands. Udi has a double degree in mass media communications and computer science.

« Standing in Front of More Interesting Stuff…And Other Good Advice
Milky Pin-Ups Are Traditional-40’s Pinup Photos Made With High-Speed Milk [NSFW] »

Submit A Story

Get our FREE Lighting Book

DIYP lighting book cover

* download requires newsletter signup

Recent Comments

Free Resources

Advanced lighting book

Learn photography

Recent Posts

  • NASA reveals five photos of space objects invisible to human eye
  • Tamron’s 17-50mm f/4 Di III VXD lens ships in October
  • Facebook now lets you (legally) have multiple profiles
  • A closer look at Sigma’s new Fuji X-mount lenses
  • Everything you need to know before you start film photography

Udi Tirosh: from diyphotography.netUdi Tirosh is an entrepreneur, photography inventor, journalist, educator, and writer based in Israel. With over 25 years of experience in the photo-video industry, Udi has built and sold several photography-related brands. Udi has a double degree in mass media communications and computer science.

Alex Baker: from diyphotography.netAlex Baker is a portrait and lifestyle driven photographer based in Valencia, Spain. She works on a range of projects from commercial to fine art and has had work featured in publications such as The Daily Mail, Conde Nast Traveller and El Mundo, and has exhibited work across Europe

David Williams: from diyphotography.netDave Williams is an accomplished travel photographer, writer, and best-selling author from the UK. He is also a photography educator and published Aurora expert. Dave has traveled extensively in recent years, capturing stunning images from around the world in a modified van. His work has been featured in various publications and he has worked with notable brands such as Skoda, EE, Boeing, Huawei, Microsoft, BMW, Conde Nast, Electronic Arts, Discovery, BBC, The Guardian, ESPN, NBC, and many others.

John Aldred: from diyphotography.netJohn Aldred is a photographer with over 20 years of experience in the portrait and commercial worlds. He is based in Scotland and has been an early adopter - and occasional beta tester - of almost every digital imaging technology in that time. As well as his creative visual work, John uses 3D printing, electronics and programming to create his own photography and filmmaking tools and consults for a number of brands across the industry.

Dunja Djudjic: from diyphotography.netDunja Djudjic is a multi-talented artist based in Novi Sad, Serbia. With 15 years of experience as a photographer, she specializes in capturing the beauty of nature, travel, and fine art. In addition to her photography, Dunja also expresses her creativity through writing, embroidery, and jewelry making.

Copyright © DIYPhotography 2006 - 2023 | About | Contact | Advertise | Write for DIYP | Full Disclosure | Privacy Policy