Comparative analysis of TensorFlow/Keras and Edge Impulse for fall detection on Android devices using TinyML

Authors

  • Hector Gonzalez Herrera Faculty of Statistics and Computer Science, Veracruz University, Av. Xalapa Street, Xalapa 91020, Veracruz, Mexico
  • Oscar Alonso Ramirez Faculty of Statistics and Computer Science, Veracruz University, Av. Xalapa Street, Xalapa 91020, Veracruz, Mexico https://orcid.org/0009-0007-6476-5781
  • Sergio Hernandez Mendez Artificial Intelligence Research Institute, Universidad Veracruzana, Calle Paseo No. 112, Colonia Nueva Xalapa, Xalapa C.P. 91097, Veracruz, Mexico https://orcid.org/0000-0001-9997-9690
  • Carolina Gabriela Maldonado Mendez Institute of Agroengineering, University of Papaloapan, Loma Bonita, ZIP 68400, Oaxaca, Mexico https://orcid.org/0000-0002-9441-2633

DOI:

https://doi.org/10.5281/zenodo.24764673

Keywords:

TinyML, TensorFlow Lite, Edge Computing, Edge Impulse, Fall Detection

Abstract

Falls represent one of the leading causes of severe injuries among older adults, and the timely detection of such events is critical for reducing associated morbidity. Conventional monitoring systems often rely on cloud-based servers, which can introduce high latency and operational failures in the event of connectivity loss. In this study, a one-dimensional convolutional neural network (1D-CNN) was trained using the publicly available UniMiB-SHAR dataset. The models were developed using two different environments: TensorFlow/Keras, with subsequent conversion to TensorFlow Lite, and the Edge Impulse platform, using its native C++ SDK. Model performance was evaluated in terms of accuracy, F1-score, and sensitivity, as well as resource consumption, including model size, inference RAM usage, and APK size. Inference latency was also measured directly on the Android device. The evaluated platforms demonstrated the technical feasibility of continuous fall monitoring without requiring an Internet connection.

Author Biographies

Hector Gonzalez Herrera, Faculty of Statistics and Computer Science, Veracruz University, Av. Xalapa Street, Xalapa 91020, Veracruz, Mexico

Graduate of the Bachelor's degree in Computer Technologies at the Universidad Veracruzana, class of 2022-2026. Graduated in the technical-practical modality.

Oscar Alonso Ramirez, Faculty of Statistics and Computer Science, Veracruz University, Av. Xalapa Street, Xalapa 91020, Veracruz, Mexico

Doctor in Artificial Intelligence from the Universidad Veracruzana. Full-time professor at the Faculty of Statistics and Computer Science at the Universidad Veracruzana. He has various national and international publications. His interests include computer vision, service robotics, machine learning, and human-computer interaction.

Sergio Hernandez Mendez, Artificial Intelligence Research Institute, Universidad Veracruzana, Calle Paseo No. 112, Colonia Nueva Xalapa, Xalapa C.P. 91097, Veracruz, Mexico

Full-Time Researcher and Coordinator of the Master's in Artificial Intelligence at the Institute of Research in Artificial Intelligence of the Veracruzana University. He is a member of the National System of Researchers and a member of the Mexican Robotics Federation.

Carolina Gabriela Maldonado Mendez, Institute of Agroengineering, University of Papaloapan, Loma Bonita, ZIP 68400, Oaxaca, Mexico

Teacher. Full-time researcher at the University of Papaloapan, teaching classes in Computer Engineering and Master's in Systems Optimization and Control. Member of the National System of Researchers (SNI, Candidate Level). Desirable Prodep profile.

References

Cong, D. L., Quang, B. N., Minh, D. T., Cao, D. T., & Ngoc, M. N. (2024). Continuous wearable-based fall detection using Tiny Machine Learning. 2024 9th International Conference on Applying New Technology in Green Buildings (ATiGB). https://doi.org/10.1109/ATiGB63471.2024.10717707

Liu, P., Pan, J., Zhu, H., & Li, Y. (2021). A wearable fall detection system based on 1D CNN. 2021 2nd International Conference on Artificial Intelligence and Computer Engineering (ICAICE). https://doi.org/10.1109/ICAICE54393.2021.00046

Liu, Y. (2025). A smartphone-based elderly fall detection approach. 2025 2nd International Conference on Electronic Engineering and Information Systems (EEISS). https://doi.org/10.1109/EEISS65394.2025.11085961

Mao, W.-L., Wang, C.-C., Chou, P.-H., Liu, K.-C., & Tsao, Y. (2024). MECKD: Deep learning-based fall detection in multilayer mobile edge computing with knowledge distillation. IEEE Sensors Journal, 24(24), 42195–42209. https://doi.org/10.1109/JSEN.2024.3456577

Mekruksavanich, S., Jantawong, P., Hnoohom, N., & Jitpattanakul, A. (2022). Automatic fall detection using deep neural networks with aggregated residual transformation. 2022 37th International Technical Conference on Circuits/Systems, Computers and Communications (ITC-CSCC), 811–814. https://doi.org/10.1109/ITC-CSCC55581.2022.9895054

Micucci, D., Mobilio, M., & Napoletano, P. (2017). UniMiB SHAR: A Dataset for Human Activity Recognition Using Acceleration Data from Smartphones. Applied Sciences, 7(10), 1101. https://doi.org/10.3390/app7101101

Nooyimsai, L., Pakdeepong, O., Chatchawalvoradech, S., Phiakhan, T., & Laitrakun, S. (2022). Smartphone-based human activity and fall recognition using deep feature extraction and machine-learning classifiers. 2022 17th International Joint Symposium on Artificial Intelligence and Natural Language Processing (iSAI-NLP), 1–6. https://doi.org/10.1109/iSAI-NLP56921.2022.9960250

Prasad, C. R., Naga Satwik, G. V., Phanneshwari, E., Moola, R., Pranith, K., & Rao, D. R. (2024). TinyML-based real-time system for detecting falls in elderly people. 2024 Asia Pacific Conference on Innovation in Technology (APCIT). https://doi.org/10.1109/APCIT62007.2024.10673501

Shakya, S. R., Ceh-Varela, E., Martinez, J., Fisher, M., & Allamehzadeh, H. (2025). Optimized CNN-based fall detection for elderly using wearable devices on resource-constrained devices. IEEE 18th Dallas Circuits and Systems Conference (DCAS), 1–6. https://doi.org/10.1109/DCAS65331.2025.11045488

Published

2026-12-04

How to Cite

Gonzalez Herrera, H., Alonso Ramirez, O., Hernandez Mendez, S., & Maldonado Mendez, C. G. (2026). Comparative analysis of TensorFlow/Keras and Edge Impulse for fall detection on Android devices using TinyML. Universita Ciencia, 14(41), 352–366. https://doi.org/10.5281/zenodo.24764673