{'fraction_non_alphanumeric': 0.026221692491060787, 'fraction_numerical': 0.013110846245530394, 'mean_word_length': 5.31203007518797, '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}}
A Template Matching Based Cough Detection Algorithm Using IMU Data From Earbuds

Coughing is a common symptom across different clinical conditions and has gained further relevance in the past years due to the COVID-19 pandemic. An automated cough detection for continuous health monitoring could be developed using Earbud, a wearable sensor platform with audio and inertial measurement unit (IMU) sensors. Though several previous works have investigated audio-based automated cough detection, audio-based methods can be highly power-consuming for wearable sensor applications and raise privacy concerns. In this work, we develop IMU-based cough detection using a template matching-based algorithm. IMU provides a low-power privacy-preserving solution to complement audio-based algorithms. Similarly, template matching has low computational and memory needs, suitable for on-device implementations. The proposed method uses feature transformation of IMU signal and unsupervised representative template selection to improve upon our previous work. We obtained an AUC (AUC-ROC) of 0.85 and 0.83 for cough detection in a lab-based dataset with 45 participants and a controlled free-living dataset with 15 participants, respectively. These represent an AUC improvement of 0.08 and 0.10 compared to the previous work. Additionally, we conducted an uncontrolled free-living study with 7 participants where continuous measurements over a week were obtained from each participant. Our cough detection method achieved an AUC of 0.85 in the study, indicating that the proposed IMU-based cough detection translates well to the varied challenging scenarios present in free-living conditions.