Control states of your EC2 instances using voice.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Install the required libraries
pip install boto3
pip install SpeechRecognition
pip install gtts
pip install playsound
Install PyAudio
pip install pyaudio
If the above installation gives error, download compatible python library from the link : PyAudio
Run CMD and go to the download location of the file and run the command(File name may differ).
pip install PyAudio‑0.2.11‑cp38‑cp38‑win32.whl
A step by step series that tell you how to get a development env running
Step 1
Visit IAM Management Console and add New User
Give it Programmatic access and click Next
Set AdministratorAccess under Attach existing policies directly (Or according to needs)
Click next and create new user
Step 2
Download and save the credentials.csv file to get access key id and secret access key
Step 3
Clone the repository on your local system
Step 4
Copy and paste the access key id and secret access key into the cred.json file in the project directory
To Run the program
Open CMD and navigate to project directory and run the following command
python "aws_voice - windows.py"
Open terminal and navigate to project directory and run the following command
python "aws_voice - linux.py"