Skip to content

Dragonhack 2020 funniest hack winner. Ljubljana, November 2020

Notifications You must be signed in to change notification settings

jjustin/dragonhack2020

Repository files navigation

Totally Listening To You (TLTY.py for short)

Presented to you by Trivial Group

Presentation video

Presentation video

Features

Speech to text

Google cloud authentication:

https://cloud.google.com/docs/authentication/getting-started#windows

Activate you have to activate your key in the shell the project is running in with:

set GOOGLE_APPLICATION_CREDENTIALS=C:/path/to/auth/file.json

Requirements

Download driver from this url, check your chrome version before.

Audio/video setup

Audio and video is extracted from files in videos:

  • common.mp4 contains idle actions
  • here.mp4 is used as a response you want to execute successfully
  • test.mp4 is video that is used before disconnecting you from a call

Import obs_scene.json to OBS and enable virtual camera. Set OBS's monitor output to "VB-cable".

python main.py

Your attention givin mock should now be available on VB-cable audi device and OBS virtual cam webcam

Zoom/application sound transcription

Enable Stereo Mix in windows sound settings. Then check the device index of stereo mix (there is a tool in speect_to_text.py) and set it in speech_stream_to_text.pi as a global variable.

Run

start chrome and script

google-chrome --remote-debugging-port=9222 --user-data-dir="~/ChromeProfile"
main.py

login to zoom meeting in browser, set correct audio/video devices, open the chat and go back to bed :)

AudioPy

For some reason (only on Windows), you must build AudioPy from a wheel file, the default pip install does not work.

About

Dragonhack 2020 funniest hack winner. Ljubljana, November 2020

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •