Skip to content

tarikdemirci/powerpoint-slideshow-transcriber

Repository files navigation

powerpoint-slideshow-transcriber

Transcribe Powerpoint slideshows (*.ppsx files) using Google Cloud Speech-to-Text API.

Prerequisites

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

  1. Create a project in Google Cloud.
  2. Enable Speech-to-Text API for the project.
  3. Create a service account for the project.
  4. Download private key for the service account as JSON.

For more info: Google Cloud documentation

About

Transcribe Powerpoint slideshows (*.ppsx files) using Google Cloud Speech-to-Text API

Resources

License

Stars

Watchers

Forks

Releases

No releases published