How Does a Camera Detect Heart Rate? A Step-by-Step Look

How a camera turns face video into a heart rate, step by step, and what lighting, movement and camera quality change.

A smiling woman in a black sports top sits on outdoor steps, wearing a smartwatch on one wrist and holding a phone in her other hand.

The short answer: a camera detects heart rate by recording tiny changes in the color of your skin. Each heartbeat changes the amount of blood in the skin, which changes how much light the skin reflects. Software finds the face, tracks that rhythmic change, cleans it up and converts its rate to beats per minute. The method is called remote photoplethysmography (rPPG).

How does a face video become a heart rate, step by step?

A face video becomes a heart rate in four simplified steps: find the face, track the signal, clean it up, and derive the output. The Vitals AI how-it-works page describes the same sequence as a simplified view, not an exact count of what happens inside the model. The table below follows one 30-second scan through those steps and shows, at each one, what can disturb it and what you control.

Step

What can disturb it

What you control

1. Find the face

A face that is covered or turned away from the camera

Keep your face uncovered and facing the camera, with a clear view of the forehead and cheeks

2. Track the signal

A moving head, and light that changes from frame to frame

Stay reasonably still and do not talk during the scan

3. Clean it up

Uneven lighting and camera noise, which mix with the pulse in the raw trace

Light your face evenly, without a bright window or lamp on one side, and use a camera with good resolution and exposure

4. Derive the heart rate

Heart rate varies from person to person and from moment to moment

Rest for 5 minutes beforehand, so the number reflects a resting state

Across all four steps, place the camera at eye level, about 30 cm from your face.

What happens at each step?

Find the face. The software locates the face in each frame, and a clear view of the forehead and cheeks gives it more skin to work with.

Track the signal. It follows those areas frame by frame as the light reflected from them changes with each beat. In the 2008 study, Verkruysse and colleagues found the green channel carried the strongest pulse signal. A head that moves adds changes to the video that are not the pulse.

Clean it up. The raw trace holds the pulse plus everything else that changes between frames. Filtering reduces what is not the pulse until a repeating waveform remains. The published factors that affect the result are lighting, movement, camera quality (resolution, frame rate, compression and exposure), face visibility and individual variation.

Derive the heart rate. The rhythm of the waveform gives the time between beats, and the software converts it to beats per minute. Vitals AI also analyzes rBCG, the small movements associated with each heartbeat, so one facial video can provide a complementary mechanical signal alongside the optical one. rBCG does not read blood flow directly.

Where does the idea come from?

The history of the method, from the 2008 study above to later webcam work, is told in what rPPG is. The principle behind it, the same optical idea as the clip on a pulse oximeter with no sensor touching the skin, is set out on the how rPPG works page.

How close does the number get?

How close the heart rate comes to a reference measurement, and under which conditions, is covered in the accuracy guide and on the Vitals AI research page.

Frequently asked questions

Does the camera need to see my whole face?

It needs a clear, front-facing view of your face. The how-it-works page asks for a clear view of the forehead and cheeks, so keep the face uncovered and facing the camera.

Does skin tone change how the camera sees a pulse?

Published research found that skin-tone effects on rPPG depend on the algorithm (Dasari et al. 2021 and Nowara et al. 2020, both listed on the research page). The Vitals AI benchmarking was evaluated across Fitzpatrick skin types I to VI, which describes who was evaluated and does not establish equal performance.

General wellness tool, not for use in the diagnosis of disease or other conditions. Does not replace professional medical advice or clinical judgment.

Try a 30-second Vitals AI scan and see the steps above on your own camera, or see what Vitals AI measures first.