Skip to content

Embedded Machine Learning | Arduino Nano BLE Sense | Relay | Mini Compressor | Edge Impulse

License

Notifications You must be signed in to change notification settings

mgupta70/Embedded-ML-Snoring-Relief-Pillow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnoreGuard-ML-Powered-Pillow-for-Snore-Detection-and-Sleeping-Posture-Correction-using-TinyML

Embedded Machine Learning | Arduino Nano BLE Sense | Relay | Mini Compressor | Edge Impulse

Problem

Snoring is often associated with a sleep disordercalled Obstructive Sleep Apnea (OSA), and OSA is a common condition which is linked to cardiac problems and can be fatal if it left untreated. Another problem is insufficient sleep for both himself and others aside from him. In the United States, insufficient sleep and sleep disorders account for $411 billion in the economic losses and represent 2.28% of the country’s gross domestic product (GDP) annually.

Image 1 Image 2

Snoring occurs when air cannot flow freely through the airway as a person sleeps. When we sleep on the back, due to gravity’s effect on the throat narrows the airway. There are several causes of snoring. One of the cause of snoring is sleeping position.

Solution

Turn the Snorer from Supine to Side position.

Image 1

Existing Product in the market

Image 1

High Level System Design

Image 1

Circuit Design

Image 1

Components and Setup

Image 1 Image 2

Audio Data Preprocessing and basic training & inference working flow

Downloaded Snoring dataset from Kaggle.-->> Converted audio signal from .wav file to 2D tensor(spectrogram) as shown in the below figure.-->> Trained the classification model with CNN(Convolutional Neural Network) architecture.-->> Converted the trained model into .tflite and then into .h file. .h file contains the model's weight in array.

Image 2

Working Demo

About

Embedded Machine Learning | Arduino Nano BLE Sense | Relay | Mini Compressor | Edge Impulse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published