Minimal FastAPI backend with Stream Video SDK integration and browser frontend.
- Install dependencies:
cd backend
pip install -r requirements.txt- Create
.envfile with your Stream credentials:
STREAM_API_KEY=your-api-key
STREAM_API_SECRET=your-api-secretGet your credentials from Stream Dashboard
- Run the server:
uvicorn main:app --reloadOpen frontend/index.html in your browser.
- Enter a User ID and Call ID
- Click "Join Call" to authenticate and join the Stream video call
- Use "Start Webcam" to access your camera
- Use "Capture & Analyze" to send frames to the backend for analysis
POST /token- Generate Stream user tokenPOST /analyze- Analyze base64 image (returns dummy text)