M
M
MaxYenot2019-05-24 17:54:19
Python
MaxYenot, 2019-05-24 17:54:19

Is it possible to implement speech recognition through the back-end?

Hello! I really like the WebSpeech API. But the problem is that this API is not supported by some browsers.
Sometime last year, I came across an article about a python extension that allows you to work with speech recognition. Those. theoretically, this functionality can be done on the server.
But the phrase spoken by the user needs to be somehow 'transported' to this back-end.
Are there any solutions to this problem? I want speech recognition to work in all browsers. I'm just tired of telling everyone: my application works fine only in the Google Chrome browser.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-05-24
@MaxYenot

Use Media​Devices​.get​User​Media() to capture audio and send it to the server via ajax request or via websocket. On the server, accept a blob, feed it to the speech recognition engine, get the result and give it back to the user.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question