This is the beginning of the SwingAI Project!
This project aims to develop an AI-powered web application to assist in tracking and analyzing Unilateral Cerebral Palsy (UCP) in pediatric patients before and after botox treatment. The application provides a more advanced and objective method for assessing UCP conditions compared to traditional physical marker-based approaches.
- Upload patient videos
- View AI-generated analysis of arm movement
- Access graphs of patient conditions
- Log in through secure hospital authentication system
- Manage patient records and video uploads
- Secure authentication through hospital's system
- Restricted access for authorized personnel only
- Simple interface
- Button to navigate to video upload page
- Upload up to 2 patient videos
- Support for video file processing
- Display processing animation during analysis
- Option of using different AI models for analysis
- Accurate AI analysis
- Display AI-generated analysis
- Graphical representation of arm movement angles
- Detailed insights into patient's UCP condition
- Frontend Framework: Next.js
- Backend: Next.js (integrated backend)
- Authentication: Magic Link (Temporary)
- Hospital's authentication system (to be implemented)
- Video Tracking: MediaPipe
- ML models: SciKit-Learn
- Graphing: Numpy
- Other ML/Data Analytic tools: Pandas
- Cloud Provider: Amazon Web Services (AWS)
- Storage: S3 Bucket
- Queuing: SQS
- Compute: Lambda Functions
- No existing data migration required at this stage
- Ensure Node.js is installed
- Ensure Python 3.12 is installed
- Docker (Optional, not implemented yet)
- AWS CLI configured with appropriate credentials (Optional, not implemented yet)
- No local database setup required (no database implemented yet)
- Coordinate with hospital IT for authentication integration
- Implement Auth0 or similar service in future iterations
- Clone the repository:
git clone https://github.com/UTDallasEPICS/Swing.git
- Install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
- Run the development server
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
- Clone the repository:
git clone https://github.com/UTDallasEPICS/Swing.git
- Change directory to ml folder
cd ml
- Run AI_Method.py or other .py files in the folder
# Running AI_Method.py
Python AI_Method.py
# General template
Python [pythonfile]
AWS configurations
- Use AWS Managment Console
- Login as root email/user
- Need MFA which is already configured
- Go into "Users"
- Click create "Access Key" for user (This creates access keys for users)