debsahu / SpeechRecognitionTensorFlowJS

Speech Recognition using TensorFlowJS to turn on a LED

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Speech Recognition using TensorFlowJS

Build Status License: MIT version LastCommit

Speech Recognition on Browser, AsyncWebServer served on ESP8266 to control LED_BUILTIN/GPIO16

  • Uses WebAudio API and WebGL GPU acceleration = speech recognition is done on the browser
  • http:// requests for microphone is blocked for chrome, use firefox instead
  • tf.min.js and speech-commands.min.js served from SPIFFs (1MB Program/3MB SPIFFs partition needed)
  • /upload and /update is a morden world's take on updates to ESP8266
  • Uses HTML templates to report LED_BUILTIN/GPIO16 status
  • Speech recognition: "UP" = ON and "DOWN" = OFF, "RIGHT" and "LEFT" ignored

YouTube

SpeechRecognitionTensorFlowJS

Arduino Libraries needed

platformio.ini is included, use PlatformIO and it will take care of installing the following libraries.

Library Link
ESPAsyncTCP https://github.com/me-no-dev/ESPAsyncTCP
ESPAsyncWiFiManager https://github.com/alanswx/ESPAsyncWiFiManager
ESP Async WebServer https://github.com/me-no-dev/ESPAsyncWebServer

Credits

About

Speech Recognition using TensorFlowJS to turn on a LED

License:Apache License 2.0


Languages

Language:C 55.7%Language:C++ 36.0%Language:JavaScript 4.7%Language:HTML 2.3%Language:CSS 1.3%