Skip to content

Sound of steps classifier with convolutional neural networks using spectrograms of audio of steps.

Notifications You must be signed in to change notification settings

matflow/cnn-sound-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

cnn-sound-classifier

An application of convolutional neural networks (CNN) using Tensorflow Keras API. The purpose of the project is to classify the sounds of steps of two different people using CNNs, which doesn't sound very intuitive since CNNs are commonly used for image processing. The idea of this implementation is to use spectrograms of audio as the dataset, since spectrograms are images which can be better suited for training CNNs. persona1_train_frames094

The image above corresponds to the spectrogram of a 2 second audio of a person's steps.

After training the convolutional network for 6 epochs, the accuracy of the sound classifier went from 55.07% at the start, to 75.17% after the training was done.

  • espectrograms.zip contains a zipfile with 752 spectrograms for class1 (steps of a person) and 716 spectrograms for class2 (steps of another person), which are splitted in code in a 80% train, 10% validation and 10% test ratio.
  • cnn_stepsound_classifier.ipynb is a jupyter notebook which contains the implementation of the CNN sound classifier.

About

Sound of steps classifier with convolutional neural networks using spectrograms of audio of steps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published