Giter Club home page Giter Club logo

voice-recognition's Introduction

Voice Recognition

This project uses a pre trained speech embedding model for speaker recognition using TensorFlow 2.4 and TensorFlow 2.5. The model achieves over 98% accuracy in identifying whether two speech samples belong to the same person without storing any personal voice samples.

Voice-Recognition.mp4

Getting Started

  1. Clone the repository:

    git clone https://github.com/NikhilKalloli/Voice-Recognition.git
    
  2. Navigate to the directory:

    cd Voice-Recognition
    
  3. Create a Virtual Environment with python version 3.8

    py -3.8 -m venv venv
    
    If you don't have python 3.8 installed, you can download it from here
  4. Install the required dependencies(in a virtual Environment):

    pip install -r requirements.txt
    
  5. Run the Streamlit app:

    streamlit run streamlit_app.py
    

Working

Model Architecture:

This speech embedding model architecture utilizes a stack of two LSTM layers following the computation of the mel-frequency spectrogram from the input audio data in the time domain. The model architecture includes a Dense layer that outputs the final audio embeddings.The total number of parameters is 641k.

Dataset:

In this work, the Mozilla Common Voice dataset was used. It contains a large amount of voice samples, including client_id, the audio file, the sentence that was spoken and some features about the speaker (age, gender, etc).

Training:

Training involves preprocessing audio samples, utilizing triplet loss, and training on a large dataset.

Applications:

This model enables identity verification from speech, offering applications in audio diarization, identity verification, and transfer learning.

Contributing

Contributions are welcome! If you have any improvements or new features to suggest, please create a pull request. If you have any questions or issues, feel free to open an issue.

voice-recognition's People

Contributors

nikhilkalloli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.