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.
- 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
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