Cargando…

Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning?

For most machine learning tasks big computing power is needed, but some tasks can be done with microcontrollers. In this paper well-known SoC ESP32 has been analyzed. It is usually used in IoT devices for data measurement, but some authors started to use simple machine learning algorithms with them....

Descripción completa

Detalles Bibliográficos
Autor principal: Dokic, Kristian
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7340922/
http://dx.doi.org/10.1007/978-3-030-51935-3_23
_version_ 1783555122869043200
author Dokic, Kristian
author_facet Dokic, Kristian
author_sort Dokic, Kristian
collection PubMed
description For most machine learning tasks big computing power is needed, but some tasks can be done with microcontrollers. In this paper well-known SoC ESP32 has been analyzed. It is usually used in IoT devices for data measurement, but some authors started to use simple machine learning algorithms with them. Generally, this paper will analyze the possibility of using ESP32 with a built-in camera for machine learning algorithms. Focus of research will be on durations of photographing and photograph processing, because that can be a bottleneck of a machine learning tasks. For this purpose, logistic regression has been implemented on ESP32 with camera. It has been used to differentiate two handwritten letters on the greyscale pictures (“o” and “x”). Logistic regression weights have been calculated on the cloud, but then they have been transferred to an ESP32. The output results have been analyzed. The duration of photographing and processing were analyzed as well as the impact of implemented PSRAM memory on performances. It can be concluded that ESP32 with camera can be used for some simple machine learning tasks and for camera picture taking and preparing for other more powerful processors. Arduino IDE still does not provide enough level of optimization for implemented PSRAM memory.
format Online
Article
Text
id pubmed-7340922
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73409222020-07-08 Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning? Dokic, Kristian Image and Signal Processing Article For most machine learning tasks big computing power is needed, but some tasks can be done with microcontrollers. In this paper well-known SoC ESP32 has been analyzed. It is usually used in IoT devices for data measurement, but some authors started to use simple machine learning algorithms with them. Generally, this paper will analyze the possibility of using ESP32 with a built-in camera for machine learning algorithms. Focus of research will be on durations of photographing and photograph processing, because that can be a bottleneck of a machine learning tasks. For this purpose, logistic regression has been implemented on ESP32 with camera. It has been used to differentiate two handwritten letters on the greyscale pictures (“o” and “x”). Logistic regression weights have been calculated on the cloud, but then they have been transferred to an ESP32. The output results have been analyzed. The duration of photographing and processing were analyzed as well as the impact of implemented PSRAM memory on performances. It can be concluded that ESP32 with camera can be used for some simple machine learning tasks and for camera picture taking and preparing for other more powerful processors. Arduino IDE still does not provide enough level of optimization for implemented PSRAM memory. 2020-06-05 /pmc/articles/PMC7340922/ http://dx.doi.org/10.1007/978-3-030-51935-3_23 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Dokic, Kristian
Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning?
title Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning?
title_full Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning?
title_fullStr Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning?
title_full_unstemmed Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning?
title_short Microcontrollers on the Edge – Is ESP32 with Camera Ready for Machine Learning?
title_sort microcontrollers on the edge – is esp32 with camera ready for machine learning?
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7340922/
http://dx.doi.org/10.1007/978-3-030-51935-3_23
work_keys_str_mv AT dokickristian microcontrollersontheedgeisesp32withcamerareadyformachinelearning