A React Native application that uses the device's camera and OpenAI's Vision API to provide audio descriptions of surroundings. The app features voice commands for accessibility and is designed primarily for visually impaired users.
Accessability.for.all.mp4
-
Clone the repository
git clone <repository-url> cd <repository-directory> -
Install dependencies
cd my-app npm install -
Set up configuration files
- Create a
config.tsfile in themy-appdirectory using the template:cp my-app/config.template.ts my-app/config.ts - Edit
my-app/config.tsand add your OpenAI API key:export const config = { openaiApiKey: 'your-openai-api-key-here' };
- Create a
-
Create a
.envfile (optional)- Create a
.envfile in themy-appdirectory:OPENAI_API_KEY=your-openai-api-key-here
- Create a
-
Start the application
npm start
- Voice command recognition with "Hey" wake word
- Scene description mode for general environment analysis
- Task-specific help mode for targeted assistance
- Continuous voice recognition for hands-free operation
- Visual status indicators for accessibility
my-app/app/(tabs)/camera.tsx: Main camera functionality and voice recognitionmy-app/components/: Reusable UI componentsmy-app/constants/: Application constantsmy-app/hooks/: Custom React hooks
- Say "Hey" to activate voice recognition
- "Hey, what's in front of me" for general scene description
- "Hey, find [object]" for targeted object detection
- "Hey, resume" to continue analysis mode after an interruption