Enhancing a Deep Learning Camera-Based Approach for Heart Rate Detection in Vehicles Using Non-Functional Requirements

Published:

Abstract—Remote detection and monitoring of vital signs, such as heart rate, using remote photoplethysmography in a vehicle environment is a researched method to detect drivers’ sudden illnesses and improve road safety. Deep learning models have shown their efficiency in detecting heart rate in a ve- hicle environment. However, improving their performance and evaluating them becomes a challenge due to the complexity of such models. Moreover, using non-functional requirements to evaluate the quality of these models presents a challenge since there is limited understanding and research on how they can be applied to deep learning models. In this study, we explore how a state-of-the-art camera-based deep learning model can be enhanced by identifying relevant non-functional requirements, such as explainability, reliability, and robustness, based on the challenges posed by detecting heart rate in the vehicle environment. Experiment research method was chosen for this study to compare and evaluate pre-enhanced and enhanced versions of the same model. We improved the feature extraction of the model based on the signal-to-noise ratio evaluation metric, though the model’s generalizability decreased. Based on the process of enhancement and evaluation, we provide recommendations to software engineers concerning what to potentially expect when working with such models. This study presents a different approach to enhancing a deep learning model, particularly using non-functional requirements to evaluate the model’s quality and performance, highlighting their importance in the evaluation and enhancement process.

Index Terms—Remote photoplethysmography, software engineering, requirement engineering, advanced driver assistance systems, driver monitoring systems, non-functional requirements.

Recommended citation: A. Golubenko and A. A. Deng, “Enhancing a deep learning camera-based approach for heart rate detection in vehicles using non-functional requirements,” B.Sc. thesis, Dept. Comput. Sci. Eng., Univ. Gothenburg and Chalmers Univ. Technol., Gothenburg, Sweden, 2024.
Download Paper