Structural Anomalies Detection from Electrocardiogram (ECG) with Spectrogram and Handcrafted Features

Sensors (Basel). 2022 Mar 23;22(7):2467. doi: 10.3390/s22072467.

Abstract

Cardiovascular diseases are the leading cause of death globally, causing nearly 17.9 million deaths per year. Therefore, early detection and treatment are critical to help improve this situation. Many manufacturers have developed products to monitor patients' heart conditions as they perform their daily activities. However, very few can diagnose complex heart anomalies beyond detecting rhythm fluctuation. This paper proposes a new method that combines a Short-Time Fourier Transform (STFT) spectrogram of the ECG signal with handcrafted features to detect heart anomalies beyond commercial product capabilities. Using the proposed Convolutional Neural Network, the algorithm can detect 16 different rhythm anomalies with an accuracy of 99.79% with 0.15% false-alarm rate and 99.74% sensitivity. Additionally, the same algorithm can also detect 13 heartbeat anomalies with 99.18% accuracy with 0.45% false-alarm rate and 98.80% sensitivity.

Keywords: anomaly detection; deep learning; electrocardiogram; machine learning; signal processing.

MeSH terms

  • Algorithms
  • Electrocardiography* / methods
  • Heart Defects, Congenital*
  • Heart Rate
  • Humans
  • Monitoring, Physiologic
  • Neural Networks, Computer
  • Signal Processing, Computer-Assisted