# Exploring the feasibility of real-time on-device ECG biometric classification using quantized neural networks

**Authors:** Martin Berki, Anton Mateasik, Michal Micjan, Erik Vavrinsky, Krisztian Gasparek, Lubos Cernaj

PMC · DOI: 10.3389/fdgth.2025.1626279 · 2026-02-03

## TL;DR

This paper shows how ECG signals can be used for real-time biometric identification on wearable devices without needing cloud connectivity.

## Contribution

A quantized CNN for on-device ECG biometric classification is implemented on a microcontroller with high accuracy and real-time performance.

## Key findings

- The system achieved 94.51% F1 score and 94.68% accuracy on ECG biometric classification.
- Inference time averaged 1.35 seconds, enabling real-time operation on resource-constrained hardware.
- On-device processing improves privacy, reduces power use, and minimizes data transmission.

## Abstract

Biometric classification using electrocardiogram (ECG) signals offers a promising pathway for continuous, personalized healthcare monitoring. This work presents a proof-of-concept embedded deep learning system for real-time ECG biometric classification on wearable Holter devices, reducing reliance on continuous cloud connectivity. A quantized convolutional neural network (CNN) was deployed on an STM32H7 microcontroller to identify individuals based on unique ECG patterns, incorporating an initial signal quality assessment stage to ensure that only high-quality segments are processed. Evaluated on the PTB Diagnostic ECG Database with subject-specific training, the system achieved F1 score of 94.51% and a classification accuracy of 94.68% on five-second ECG segments, with an average inference time of 1.35 s, enabling real-time operation on resource-constrained hardware. By performing on-device inference, the system improves data privacy, can reduce power consumption, and minimizes unnecessary data transmission. This embedded implementation demonstrates the feasibility of integrating lightweight ECG biometrics into wearable systems, with potential for future extensions toward personalized healthcare monitoring and early anomaly detection.

## Full-text entities

- **Diseases:** myocardial infarctions (MESH:D009203), CVDs (MESH:D002318), cardiac abnormalities (MESH:D018376), fatalities (MESH:C565541), Infarction (MESH:D007238), Arrhythmia (MESH:D001145), deaths (MESH:D003643), heart (MESH:D006331)
- **Chemicals:** CPU (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]
- **Cell lines:** STM32H7 — Homo sapiens (Human), Transformed cell line (CVCL_9U70)

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12909525/full.md

---
Source: https://tomesphere.com/paper/PMC12909525