{ "info": { "author": "Aditya Khandkar", "author_email": "khandkar.adi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Multimedia :: Sound/Audio :: Analysis", "Topic :: Multimedia :: Sound/Audio :: Speech", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Piwho\n=====\n\nPiwho is python wrapper around `MARF `__\nspeaker recognition framework for the Raspberry pi and other SBCs. With\nthe Piwho you can implement speaker recognition in your projects.\n\n.. image:: https://travis-ci.org/Adirockzz95/Piwho.svg?branch=v1.3.0\n :target: https://travis-ci.org/Adirockzz95/Piwho\n\n|\n\n**Blink example**\n\n.. code:: python\n\n\n import RPi.GPIO as GPIO\n import time\n from piwho import recognition, vad\n\n def blink(pin):\n GPIO.setmode(GPIO.BOARD)\n GPIO.setup(pin, GPIO.OUT) \n\n for i in range(0,10):\n GPIO.output(pin,GPIO.HIGH)\n time.sleep(1)\n GPIO.output(pin,GPIO.LOW)\n time.sleep(1)\n \n if __name__ == \"__main__\":\n recog = recognition.SpeakerRecognizer('./')\n vad.record()\n name = recog.identify_speaker()\n if name[0] == 'Abhishek':\n blink(11)\n\nTested on\n---------\n\n- Ubuntu 15.10\n- Pi 1 model B (raspbian wheezy, jessie)\n- Pi 2 model B (raspbian wheezy, jessie, stretch)\n- CHIP\n\nInstallation\n------------\n\nUpdate the Pi\n\n.. code:: bash\n\n $ sudo apt-get update\n $ sudo apt-get upgrade\n\nYou need to have JDK (min version: 1.7) installed on your Pi.\n\n.. code:: bash\n\n # verify jdk is installed\n $ java -version\n\nPyaudio is required to run audio recording script. (Optional)\n\n.. code:: bash\n\n # Install portaudio\n $ sudo apt-get install portaudio19-dev\n # Install python dev package\n $ sudo apt-get install python2.7-dev\n # Install pyaudio\n $ pip install pyaudio \n\nPiwho is on PyPI\n\n.. code:: bash\n\n $ pip install piwho\n\nor clone the project from github\n\n.. code:: bash\n\n $ git clone https://www.github.com/Adirockzz95/Piwho.git\n $ cd Piwho\n $ python setup.py install\n\nTests\n-----\n\nTests are implemented using unittest framework:\n\n.. code:: bash\n\n $ pip install -r requirements.txt\n $ python -m unittest discover -v ./tests\n\nDocumentation\n-------------\n\n- `Training the model `__\\ \n- `Recognition `__\\ \n- `Gender detection `__\\ \n- `integrating with Jasper `__\n\nTips / Caveats\n--------------\n\n- Recognition/Training time depends on the length of an audio file.\n- If possible overclock your Pi- use Turbo mode.\n- Give maxmium RAM to CPU.\n- Read `MARF\n manual `__\n to know how the it works.\n- Recognition speed is directly proportional to the CPU power.\n\nMisc\n----\n\nHere are resources/similar projects I came across while working on this\nproject.\n\n- `recognito `__ : Works\n very well on Pi, but data storage is not implemented.\n- `voiceid `__\n- `ALIZE `__\n- `Shout `__\n- `MARF\n manual `__\n- `LIUM\n site `__\n\n\nLICENSE\n-------\n`MIT <./LICENSE>`__", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Adirockzz95/PiWho", "keywords": "Speaker recognition Raspberry Pi MARF", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "piwho", "package_url": "https://pypi.org/project/piwho/", "platform": "", "project_url": "https://pypi.org/project/piwho/", "project_urls": { "Homepage": "https://github.com/Adirockzz95/PiWho" }, "release_url": "https://pypi.org/project/piwho/1.3.2/", "requires_dist": null, "requires_python": "", "summary": "A python wrapper around MARF speaker recognition frameworkfor raspberry pi and other SBCs", "version": "1.3.2" }, "last_serial": 3484133, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8880ef9e813ecd1222377313091f7c54", "sha256": "46e8b398471880b14c96d0a5f0cd5717ad513892a47a4ab0b4ea935db21a8994" }, "downloads": -1, "filename": "piwho-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8880ef9e813ecd1222377313091f7c54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 538246, "upload_time": "2016-07-20T15:18:54", "url": "https://files.pythonhosted.org/packages/18/9b/f6a570a653ef917ca0b4a31d686dfad3d1f520ab2b9caa3fad77dc422bcc/piwho-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "ee4522cecd52e3f242978ffe3559336b", "sha256": "0c3a2e1d12441bd39bde54c65f4112403bc6dfee750574250cf321357bd6633e" }, "downloads": -1, "filename": "piwho-1.1.0.tar.gz", "has_sig": false, "md5_digest": "ee4522cecd52e3f242978ffe3559336b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 538413, "upload_time": "2016-08-20T06:36:35", "url": "https://files.pythonhosted.org/packages/8e/00/d38efcd764daf653425ef82e55677db961ebfbed4e352d1508f509b5b5b3/piwho-1.1.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "ade402c851f6ce66f84100d006e36952", "sha256": "20f07f5a3bbd6bcad22d48ebe2f0ce76288241f1a2928919b387df5cf6b0df1e" }, "downloads": -1, "filename": "piwho-1.3.1.tar.gz", "has_sig": false, "md5_digest": "ade402c851f6ce66f84100d006e36952", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1025050, "upload_time": "2016-10-26T15:08:41", "url": "https://files.pythonhosted.org/packages/98/3d/330fe3e3ea5e7f6a21faa99b9f3ed6b9db0852c0bb40b341fd233b8e630a/piwho-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "715b8a91d63ff31932dffae4fdecdc5d", "sha256": "9c108ef551d29fcfab547519d9e7b61b1c0227a37a5c67f59d801c97eea3fd96" }, "downloads": -1, "filename": "piwho-1.3.2.tar.gz", "has_sig": false, "md5_digest": "715b8a91d63ff31932dffae4fdecdc5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 882765, "upload_time": "2018-01-12T13:52:55", "url": "https://files.pythonhosted.org/packages/2e/68/00a2f1dde6eaaf3cfb713c4337cae6e450f6f83e8cc93bb9f343d7478dcb/piwho-1.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "715b8a91d63ff31932dffae4fdecdc5d", "sha256": "9c108ef551d29fcfab547519d9e7b61b1c0227a37a5c67f59d801c97eea3fd96" }, "downloads": -1, "filename": "piwho-1.3.2.tar.gz", "has_sig": false, "md5_digest": "715b8a91d63ff31932dffae4fdecdc5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 882765, "upload_time": "2018-01-12T13:52:55", "url": "https://files.pythonhosted.org/packages/2e/68/00a2f1dde6eaaf3cfb713c4337cae6e450f6f83e8cc93bb9f343d7478dcb/piwho-1.3.2.tar.gz" } ] }