
3 RESULTS
Simultaneously with the video recordings we also
measured the pulse of each person. From the data
provided by the Mobi 8 device, we retained only the
pulse values measured at one second distance from
one another. Thus, for each 30 second video record-
ing we had the corresponding 30 element vector with
the heart-rate values. Each video is analyzed with the
5 second window that is shifted with one second at
every step of the algorithm. So, from a 30 second
recording we obtain 26 values that we interpret as be-
ing the heart-rate. To be able to make a comparison
between these values and the ones that represent the
ground truth measurements, we computed moving av-
erages of order 5 from the heart-rate values given by
the Mobi 8 device (see Figure 6).
Figure 6: Moving averages of order 5 from the heart-rate
values.
The recordings, both from frontal view and from
profile, were resampled to different frequencies be-
tween 10 and 240 frames per second. Since the range
of frequencies that we are interested in is [0.7,4]Hz,
we considered as the lowest frequency for analysis a
value (Fs = 10) that is greater than twice the upper
limit of the frequency interval (the Nyquist theorem).
Regarding the resampling process, we have per-
formed it in two ways. First, we selected the frames
with a constant integer step computed as the inte-
ger part of the ratio between the recording frequency
and the new frequency used for resampling (step =
integer(241.9/new f s)). The resampling errors de-
pend on the fractional part of the ratio 241.9/new f s
and these errors proved to have a great impact over
the performance of the heart-rate detection algorithm.
For instance, the error for resampling to new f s = 15
is small (241.9/15 = 16.1267) in comparison with
the error associated with new f s = 25 (241.9/25 =
9.6760) and the differences in performance can be ob-
served in Figure 7. The results shown are obtained
from the same video resampled with a constant step
using different frequencies (small resampling errors
on the left side, big resampling errors on the right side
in Figure 7). The sampling frequencies are shown in
the right lower corner of each graphic. The dotted
lines represent the ground truth values of the heart-
rate and the continuous line is given by the output of
the algorithm. In the upper part we also plotted two
values: the left one is the average of the heart-rate val-
ues computed by the algorithm and the right one is the
average of the real values of the heart-rate.
The second approach for the resampling process
consists of computing the exact position and choosing
the closest frame in the source video (nearest neigh-
bor approach). That implies that for each resampling
performed, the frames are selected with a variable
step. Using this technique, we have resampled each
video recording to the frequencies 10, 12, 15, 25, 37
and 203 fps (some of these values were chosen ran-
domly). For the frontal view ROI we have obtained
very good results for each mentioned frequency (see
Figure 8). With few exceptions, from all the other
frontal view recordings we obtained results that are
very similar to those presented in Figure 7 and in Fig-
ure 8.
Regarding the video recordings with the profile
ROI, we also obtained good results but the resam-
pling frequencies proved to have a greater influence
over the performance of the heart-rate detection algo-
rithm. A possible explanation for this could be the
fact that the aria of the profile ROI is smaller and
thus it is much more sensitive to noise than the frontal
view ROI. Besides the resampling errors, each video
recording is affected by a pseudo-random noise which
introduces big/small distortions at different sampling
frequencies. The noise may come from the camera,
from small movements that a person makes during a
recording and from variation of the sun light.
In Table 2 we display the results computed from
the recordings with the profile ROI resampled to 15
fps (with constant step) and 25 fps (using the nearest
neighbor approach). Compared to the other frequen-
cies used, these are the best results we obtained with
respect to the two types of resampling methods that
we applied.
Table 2: The results obtained for the recordings with the
profile ROI resampled to 15 fps and 25 fps.
recording real mean mean mean
no. value of the value value
heart rate at 15 fps at 25 fps
1 73.9615 71.5633 79.9467
2 56.8462 54.4584 54.5373
3 69.8154 68.8251 69.5519
4 76.5462 74.5380 76.0310
5 76.6308 75.2479 76.0874
6 71.2846 70.3463 72.1717
7 93.1000 91.6091 92.0035
ICPRAM2013-InternationalConferenceonPatternRecognitionApplicationsandMethods
602