Speech controlled pdf automation script for apple machines, using google speech recognition api in v1 and python
This guide will walk you through the process of setting up a Python project with Google's Speech Recognition API.
- Python 3.6 or higher
- pip (Python package installer)
- virtualenv (Optional but recommended)
First, we will set up a virtual environment. This step is optional but highly recommended to avoid conflicts between packages required by different projects.
Open a terminal and navigate to your project directory, then run the following commands:
# Install virtualenv if it's not installed
pip install virtualenv
# Create a new virtual environment named "env"
virtualenv env
# Activate the virtual environment
# On Windows, use:
env\Scripts\activate
# On Unix or MacOS, use:
source env/bin/activate
pip install SpeechRecognition pyaudio
To Run the application either compile the code to an executable or in terminal run python3 in the main.py. It will start execution of the application.