The device can optically detect harmful amounts of allergens in a tiny amount of food using the phone's camera and an app. You can do this for peanuts or you can do this for other kinds of allergens, said Dr. Aydogan Ozcan, UCLA Henry Samueli School of Engineering.