jonnor/embeddedml
Notes on Machine Learning on edge for embedded/sensor/IoT uses
What it solves
Embedded devices like microcontrollers often lack the resources to run machine learning models, but there are many reasons to do so: local response, privacy, low latency, and low bandwidth needs. The README argues that sending raw sensor data to the cloud wastes bandwidth, raises privacy concerns, and adds latency. It lists use cases like predictive maintenance, activity detection, gesture recognition, and more, all of which benefit from on-device inference.
How it works
This repository is a curated guide, not a software tool. It explains that training happens on a standard computer or server using existing tools, while the inference or prediction part runs on the microcontroller. It surveys open-source tools that enable this, such as emlearn (which converts scikit-learn models to C code), TensorFlow Lite for Microcontrollers, and others. It also includes notes on model families (trees, neural networks, SVMs) and links to further resources like articles and presentations.
Who it’s for
Developers and engineers working on embedded systems who want to add machine learning capabilities to their devices. The README is especially useful for those exploring the trade-offs between edge and cloud processing, and for anyone looking for practical tools and examples.
Highlights
- Lists concrete use cases: predictive maintenance, activity detection, gesture recognition, keyword spotting, battery saving, and more.
- Covers a range of open-source tools and libraries, including emlearn, TensorFlow Lite for Microcontrollers, onnx2c, and others.
- Provides notes on different model types suitable for embedded inference.
- Includes links to presentations, lecture notes, and real-world projects (like a toothbrush timer and a coffee roaster monitoring system).
- Discusses the state of the art and limitations as of 2019, with pointers for advancing the field.
Related
- Project
- Project
- Project
- Project