Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Cloud Speech API samples

These samples require two environment variables to be set:

  • GOOGLE_APPLICATION_CREDENTIALS - Path to a service account file. You can download one from your Google project's "credentials" page.
  • GCLOUD_PROJECT - ID of your Google project.

See gcloud-node authentication for more details.

Run a sample

Install dependencies first:

npm install

Recognition sample

Execute the sample:

node recognize "/path/to/audio.file"