Skip to content

Smart Calculator enabled with Speech Recognition System.

Notifications You must be signed in to change notification settings

Mahak008/Smart-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A feature-rich smart calculator built using Python's Tkinter library. This calculator not only performs basic arithmetic operations but also handles advanced mathematical functions and supports voice commands.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, and division.
  • Advanced mathematical functions: square root, power, factorial, trigonometric functions, logarithmic functions, and more.
  • Speech recognition for voice commands.
  • Graphical User Interface (GUI) with easy-to-use buttons and input field.
  • Error handling for invalid inputs.

Installation

Prerequisites

Make sure you have the following software installed:

  • Python 3.x
  • tkinter library (comes pre-installed with Python)
  • pygame library
  • SpeechRecognition library
  • pyaudio library

Install the required libraries

You can install the required Python libraries using pip:

pip install pygame SpeechRecognition pyaudio

Download the code

Clone the repository to your local machine:

git clone https://github.com/yourusername/smart-calculator.git
cd smart-calculator

Usage

Run the Python script to start the calculator:

python smart_calculator.py

Voice Commands

The calculator supports various voice commands for arithmetic operations and functions. Here are some examples:

  • Addition: "add 5 and 3"
  • Subtraction: "subtract 8 from 15"
  • Multiplication: "multiply 7 by 4"
  • Division: "divide 20 by 4"
  • LCM: "LCM of 15 and 20"
  • HCF: "HCF of 18 and 24"

Screenshots

About

Smart Calculator enabled with Speech Recognition System.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages