Philips has just released an app for the iPad 2 which can detect heart rate and respiratory rate.  The Vital Signs Camera App uses the tablet’s camera to sense small changes in facial color, indicative of beat by beat changes in blood flow, to determine your heart rate. Respiratory rate is determined by tracking the movement of the chest during breathing .

Product page