powerpoint-slideshow-transcriber
v0.0.4
Published
Transcribe Powerpoint slideshows (*.ppsx files) using Google Cloud Speech-to-Text API
Downloads
1
Readme
powerpoint-slideshow-transcriber
Transcribe Powerpoint slideshows (*.ppsx files) using Google Cloud Speech-to-Text API.
Prerequisites
- Access to Google Cloud Speech-to-Text API
- See Google Cloud Project Setup Instructions for exact steps.
- Node.js >= 12
Usage
export GOOGLE_APPLICATION_CREDENTIALS='<path-to-your-service-account-credentials-file>';
npx powerpoint-slideshow-transcriber <path-to-ppsx-file>
Example
export GOOGLE_APPLICATION_CREDENTIALS="$HOME/credentials/google-cloud-service-account-credentials.json"
npx powerpoint-slideshow-transcriber powerpoint-show-transcriber-test-data.ppsx
Output for the command above:
Processing ppsx file: 'powerpoint-show-transcriber-test-data.ppsx'
Transcription saved to: 'powerpoint-show-transcriber-test-data-transcription.txt'
Success!
Note: A sample .ppsx file and a sample transcription is accessible under test/resources/.
Google Cloud Project Setup Instructions
- Create a project in Google Cloud.
- Enable Speech-to-Text API for the project.
- Create a service account for the project.
- Download private key for the service account as JSON.
For more info: Google Cloud documentation