Giter VIP home page Giter VIP logo

esp32_fashion_mnist's Introduction

Fashion MNIST for ESP32 example

This example shows how you can use Tensorflow Lite for Microcontrollers to run a neural network to classify images of clothing. It is designed to run on ESP32 platform.

Here ESP32 was used as standalone computational device.

Hardware

LILYGO® TTGO T-Camera ESP32 WROVER

It is LILYGO® TTGO T-Camera ESP32 WROVER that was bought here.

Software. The idea.

Sometimes it makes sense using more than one MCU in the IoT project. In this project, I decided to consider ESP32 MCU as a standalone computational device. In my case, I did not want to dig in ESP32 camera API and wanted to be focused on ML functionality. I wanted just only send data from my PC to the microcontroller to feed NN and then receive results back. Almost all microcontrollers have at least one UART controller which makes such an approach quite universal (at least for testing your NN on certain hardware).

I used the Fashion MNIST dataset provided by TensorFlow Datasets to build model with input images 14x14 pixels size. I deployed the model with TensorFlow Lite for Microcontrollers to ESP32. Then I run Test_TFLite_Micro.ipynb to send test data to MCU and receive predictions back to PC.

PC will send data to the microcontroller to run inference on the NN

esp32_fashion_mnist's People

Contributors

mr-goldhands avatar

Watchers

 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.