The Voice-Activated Train Enquiry System is a Python-based application designed to operate using voice commands. Users can interact with the system through voice input to receive train-related information. The system processes voice inputs, converts them into text, and fetches the relevant details from a database. It also supports voice output to enhance user experience.
This project is built using Python, SQLite for database management, and Google’s Speech-to-Text API for speech recognition. A microphone is required for capturing user voice inputs.
- Accepts voice commands for train enquiries.
- Converts speech to text using Google’s Speech-to-Text API.
- Provides information in text format and optionally as voice responses.
- Includes an administration panel for managing the train database.
- Utilizes Python's Tkinter library for the graphical user interface (GUI).
- Basic knowledge of Python programming.
- Understanding of database operations (CRUD: Create, Read, Update, Delete).
- Familiarity with Tkinter for building GUIs.
- Clone the repository to your local system.
- Install required Python libraries: pip install -r requirements.txt
- Ensure you have train.db (a sample database) available in the project directory.
- Run the FRONT.py module using any Python IDE or terminal: python FRONT.py
- Use the Administration Tab to access the database management interface. Modify train records as needed.
- Click on the "Give Command in Speech" tab to activate the speech recognition module. Provide your query using keywords like from, to, <source_name>, <destination_name>, or .
- The system will process the query and provide the necessary train information.
- Python: Core programming language.
- SQLite: Lightweight database for managing train information.
- Tkinter: For GUI implementation.
- Google Speech-to-Text API: For converting speech input into text.
/project-root │ ├── FRONT.py # Main entry point for the application ├── train.db # Sample database file ├── requirements.txt # List of required Python packages └── README.md # Project documentation
- Add support for multiple languages.
- Enhance database management features.
- Introduce voice-based output for train enquiries.