Trial of voice recognition using Azure with Python (input from microphone)

(As of November 30, 2016, I'm still writing notes)

For the time being, I tried to make voice recognition from a microphone with Python. I used Azure's Bing Speech API. https://www.microsoft.com/cognitive-services/en-us/speech-api/documentation/overview

When I created an account and clicked on the trial button etc., a Cognitive Services account was created on the Azure screen, and the KEY information required to use the API came out.

So far, it seems that there are still courses to try for free.

When using it in Python this https://github.com/Uberi/speech_recognition

used. pip install SpeechRecognition It is installed with. It seems to be quite sophisticated.

I also needed to install something called pyaudio. This can also be installed from pip. For the time being, when I put SpeechRecognition and run the sample source, I got an error saying that pyaudio is required, so I installed it after seeing it.

The sample code is https://github.com/Uberi/speech_recognition/blob/master/examples/microphone_recognition.py I used it as it is. It works for the time being.

Recommended Posts

Trial of voice recognition using Azure with Python (input from microphone)
Using Rstan from Python with PypeR
Python: Basics of image recognition using CNN
Using Python and MeCab with Azure Databricks
Python: Application of image recognition using CNN
Easy introduction of speech recognition with Python
Working with Azure CosmosDB from Python Part.2
Chord recognition using chromagram of python library librosa
Learn Nim with Python (from the beginning of the year).
Try projective transformation of images using OpenCV with Python
Voice analysis with python
Working with Azure CosmosDB from Python (quick start digging)
Principal component analysis using python from nim with nimpy
Study from the beginning of Python Hour8: Using packages
Voice analysis with python
[Basics of data science] Collecting data from RSS with python
How to know the number of GPUs from python ~ Notes on using multiprocessing with pytorch ~
Extract template of EML file saved from Thunderbird with python3.7
I tried using the Python library from Ruby with PyCall
[For beginners] Summary of standard input in Python (with explanation)
Image recognition with API from zero knowledge using AutoML Vision
[Raspi4; Introduction to Sound] Stable recording of sound input with python ♪
I tried handwriting recognition of runes with CNN using Keras
Flatten using Python yield from
[S3] CRUD with S3 using Python [Python]
Using Quaternion with Python ~ numpy-quaternion ~
[Python] Using OpenCV with Python (Basic)
python: Basics of using scikit-learn ①
Try face recognition with Python
With skype, notify with skype from python!
Using OpenCV with Python @Mac
Send using Python with Gmail
I tried to verify the speaker identification by the Speaker Recognition API of Azure Cognitive Services with Python. # 1
Image recognition of garbage with Edge (Raspberry Pi) from zero knowledge using AutoML Vsion and TPU
I tried to verify the speaker identification by the Speaker Recognition API of Azure Cognitive Services with Python. # 2
Implementation of CRUD using REST API with Python + Django Rest framework + igGrid
From the introduction of JUMAN ++ to morphological analysis of Japanese with Python
[Note] Using 16x2-digit character LCD (1602A) from Python with Raspberry Pi
Number recognition in images with Python
Harmonic mean with Python Harmonic mean (using SciPy)
Call C from Python with DragonFFI
Image capture of firefox using python
[Python] Using OpenCV with Python (Image Filtering)
Matrix representation with Python standard input
[Python] Using OpenCV with Python (Image transformation)
Install Python from source with Ansible
Create folders from '01' to '12' with python
Notes on using MeCab from Python
[Python] Using OpenCV with Python (Edge Detection)
Input / output with Python (Python learning memo ⑤)
Removal of haze using Python detailEnhanceFilter
Existence from the viewpoint of Python
Getting Started with Python Basics of Python
Using Cloud Storage from Python3 (Introduction)
Life game with Python! (Conway's Game of Life)
Run Aprili from Python with Orange
10 functions of "language with battery" python
Try face recognition with python + OpenCV
Use Azure Blob Storage from Python
Let's see using input in python
Face recognition with camera with opencv3 + python2.7