A multi-service application combining face recognition, interlocutor tracking, and backend APIs.
Persistent-Memory/
├── frontend/ # TypeScript frontend code
│ ├── interlocutorTracker.ts # Mock interlocutor tracker for EgoMem
│ └── package.json # Node.js dependencies
│
├── backend/ # Python FastAPI backend
│ └── app/
│ ├── main.py # FastAPI application entry point
│ ├── api/
│ │ ├── deps.py # Dependency injection
│ │ └── routes/
│ │ └── user.py # User endpoints
│ ├── core/
│ │ ├── config.py # Configuration
│ │ └── database.py # Database setup
│ ├── crud/
│ │ └── user.py # CRUD operations
│ ├── models/
│ │ └── user.py # Database models
│ └── schema/
│ └── user.py # Pydantic schemas
│
└── services/ # External services and ML
└── face_recog_local.py # Local face recognition service
cd frontend
npm install
npm run dev # or appropriate dev commandcd backend
pip install -r requirements.txt
python -m uvicorn app.main:app --reloadcd backend
docker compose up --buildThe API will be available on http://localhost:8000 and PostgreSQL on localhost:5432.
The face_recog_local.py service handles face recognition tasks.
- Frontend: Node.js with TypeScript
- Backend: Python 3.8+ with FastAPI
- Services: Face recognition libraries (see requirements.txt)