{'fraction_non_alphanumeric': 0.022245762711864406, 'fraction_numerical': 0.00423728813559322, 'mean_word_length': 5.342281879194631, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Dynamic Time Warping for Heartbeat Detection in Ballistocardiography

Monitoring vital signs of neonates can be harmful and lead to developmental troubles. Ballistocardiography, a contactless heart rate monitoring method, has the potential to reduce this monitoring pain. But signal processing is uneasy due to noise, inherent physiological variability and artifacts (e.g. respiratory amplitude modulation and body position shifts). We propose a new detection of heartbeats using a dynamic time warping (DTW) template matching method. A heartbeat template is automatically trained and the most similar potential heartbeats in the signal are classified as heartbeats. Data normalizing and DTW steps overcome amplitude and time variability issues. The DTW template matching algorithm has been tested on a 20 to 50 minutes-long BCG records of ten healthy adults in noisy conditions. It is suitable for medical, real-time and low-cost applications.