git clone <repository-url>
cd AccessLensnpm install- Create a Firebase project at Firebase Console
- Enable Firestore Database
- Copy your Firebase config to
backend/config/firebase-config.js - See
docs/FIREBASE_SETUP.mdfor detailed instructions
Create a .env file in the root directory:
FIREBASE_API_KEY=your_api_key
FIREBASE_PROJECT_ID=your_project_id
npm run devOpen http://localhost:5173 in your browser (Vite default port).
Note: See docs/FRONTEND_SETUP.md for detailed frontend setup instructions.
- Main entry:
frontend/index.html - AR components:
frontend/ar/ - UI components:
frontend/components/
- Speech recognition:
ml/speech/ - Hand gesture controls:
ml/sign-language/(MediaPipe for hand detection) - Face recognition:
ml/vision/face-recognition.js - Scene description:
ml/vision/scene-description.js
- Firebase config:
backend/config/ - Services:
backend/services/ - Authentication:
backend/auth/
- Chrome/Edge (recommended for Web Speech API)
- Camera access required
- HTTPS required for production (camera access)
- Ensure HTTPS (or localhost)
- Check browser permissions
- Verify camera is not in use by another app
- Check model files in
ml/models/ - Verify CDN links or local file paths
- Check browser console for errors
- Verify Firebase config is correct
- Check Firestore rules allow read/write
- Ensure proper authentication setup