# EdgeAI and the MING stack with Edge Impulse and balena

**URL:** <https://forums.balena.io/t/edgeai-and-the-ming-stack-with-edge-impulse-and-balena/374171>\
**Category:** Show and Tell\
**Created:** [May 2, 2025, 10:32am UTC](https://forums.balena.io/t/edgeai-and-the-ming-stack-with-edge-impulse-and-balena/374171 "2025-05-02T10:32:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [May 2, 2025, 10:32am UTC](https://forums.balena.io/t/edgeai-and-the-ming-stack-with-edge-impulse-and-balena/374171/1 "2025-05-02T10:32:26Z")

</div>

Recently I built for a group of IoT students here in Barcelona. The project combines the MING stack (MQTT, InfluxDB, Node-RED and Grafana) with Edge Impulse for computer vision.

We trained a ML model with Edge Impulse for Raspberry Pi running balena that could be automatically deployed, and used a camera to detect objects from the ML model in real-time.

Inference results were published to the MQTT broker (check `cam/capture.py`). Later in Node-RED we created a flow to subscribe to the MQTT topic where the inference results were being published, we stored them on influxDB and visualized the results on Grafana.

We also connected the inference results with a Telegram bot via Node-RED to use instant notifications in the mobile app.

> **[GitHub - mpous/balena-edgeimpulse-ming](https://github.com/mpous/balena-edgeimpulse-ming)**
>
> Contribute to mpous/balena-edgeimpulse-ming development by creating an account on GitHub.

Feel free to explore and share feedback 🙂
