TinyML-Based Real-Time Doorway Activity Recognition with a Time-of-Flight Sensor

The present paper sets out a fully embedded system for real-time classification of human motion events at a doorway using a Time-of-Flight sensor and a Tiny Machine Learning model deployed on an Arduino Nano 33 IoT. The system is capable of distinguishing between three distinct behaviors: entering, exiting, and approaching–leaving. This is achieved by analyzing sequences of distance measurements using a quantized 1D convolutional neural network. A dataset was collected from 15 participants, and the model was evaluated using both 70–30 and leave-one-subject-out validation protocols. The quantized model demonstrated an accuracy of over 95% in subject-aware testing and above 91% in subject-independent scenarios. When deployed on the microcontroller, the system demonstrated an inference time of 275 ms, an average power consumption of 16 mW, and 26 KB of SRAM usage. These results confirm the feasibility of accurate, real-time human motion classification in a compact, battery-friendly architecture suitable for smart environments and embedded monitoring.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2025-09-04
DOI
https://doi.org/10.3390/electronics14173533
Primary Topic
Context-Aware Activity Recognition Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TinyML-Based Real-Time Doorway Activity Recognition with a Time-of-Flight Sensor

Emanuele Torti, Roberto Gandolfi, Sahar Taheri Moghadar
Electronics
Context-Aware Activity Recognition Systems
article

TinyML-Based Real-Time Doorway Activity Recognition with a Time-of-Flight Sensor

Emanuele Torti, Roberto Gandolfi, Sahar Taheri Moghadar
article en

Abstract

The present paper sets out a fully embedded system for real-time classification of human motion events at a doorway using a Time-of-Flight sensor and a Tiny Machine Learning model deployed on an Arduino Nano 33 IoT. The system is capable of distinguishing between three distinct behaviors: entering, exiting, and approaching–leaving. This is achieved by analyzing sequences of distance measurements using a quantized 1D convolutional neural network. A dataset was collected from 15 participants, and the model was evaluated using both 70–30 and leave-one-subject-out validation protocols. The quantized model demonstrated an accuracy of over 95% in subject-aware testing and above 91% in subject-independent scenarios. When deployed on the microcontroller, the system demonstrated an inference time of 275 ms, an average power consumption of 16 mW, and 26 KB of SRAM usage. These results confirm the feasibility of accurate, real-time human motion classification in a compact, battery-friendly architecture suitable for smart environments and embedded monitoring.

ElectronicsVol. 14(17)
University of Pavia (IT)
Openalex Percentile: Top 77%
Context-Aware Activity Recognition Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

TinyML-Based Real-Time Doorway Activity Recognition with a Time-of-Flight Sensor — Emanuele Torti, Roberto Gandolfi, et al. · Electronics (2025) | TGRS Research Map | TGRS