AlignAI is an advanced AI-driven physiotherapy solution designed to assist stroke patients in their rehabilitation journey. The system combines cutting-edge machine learning models, real-time exercise monitoring, and a user-friendly chatbot interface to deliver personalized guidance and progress tracking.
- Interactive Chatbot: Provides answers to stroke rehabilitation-related queries using the LLaMA 3.1 405b model.
- Exercise Monitoring: Tracks patient rehabilitation exercises in real-time using Mediapipe and OpenCV.
- Resource Retrieval: Fetches the latest books and guidelines on stroke recovery from a Qdrant vector database.
- Clone the repo:
Open terminal and run following command:
git clone https://github.com/MUHAMMAD-FARMAN/AlignAI cd AlignAI - Install Dependencies:
Navigate to the respective folders and install dependencies:pip install -r chatbot/requirements.txt pip install -r backend/requirements.txt
- Run the Chatbot Module: Navigate to the chatbot folder in your project directory. Execute the following command to launch the chatbot interface using Gradio:
gradio app.pyThis will start the chatbot application, allowing users to interact with the physiotherapy system.
- Run the Backend Module: Navigate to the backend folder in your project directory. Start the backend server using Flask with the following command:
flask runThe backend handles API requests and database interactions.
- Launch the User Interface: Open the landing_page folder in your project directory. Locate the index.html file and open it in your web browser. Hurray! The Project is Running
You can watch the demo video here: AlignAI.mp4