Using the Raspberry Pi To See Like A Bee


The Raspberry Pi board camera has a twin brother known as the NoIR camera, a camera without an infrared blocking filter that allows anyone to take some shots of scenes illuminated with ‘invisible’ IR light, investigate the health of plants, and some other cool stuff. The sensor in this camera isn’t just sensitive to IR light – it goes the other way as well, allowing some investigations into the UV spectrum, and showing us what bees and other insects see.

The only problem with examining the UV spectrum with a small camera is that relatively, the camera is much more sensitive to visible and IR than it is to UV. To peer into this strange world, [Oliver] needed a UV pass filter, a filter that only allows UV light through.

By placing the filter between the still life and the camera, [Oliver] was able to shine a deep UV light source and capture the image of a flower in UV. The image above and to the right isn’t what the camera picked up, though – bees cannot see red, so the green channel was shifted to the red, the blue channel to the green, and the UV image was placed where the blue channel once was.



12 thoughts on “Using the Raspberry Pi To See Like A Bee

      1. Maybe it is possible? I do not know yet, but IF the uv sensitivity is high enough, one could possibly use a “filter stack” to only let certain wavelength pass. Such filters are not commercially available, but Dr. Klaus Schmitt did some work on that. Not sure, but I think he sells his XBV filters (bee vision, butterfly vision). Unfortunately I can’t afford to buy anything, so I can’t test it. Anyway, I expect the UV sensitivity to be much lower than for visible light, so best would be to use a filter stack or selfmade filters.
        In my video I only used a Baader U filter, but better would be to filter visible light, too. Because the peak wavelength of what we call green and blue is slightly different from the peak wavelength of a bee (for example). Butterflys are even more complicated, because they are tetrachromates.

    1. Right. Best lenses for UV photography are made of quartz and do not have a focus shift in UV.
      However, there are some cheap Nikkor lenses – made of plastic not glass – which let UV pass. They are the cheapest option to take UV photos with a DSLR. Works best with a modified DSLR. A camera tuner near my home town removes not only the IR cut filter but also the mosaic filter (R,G,B) and they modify the firmware, too. But they take a few hundred euros for that. But unless you don’t want to become an IR/UV professional, there is no need for that.

      If someone would like to get deeper into this interesting topic, here is a database of lenses:
      Here is described, what the camera tuner does (in German only, sorry):
      A forum regarding uv photography:

    1. Definetely true, I apologize for that! There are flowers with more remarkable patterns, but there IS a little difference. However, I just did a first test and a quick edit on a cloudy day with some flowers I found near my flat. I will certainly do more photographs with other flowers and maybe with the sun as the only UV light source. But I will go a step further then – stay tuned! ;)

  1. I wonder if the UV filters you guys are mentioning could be like the ones used for corona cameras and viewers? I know there is a guy somewhere that makes corona viewers for commercial use out of night vision scopes / photo multipiler tubes with UV filters added. You use these to “see” the corona from high voltage leakage /arcing which is in the UV spectrum.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s