WIO Terminal: Catan Die Roll TinyML

Machine Learning in WIO Terminal (Seeed Studio) to recognize shake and roll two die using True Random Number Generator (TRNG) GitHub: debsahu/WIOCatanDieRoll Objective When WIO is shaken it will roll two die signifying a turn on Settlers of Catan board game Die roll needs to be completely random uniform distribution Die roll must happen when device is shook vigorously Hardware WIO Terminal (Seeed Studio) USB-C cable Software WIOImuTap: Uses in-built IMU to look for double tap to roll 2 die using TRNG EdgeImpulse: Upload and train NN using sensor data on Edge Impulse, deployed on WIO with live classification on serial port. Model is included AIShakeDie: Uses in-built IMU to recognize shake using NN from Edge Impulse and rolls 2 die using TRNG Collecting data from WIO & storing on Edge Impulse, training Neural Network on Edge Impulse, Export and deploy TinyML on WIO 1. Collecting data from WIO & storing on Edge Impulse Installing dependencies (Windows) Install Python 3 Install Node.js v14 or higher - install additional Node.js tools or-else install Microsoft Visual Sudio 2015 Open powershell as admin, install edge-impulse-cli npm install -g edge-impulse-cli --force For other OS please follow instructions from here. ...

September 22, 2021 · Debashish Sahu

Machine Learning to Filter Out Background Noise RTX Voice

A demo for RTX voice to filter out background noise. If you have a NVIDIA RTX/GTX GPU, utilize it to filter you background in your favorite work from home app. RTX Voice: https://www.nvidia.com/en-us/geforce/guides/nvidia-rtx-voice-setup-guide/

April 26, 2020 · Debashish Sahu

Using TensorFlowJS (Machine Learning) for Speech Recognition on ESP8266

Use TensorFlowJS via WebAudio API and WebGL GPU acceleration on Browser to recognize “keywords”. In our case, without retraining “UP” turns on LED and “DOWN” turns it off. FFT on ESP32 GitHub: debsahu/SpeechRecognitionTensorFlowJS 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 Arduino Libraries needed platformio.ini is included, use PlatformIO and it will take care of installing the following libraries. ...

April 14, 2019 · Debashish Sahu

Image Recognition Using Movidius Neural Compute Stick on a RPi0W

Let’s build a security camera using Raspberry Pi Zero W and Movidius Neural Compute Stick to recognize a “person” on the video stream GitHub: debsahu/PiCamMovidius Set up NCSDK API Install required packages on Pi sudo apt-get install -y libusb-1.0-0-dev libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler libatlas-base-dev git automake byacc lsb-release cmake libgflags-dev libgoogle-glog-dev liblmdb-dev swig3.0 graphviz libxslt-dev libxml2-dev gfortran python3-dev python-pip python3-pip python3-setuptools python3-markdown python3-pillow python3-yaml python3-pygraphviz python3-h5py python3-nose python3-lxml python3-matplotlib python3-numpy python3-protobuf python3-dateutil python3-skimage python3-scipy python3-six python3-networkx python3-tk libboost-python-dev Clone NCSDK cd ~ git clone https://github.com/movidius/ncsdk Compile and install NCSDK’s API framework cd ~/ncsdk/api/src make sudo make install Test installation using sample code from NC App Zoo cd ~ git clone https://github.com/movidius/ncappzoo cd ncappzoo/apps/hello_ncs_py python3 hello_ncs.py Output should look something like this: ...

May 27, 2018 · Debashish Sahu