Giter Site home page Giter Site logo

drneurosurg / ai-on-the-edge-device Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jomjol/ai-on-the-edge-device

0.0 0.0 0.0 155.83 MB

Easy to use device for connecting "old" measuring units (water, power, gas, ...) to the digital world

Home Page: https://jomjol.github.io/AI-on-the-edge-device-docs/

JavaScript 2.23% C++ 47.88% Python 0.34% C 22.89% CSS 7.23% Pascal 0.42% HTML 18.65% CMake 0.35% Batchfile 0.02%

ai-on-the-edge-device's Introduction

Welcome to the AI-on-the-edge-device

Artificial intelligence based systems have become established in our everyday lives. Just think of speech or image recognition. Most of the systems rely on either powerful processors or a direct connection to the cloud for doing the calculations there. With the increasing power of modern processors, the AI systems are coming closer to the end user – which is usually called edge computing. Here, this edge computing is put into a practically oriented example, where an AI network is implemented on an ESP32 device so: AI on the edge.

This project allows you to digitize your analog water, gas, power and other meters using cheap and easily available hardware.

All you need is an ESP32 board with a supported camera and something of a practical hand.

Key features

  • Tensorflow Lite (TFlite) integration – including easy-to-use wrapper
  • Inline image processing (feature detection, alignment, ROI extraction)
  • Small and cheap device (3 x 4.5 x 2 cm³, < 10 EUR)
  • Integrated camera and illumination
  • Web interface for administration and control
  • OTA interface for updating directly via the web interface
  • Full integration into Homeassistant
  • Support for Influx DB 1 and 2
  • MQTT
  • REST API

Workflow

The device takes a photo of your meter at a defined interval. It then extracts the Regions of Interest (ROIs) from the image and runs them through artificial intelligence. As a result, you get the digitized value of your meter.

There are several options for what to do with that value. Either send it to an MQTT broker, write it to an InfluxDb or simply provide access to it via a REST API.

Impressions

AI-on-the-edge-device on a Water Meter

Web Interface (Water Meter)

AI-on-the-edge-device on a Electrical Power Meter

Setup

There is growing documentation which provides you with a lot of information. Head there to get a start, set it up and configure it.

There are also articles in the German Heise magazine "make:" about the setup and technical background (behind a paywall): DIY - Setup

A lot of people created useful Youtube videos which might help you getting started. Here a small selection:

For further background information, head to Neural Networks, Training Neural Networks and Programming on the ESP32.

Download

The latest available version can be found on the Releases page.

Flashing the ESP32

Initially you will have to flash the ESP32 via a USB connection. Later updates are possible directly over the air (OTA using WIFI).

There are different ways to flash your ESP32:

  • The prefered way is the Web Installer and Console which is a browser-based tool to flash the ESP32 and extract the log over USB:
  • Flash Tool from Espressif
  • ESPtool (command-line tool)

See the documentation for more information.

Flashing the SD Card

The SD card can be setup automatically after the firmware got installed. See the documentation for details. For this to work, the SD card must be FAT formated (which is the default on a new SD card). Alternatively the SD card still can be setup manually, see the documentation for details!

Casing

Various 3D-printable housing can be found here:

Donate

If you would like to support the developer with a cup of coffee, you can do that via PayPal.

Support

If you have any technical problems please search the discussions. In case you found a ug or have a feature request, please open an issue.

In other cases you can contact the developer via email:

Changes and History

See Changelog.

Build It Yourself

See Build Instructions.

Tools

Additional Ideas

There are some ideas and feature requests which are not currently being pursued – mainly due to capacity reasons on the part of the developers. They features are collected in the issues and in FeatureRequest.md.

ai-on-the-edge-device's People

Contributors

caco3 avatar cristianmitran avatar docksquadron avatar flooxo avatar github-actions[bot] avatar haverland avatar jasaw avatar jochenchrist avatar jomjol avatar lordguilly avatar mad2xlc avatar michaeljoos72 avatar muggenhor avatar nliaudat avatar ottk3 avatar parhedberg avatar pfeifferch avatar phlupp avatar pixeldoc2000 avatar ralf1307 avatar rdmueller avatar rstephan avatar skylightxd avatar slider0007 avatar smartboart avatar sybexx avatar turbo87 avatar yonz2 avatar yveaux avatar zwer2k avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.