Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
tanakamasayuki committed May 30, 2022
1 parent 06af01e commit e88e0eb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 22 deletions.
37 changes: 17 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# TensorFlowLite_ESP32

https://www.tensorflow.org/lite/microcontrollers/overview

https://github.com/espressif/tflite-micro-esp-examples

## Overview
Expand All @@ -17,6 +18,20 @@ The examples work best with the M5StickC(ESP32) board, which has a microphone an

Outputs sine waves to serial outputs and build-in LEDs.

### micro_speech

This is a sample of speech recognition.
The audio_provider and command_responder must be modified according to the environment in which they are used.

### person_detection

It is a person detection using a camera.
The image_provider and detection_responder must be modified according to the environment in which they are used.

## OldExamples

This is a sample for older versions. It will not work as it is.

### magic_wand

This is gesture recognition using acceleration.
Expand All @@ -29,11 +44,6 @@ A sketch customized to look like a specific board.
- M5StickC
- M5StackFire

### micro_speech

This is a sample of speech recognition.
The audio_provider and command_responder must be modified according to the environment in which they are used.

### micro_speech_*

A sketch customized to look like a specific board.
Expand All @@ -43,11 +53,6 @@ A sketch customized to look like a specific board.
- M5StackFire
- ATOM Echo

### person_detection

It is a person detection using a camera.
The image_provider and detection_responder must be modified according to the environment in which they are used.

### person_detection_ESP32-Camera

It is a person detection using a camera.
Expand Down Expand Up @@ -120,18 +125,10 @@ A sketch customized to look like a specific board.

## How to make this library
```
wget https://github.com/tensorflow/tensorflow/archive/v2.1.1.tar.gz
tar zxvf v2.1.1.tar.gz
cd tensorflow-2.1.1
make -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=esp generate_micro_speech_esp_project
cd scripts
bash ./sync_from_tflite_micro.sh
```

This is the base file.

- Renamed *.cc to *.cpp
- Edit the include path
- And, Minor corrections

## special thanks

- https://www.tensorflow.org/lite/microcontrollers/overview
Expand Down
3 changes: 1 addition & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name=TensorFlowLite_ESP32
version=0.9.0
version=1.0.0
author=TensorFlow Authors
maintainer=TANAKA Masayuki <[email protected]>
sentence=Allows you to run machine learning models locally on your ESP32 device.
paragraph=This library runs TensorFlow machine learning models on microcontrollers, allowing you to build AI/ML applications powered by deep learning and neural networks. With the included examples, you can recognize speech, detect people using a camera, and recognise "magic wand" gestures using an accelerometer. The examples work best with the Arduino Nano 33 BLE Sense board, which has a microphone and accelerometer.
category=Data Processing
url=https://github.com/tanakamasayuki/Arduino_TensorFlowLite_ESP32
ldflags=-lm
includes=TensorFlowLite_ESP32.h

0 comments on commit e88e0eb

Please sign in to comment.