We illuminate the finger with the flash and use the camera to take a video that captures changes in the color of your blood vessels, then use it to count your heart beats. Video frame brightness is associated with the variations in the light absorption of the blood. When the heart contracts, the capillaries in the fingertip are full of blood, more light is absorbed and the frame becomes darker. When the heart expands and the capillaries in the fingertip are full of less blood, less light is absorbed and the frame becomes brighter. PPG signals are obtained by calculating the intensity changes of the frames. Heart rate is extracted from them.
Note! On some smartphones, the flash is very hot and can burn. We recommend keeping your finger 2-3 mm away from the flash.