Have you ever wanted to take a selfie with just your voice β no clicks, no buttons? Introducing “Take My Selfie”, a fun voice-activated selfie web app using:
π Web Speech API for voice recognition
π· WebcamJS for accessing the webcam
π¨ Tailwind CSS v4 for a sleek, modern UI
No backend, no database β just pure frontend magic!
π οΈ Features
β Voice command "take my selfie" triggers camera β Countdown + speech feedback β Snapshot taken via webcam β Auto-downloads your selfie β Mobile responsive design using Tailwind CSS β Runs 100% on the browser (client-side only)
β¨ Screenshots
π§ Technologies Used
Tool
Purpose
HTML/CSS
Structure & basic styling
JavaScript
Speech, camera, automation logic
WebcamJS
Easy webcam access in browser
Tailwind CSS v4
Modern, responsive UI
Git + GitHub
Version control & deployment
π How It Works β Explained Simply
User clicks βStart Listeningβ
App uses SpeechRecognition to listen for "take my selfie"
When detected, a voice says: “Taking your selfie in 3 seconds⦔
The webcam activates and captures the image
The selfie is shown in the UI and automatically downloaded
π¨βπ» Code Overview
main code files:
index.html: structure, webcam preview, result view