๐ Online Shopping Voice Assistant for Visually Impaired People ๐ Project Overview
This project is a voice-based shopping assistant designed for visually impaired users. It allows users to search products across multiple e-commerce platforms using voice commands only. The assistant handles speech recognition, translation, scraping product details, and text-to-speech so that users can interact without typing or reading.
๐ฏ Features
๐๏ธ Voice Input โ Users give shopping queries through speech.
๐ Language Detection & Translation โ Detects userโs language and translates queries into English.
๐ Product Search โ Scrapes product details from e-commerce websites.
โก Parallel Processing โ Fetches results faster from multiple platforms.
๐ Voice Output โ Reads out product details using Text-to-Speech.
๐ Opens Product Page โ Automatically launches the product page in the browser for safe transactions.
๐๏ธ Tech Stack Frontend
Gradio
webbrowser
Backend
SpeechRecognition / Whisper API
langdetect
deep_translator (GoogleTranslator)
Selenium WebDriver + BeautifulSoup
ThreadPoolExecutor / threading
gTTS
time, platform, OS commands, webdriver_manager
๐ How It Works
User speaks a product query (e.g., โSearch red shoesโ).
Speech is converted to text (SpeechRecognition / Whisper API).
Language is auto-detected and translated to English if needed.
Selenium + BeautifulSoup scrape product details from supported sites.
Results are read aloud using gTTS.
Product links automatically open in the default browser.
Final purchase is securely done on the official website.
๐ Security Note
The assistant does not handle payments.
All transactions happen on the official e-commerce platforms (Amazon, Flipkart, Snapdeal, etc.) following PCI compliance.