Skip to content

trishume/LastSecondSlides

Repository files navigation

LastSecondSlides

Use the Google speech-to-text API to generate presentation slides as you talk! A collaboration with Marc Mailhot. Marc wrote the slide renderers and Bing Search with PyGame, and I wrote the Google Voice API interfacing code and the code to process the speech, decide on slide content and tie together the modules. Made for TerribleHack IV, a hackathon for intentionally funny and stupid projects.

Includes two themes: 90s and corporate, as well as three slide types: heading, bullet points, and picture.

It can use Bing image search to find images based on what you say.

Note: This was a fun 5-hour project for a fun hackathon, it stops working and crashes often due to multithreading issues we didn't bother to debug and isn't actually useful.

Demo Video

See here:

https://www.youtube.com/watch?v=chgOZumnXQo

The voice recognition quality in the video is rather bad because it was a noisy room and I was using a crappy microphone.

Getting it running

  1. Set up a virtualenv if you want and know what that is.
  2. Install portaudio for pyAudio
  3. Install the dependencies of pygame, mostly SDL and related packages, see the pygame website for this.
  4. pip install -r requirements.txt
  5. Set yourself up with a Google Cloud Speech API account and a Bing Image Search API key
  6. export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credentials-key.json
  7. export BING_API_KEY=yourkeygoeshere
  8. python main.py
  9. Start saying things!

Screenshots

screenshot screenshot screenshot screenshot screenshot screenshot

About

Use the Google speech-to-text API to generate presentation slides as you talk!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages