Speech to Text using Google's API in Node.js

preview_player
Показать описание
A short video on how to use a Google Cloud API service by using Google Client Libraries.

In this video, we take an example of Speech To Text program.

Other features like Speaker Diarization that is Speaker Recognition, Speech Adaptation can be added by adding properties in config object.

Example adding speaker recognition config object code will be:
const config = {
encoding: 'LINEAR16',
sampleRateHertz: 8000,
languageCode: 'en-US',
enableSpeakerDiarization: true,
diarizationSpeakerCount: 2,
model: 'phone_call',
};
-------------------------------------------------------------------------------------------------------------------------------------------------------------------

Audio Transcription is not 100% correct if you notice carefully in last few sentences. Reason being you have to adjust other audio properties like language accent, etc.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

Resource Link:
Quickstart

JS Objects

Video

Text editor used is Sublime Text 3.
Рекомендации по теме
Комментарии
Автор

very good first video Hardik. All the best for your channel!

ameyasahasrabudhe
Автор

How do I specify the key in code itself without setting environment variable?

wilfred-almeida
welcome to shbcf.ru