Visually_Impaired_Assistant

Contribution Project

Visually Impaired Assistant is a web-based application designed to help visually impaired users by converting text into speech. Built with Flask and Google Text-to-Speech (gTTS), the app allows users to input text, select a language, and download the corresponding audio. The conversion history is stored in a database for easy access.

Description

Visually Impaired Assistant - A Text-to-Speech Web Application

Visually Impaired Assistant is a web-based application developed using Flask and Google Text-to-Speech (gTTS), designed to assist visually impaired users by converting written text into speech. This app aims to bridge the gap between the visually impaired community and the digital world, providing them with an easy and accessible way to interact with online content, read text, and perform various tasks independently.

Key Features:

  • Text-to-Speech Conversion: The primary feature of the app is converting any text input by the user into speech. It supports multiple languages, allowing users to select their preferred language for conversion.

  • Speech History Storage: Each conversion is saved in a database along with the original text, language, and audio file path. This allows users to access past conversions and reuse them as needed.

  • Audio File Download: After converting text to speech, users can download the generated audio file, which can be saved for offline listening.

  • Responsive User Interface: The user interface is simple and intuitive, making it easy for visually impaired users to navigate the app with ease.

How It Works:

  1. Text Input: The user enters text into a text box on the website.

  2. Language Selection: The user selects the desired language for conversion. Supported languages include English, Spanish, French, and more.

  3. Convert to Speech: Upon clicking the "Convert" button, the app processes the text and converts it into speech using the Google Text-to-Speech (gTTS) API.

  4. Download Audio: Once the speech conversion is complete, the audio is saved in an MP3 format. The user can then download the audio file directly from the website.

  5. View History: The text, language, and audio file path are stored in a database, allowing users to access their previous conversions for future reference.

Real-time Example:

Imagine you are a visually impaired user who wants to read an article online, but you are unable to see the text. Here's how Visually Impaired Assistant can help:

  • You visit the website and copy-paste the article text into the text box.

  • You select English as the language and click "Convert to Speech."

  • The app processes the text and generates a voice reading the article aloud.

  • You can then download the audio file and listen to the article at your convenience, whether at home, on the go, or offline.

  • If you need to revisit the article later, the app stores the history, and you can download it again or listen to it directly from the history page.

Technologies Used:

  • Flask: A lightweight Python web framework used to build the application.

  • gTTS (Google Text-to-Speech): An API for converting text into speech.

  • SQLite: A lightweight database to store the speech history.

  • HTML/CSS: Front-end technologies to design the user interface.

  • JavaScript: Used for dynamic interaction on the front end.

Use Case Scenarios:

  1. Assistive Reading: The app can be used by individuals with visual impairments to listen to any text, such as articles, books, or documents, that they cannot read.

  2. Educational Tool: The application can help students with visual impairments listen to educational material, such as notes, textbooks, and assignments.

  3. Accessibility in Daily Life: Users can convert daily texts like emails, messages, and web pages into speech, improving their ability to independently interact with digital content.

Example Workflow:

  1. User: "I want to listen to this article I found online."

  2. App: The user pastes the article text into the app, selects their preferred language, and presses "Convert."

  3. App: The app converts the text into speech and provides a link to download the MP3 file.

  4. User: The user listens to the audio and can save it for future reference or offline listening.

Issues & Pull Requests Thread
No issues or pull requests added.