Morphos (Μορφή)
works in python 3.9 only
Real-time workout analysis application using computer vision to track exercise form, detect emotions, and provide personalized feedback.
- Frontend: Next.js/React application on Vercel
- Backend: FastAPI application on Google Cloud Run
- ML Models: NVIDIA Dynamo (formerly Triton) on Google Cloud Run with GPU
- Database: MongoDB Atlas
morphos/ ├── services/ # Microservices │ ├── websocket-service/ # WebSocket service │ ├── inference-service/ # Dynamo inference service │ └── api-service/ # Main REST API service ├── infra/ # Infrastructure as Code ├── scripts/ # Utility scripts └── docker-compose.yaml # Local development setup
- Docker and Docker Compose
- Google Cloud SDK
- Python 3.9+
- Clone the repository
- Run the services locally:
docker-compose upAccess the WebSocket service at http://localhost:8080
Deployment To deploy to Google Cloud:
./scripts/build.sh
./scripts/deploy.sh
docker compose up --build
docker build -t morphos-inference-service . docker run -p 8000:8000 -v "$(pwd)/models:/models" morphos-inference-service