This is a simple Python script that uses speech recognition libraries to post 3rd-party closed captions for Zoom meetings.
Right now only Mac OSX is supported without following the development installation instructions.
-
Download & unzip the latest release of zoom_cc.
-
Enable closed captioning in Zoom settings. Refer to Zoom Help Center for instructions.
-
Configure
zoom_cc_v0.1_OSX/settings.jsonfor your Zoom meeting
zoom_api_token= Paste the copied API token. If left empty, you'll be prompted for the token at runtimeseq_count= 0 for a new meeting, unless you are restarting the script during the same meeting you were already captioning. This increments with each caption so the Zoom API knows whether it received a new caption.lang= Language option in post request (e.g. 'en-US' for English, 'zh' for Chinese)mic_timeout= Listening timeout for recognizer before resetting because nothing was saidphrase_time_limit= Speaking timeout before transcribing and posting to Zoom (set lower to update Zoom more often, higher for more continuous phrases)
- Start recognition script
- Open up Terminal
- Open up Finder to where
zoom_cc_0.1_OSXis downloaded. Click and dragzoom_cc_v0.1_OSX/dist/zoom_cc_v0.1_OSXto the Terminal Window - Press enter to run
-
When prompted, type
yto load settings fromsettings.config. Otherwise paste API token via command line with ⌘V when prompted.
-
Check Zoom for transcriptions. Words should be appearing on the bottom of the screen and in the full transcript.
-
Use ctrl+C to exit. The
settings.jsonwill be updated with the last used token and sequence count in case the script needs to be restarted during a Zoom meeting.
1. Get Hombrew
brew install python portaudio5. Get PipEnv
pip3 install pipenvgit clone https://github.com/heyyeh12/zoom_cc.gitcd zoom_cc
pipenv install8. Run same usage steps as above, except start the Python script instead of executable in step 4
Using SpeechRecognizer Google Speech Recognition
pipenv run python speech_recognizer_closed_caption.py(Experimental) Using Google Cloud Speech API. NOTE: requires setting up GOOGLE_APPLICATION_CREDENTIALS
pipenv run python transcribe_streaming_infinite.py9. Create executable with PyInstaller
pipenv run pyinstaller --onefile speech_recognizer_closed_captions.py1. Install Python3
git clone https://github.com/heyyeh12/zoom_cc.git3. Install PyAudio system-dependent prerequisites
python -m pip install pyaudio
4. Get PipEnv
pip3 install pipenvcd zoom_cc
pipenv install1. Install Python3
git clone https://github.com/heyyeh12/zoom_cc.git3. Install PyAudio system-dependent prerequisites
sudo apt-get install python-pyaudio python3-pyaudio4. Get PipEnv
pip3 install pipenvcd zoom_cc
pipenv install