GithubHelp home page GithubHelp logo

neuralnoise / voiceid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from backupggcode/voiceid

0.0 2.0 0.0 15.67 MB

Speaker recognition/identification system in Python

Java 28.12% Python 69.23% Shell 2.65%

voiceid's Introduction

A speaker recognition/identification system written in Python, based on the LIUM Speaker Diarization framework.

VoiceID can process video or audio files to identify in which slices of time there is a person speaking (diarization); then it examines all those segments to identify who is speaking. To do so you must have a voice models database. To create the database you have to do a "train phase", in interactive mode, by assigning a label to the unknown speakers.

You can also build yourself the speaker models and put those in the db using the scripts to create the gmm files. It can run on Windows, Linux, Mac OS X.


Dependencies:

  1. Python 2.7
  2. Java >= 1.6
  3. GStreamer (base, good, bad, tools)
  4. SoX

For the GUI:

  1. wxPython >= 2.8
  2. mplayer
  3. MplayerCtrl

Tested on Ubuntu 12.04/12.10

Setup in Ubuntu:

  $ sudo apt-get install python2.7 python-wxgtk2.8 openjdk-7-jdk gstreamer0.10-plugins-base \
      gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly \
      gstreamer-tools sox mplayer python-setuptools
  $ sudo easy_install MplayerCtrl
  $ svn checkout http://voiceid.googlecode.com/svn/trunk voiceid
  $ cd voiceid
  $ sudo python setup.py install

Usage:

to analyze a video/audio file in interactive mode (the system ask you who is speaking if not yet present in db) just type (if you have /usr/local/bin in your path):

vid -i INPUT_FILE -u

to analyze a video/audio file in batch mode

vid -i INPUT_FILE

to build a voice model from a given wav file

vid -s SPEAKER_ID -g INPUT_FILE

to analyze a video/audio file in interactive mode, writing the output in json file

vid -i INPUT_FILE -f json -u

to analyze a noisy audio file in interactive mode, writing the output in json file

vid -i INPUT_FILE -f json -n -u

to see other options

vid -h

Output:

the output of the current svn release is available as json file, srt file and an experimental xmp sidecar file format

GUI:

voiceidplayer

to run voiceidplayer with a video/audio file and database path

voiceidplayer video_file database_path

voiceid's People

Watchers

James Cloos avatar Starbuck 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.