Skip to content

Tru06/vision-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stream Video Integration

Minimal FastAPI backend with Stream Video SDK integration and browser frontend.

Setup

Backend

  1. Install dependencies:
cd backend
pip install -r requirements.txt
  1. Create .env file with your Stream credentials:
STREAM_API_KEY=your-api-key
STREAM_API_SECRET=your-api-secret

Get your credentials from Stream Dashboard

  1. Run the server:
uvicorn main:app --reload

Frontend

Open frontend/index.html in your browser.

Usage

  1. Enter a User ID and Call ID
  2. Click "Join Call" to authenticate and join the Stream video call
  3. Use "Start Webcam" to access your camera
  4. Use "Capture & Analyze" to send frames to the backend for analysis

API Endpoints

  • POST /token - Generate Stream user token
  • POST /analyze - Analyze base64 image (returns dummy text)

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors