Multi-Flash Edge Detection

Experimenting using multi-flash techniques to do edge sensing.

Like this:

edge

You can read about it here on this persons awesome website.

I decided I wanted a bit of a challenge and the code was already written to do something like the above image Multi-Flash Edge Detection. So I wanted to see if I could come up with some simple way to just use light to detect edges with real time video.

Also as an additional constraint I wanted to see if I could write software to do this entire thing including the lighting so that someone with just a laptop and it’s built in camera can do this at home. As such the program also draws light on the screen to use as the colored light from different angles. The light wasn’t really bright enough to do this purely with the shadows, so I had to deviate a bit from the original goal, but that is generally when the fun stuff happens anyway.

See setup image below.

setup

Then just use those different colored shadows to extract out the edges in the image.

See video below.

Code

multiflash.java