DIY Photography

Hacking Photography - one Picture at a time

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

 
@diyphotography

Telegram Me

Instagram

Submit A Story

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

Share
Tweet
October 8, 2013 by Udi Tirosh 1 Comment

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]

Share
Tweet

Related posts:

The Zombie Detector Photobooth Will Test If You’re Human Bringing The Phun To Photobooth (or Slo Mo Booth With Red Epic) How To Build A Slo-Mo Photobooth With $32,900 Worth Of Gear A Slick DIY Self Contained photobooth

Filed Under: DIY Tagged With: Photobooth

About Udi Tirosh

Udi Tirosh is the Founder and Editor in Chief of DIYPhotography, he is also a photographer, a relentless entrepreneur, a prolific inventor and a dad, not necessarily in that order

« 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] »
  • mark

    how much will this cost in total from installing the necessary softwares to purchase of that camera

Popular on DIYP

  • This unexpected Lightroom slider helps making perfect black and white conversions
  • This epic 81-megapixel moon photo was stacked from 50,000 images
  • Tamron to launch wide angle 17-28mm f/2.8 Zoom for Sony FE
  • These are the 10 best cameras for video under $300
  • Apple makes a Bokeh commercial, uses “bokeh” as a verb and pronounces it wrong
  • This guy bought a new Sony A6400 in an A6300 body
  • This viral video is the result of an angry Broadacres woman for shooting on public property
  • 2019 World Press Photo contest nominees will give you chills [NSFW]
  • Bowens really is back – and they’re made by Godox
  • Original raw Star Wars footage highlights the impact of good sound design – Also, Han totally shot first

Recent Comments


Previous Polls

Dunja Djudjic is a writer and photographer from Novi Sad, Serbia. You can see her work on Flickr, Behance and her Facebook page.

John Aldred is based in Scotland and photographs animals in the studio and people in the wild.

You can find out more about John on his website and follow his adventures on YouTube and Facebook.

JP Danko is a commercial photographer based in Toronto, Canada. JP
can change a lens mid-rappel, swap a memory card while treading water, or use a camel as a light stand.

To see more of his work please visit his studio website blurMEDIAphotography, or follow him on Twitter, 500px, Google Plus or YouTube.

JP’s photography is available for licensing at Stocksy United.

Clinton Lofthouse is a Photographer, Retoucher and Digital Artist based in the United Kingdom, who specialises in creative retouching and composites. Proud 80's baby, reader of graphic novels and movie geek!
Find my work on My website or follow me on Facebook or My page

Recent Posts

  • This 4.9mm Hyperfisheye prototype lens is so wide it can see behind itself
  • Adobe confused as to what a Nikon looks like – uses Fuji X-T20 to promote faster Nikon tethering
  • Soon you can use your Profoto modifiers on the Godox AD200 with the new AD-P adapter
  • Tamron’s 17-28mm f/2.8 E for Sony is official, also 35mm f/1.4 and 35-150mm f/2.8-4 lenses for full frame DLSRs
  • This guy bought a new Sony A6400 in an A6300 body

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