Skip to content

KaranParmarr/speech_assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Speech Assistant App

Python app that uses speech recognition and text-to-speech. Uses offline text-to-speech with pyttsx3 and online TTS with gTTS.

Features

  • Voice-controlled personal assistant
  • Web browsing and search
  • Screenshot capture
  • Image display
  • Camera control
  • Calculator
  • Games (Rock Paper Scissor, Offline Dino Game)
  • Coin toss
  • Weather lookup
  • Price lookup
  • YouTube search
  • Location services
  • Word definitions
  • And more!

Dependencies

pip install speechrecognition
pip install pyttsx3
pip install PyAudio
pip install playsound
pip install Pyautogui
pip install pygame
pip install opencv-python
pip install requests
pip install beautifulsoup4
pip install Pillow
pip install gtts
pip install pyscreeze

Voice Commands

Name Commands

  • "My name is [name]" - Set your name
  • "What is your name" - Ask assistant's name
  • "What is my name" - Ask your stored name

Greetings

  • "Hello", "Hi", "Hey", "Hey there"
  • "How are you"

Time

  • "What time is it"
  • "Tell me the time"
  • "Can you tell the time"

Search & Web

  • "Search [query]" - Search on Google
  • "Weather" - Check weather
  • "The price of [product]" - Search product prices
  • "Find location [place]" - Find location on Google Maps
  • "Where am I" - Get current location
  • "What is my exact location" - Open Google Maps location
  • "YouTube [video name]" - Search YouTube

Media & Camera

  • "Screenshot" / "Take screen" / "Take a picture" - Capture screenshot
  • "Show image" - Display an image
  • "Take photo" / "Capture" / "Open camera" - Open camera and capture photo

Apps

  • "Instagram" - Open Instagram app

Games

  • "Play game" - Access game zone
  • "Game" - Play Rock Paper Scissor

Calculator

  • Use voice to perform calculations:
    • "Number plus Number"
    • "Number minus Number"
    • "Number multiply Number"
    • "Number divide Number"
    • "Number power Number"

Utilities

  • "Flip" / "Coin" / "Toss" - Toss a coin
  • "Define [word]" - Get word definition

Exit

  • "Exit" / "See you later" / "Good bye" / "Quit"

Usage

  1. Install all dependencies
  2. Run main.py
  3. Speak commands when prompted

Languages and Tools

python

About

Python Speech Assistant app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages