Skip to content

hasa1368/Speech-To-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎀 Speech-to-Text Project (Farsi / Online)

This project is a simple Python Speech-to-Text application that captures audio from your microphone and converts it into Persian text.
It uses the online Google Speech Recognition API, so an internet connection is required.

πŸš€ Installation and Running

1. Install Python

  • Recommended: Python 3.10 or higher
  • Verify installation:

python --version pip --version 2. Install Dependencies In PyCharm Terminal or CMD:

pip install SpeechRecognition pip install pyaudio ⚠️ If pyaudio fails on Windows:

Download the appropriate .whl from PyAudio wheels

Install manually:

pip install PyAudio-0.2.11-cp311-cp311-win_amd64.whl 3. Run the Program

python main.py The program activates your microphone

Speak in Farsi β†’ the recognized text will appear in the console

The text is also saved automatically in output.txt

✨ Features Converts Farsi speech to text

Uses Google Speech API (online)

Automatically saves recognized text to a file

Easy to extend and add more features

πŸ‘¨β€πŸ’» Developer Hamed Sadeghi Firouzja

About

A Simple Python program that converts Persian (Farsi) speech from the microphone into text using the online Google Speech Recognition API. Recognized text is displayed in the console and saved to a file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages