CoolFace
Apppublic

chavdad23543/Heart_Rate_and_Arrhythmia_Detection

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

Heart Rate and Arrhythmia Detection from Wearable Sensors

This Streamlit application analyzes wearable ECG/PPG signal data to estimate heart rate and detect possible arrhythmia using a trained deep learning model.

Features

  • —Upload wearable sensor CSV data
  • —Use built-in demo signal
  • —Estimate heart rate in BPM
  • —Detect heartbeat peaks
  • —Classify heartbeat segments using a trained 1D CNN model
  • —Show normal and abnormal heartbeat results
  • —Download prediction results as CSV

Model

The deployed model is a 1D Convolutional Neural Network trained for ECG heartbeat classification.

Classes

LabelClass
0Normal
1Supraventricular
2Ventricular
3Fusion
4Unclassifiable

Required Files

FilePurpose
app.pyStreamlit application
requirements.txtPython dependencies
heartbeat_cnn_final.kerasTrained CNN model
heartbeat_scaler.pklSaved preprocessing scaler