This cheap camera gets under the skin

"After building the camera we just started pointing it at everyday objects—really anything we could find in our homes and offices—and we were amazed at all the hidden information it revealed," says Neel Joshi. (Credit: U. Washington)

Computer scientists and electrical engineers have developed an affordable hyperspectral camera that uses both visible and invisible near-infrared light to “see” beneath surfaces and capture unseen details.

This type of camera is typically used in industrial applications and can cost between several thousand to tens of thousands of dollars.

In a paper presented at the UbiComp 2015 conference, the team describes a hardware solution that costs roughly $800, or potentially as little as $50 to add to a mobile phone camera. They also developed intelligent software that easily finds “hidden” differences between what the hyperspectral camera captures and what’s visible to the naked eye.

When HyperCam captured images of a person’s hand, for instance, they revealed detailed vein and skin texture patterns that are unique to that individual. That can aid in everything from gesture recognition to biometrics to distinguishing between two different people playing the same video game.

As a preliminary investigation of HyperCam’s utility as a biometric tool, in a test of 25 different users, the system was able differentiate between hand images of users with 99 percent accuracy.

hand with HyperCam
(Credit: U. Washington)

Is that avocado rotten?

In another test, the team also took hyperspectral images of 10 different fruits, from strawberries to mangoes to avocados, over the course of a week. The HyperCam images predicted the relative ripeness of the fruits with 94 percent accuracy, compared with only 62 percent for a typical camera.

“It’s not there yet, but the way this hardware was built you can probably imagine putting it in a mobile phone,” says Shwetak Patel, professor of computer science and engineering and electrical engineering at the University of Washington.

“With this kind of camera, you could go to the grocery store and know what produce to pick by looking underneath the skin and seeing if there’s anything wrong inside. It’s like having a food safety app in your pocket,” Patel says.

avocado with Hypercam
(Credit: U. Washington)

Hyperspectral imaging is used today in everything from satellite imaging and energy monitoring to infrastructure and food safety inspections, but the technology’s high cost has limited its use to industrial or commercial purposes. The team wanted to see if they could make a relatively simple and affordable hyperspectral camera for consumer use.

“Existing systems are costly and hard to use, so we decided to create an inexpensive hyperspectral camera and explore these uses ourselves,” says Neel Joshi, a Microsoft researcher who worked on the project. “After building the camera we just started pointing it at everyday objects—really anything we could find in our homes and offices—and we were amazed at all the hidden information it revealed.”

17 different wavelengths

A typical camera divides visible light into three bands—red, green, and blue—and generates images using different combinations of those colors. But cameras that utilize other wavelengths in the electromagnetic spectrum can reveal invisible differences.

[Camera trick finds spots on an all-black leopard]

Near-infrared cameras, for instance, can reveal whether crops are healthy or a work of art is genuine. Thermal infrared cameras can visualize where heat is escaping from leaky windows or an overloaded electrical circuit.

“When you look at a scene with a naked eye or a normal camera, you’re mostly seeing colors. You can say, ‘Oh, that’s a pair of blue pants,'” says lead author Mayank Goel, a computer science and engineering doctoral student and Microsoft Research graduate fellow. “With a hyperspectral camera, you’re looking at the actual material that something is made of. You can see the difference between blue denim and blue cotton.”

HyperCam, which uses the visible and near-infrared parts of the electromagnetic spectrum, illuminates a scene with 17 different wavelengths and generates an image for each.

One challenge in hyperspectral imaging is sorting through the sheer volume of frames produced. The new software analyzes the images and finds ones that are most different from what the naked eye sees, essentially zeroing in on ones that the user is likely to find most revealing.

“It mines all the different possible images and compares it to what a normal camera or the human eye will see and tries to figure out what scenes look most different,” Goel says.

One remaining challenge is that the technology doesn’t work particularly well in bright light, Goel says. Next research steps will include addressing that problem and making the camera small enough to be incorporated into mobile phones and other devices, he says.

Microsoft Research funded the work.

Source: University of Washington