An AI-powered healthcare platform with advanced medical analysis, cancer screening, and prescription verification.
Medic-Assist is a comprehensive healthcare AI platform that combines multiple AI models to provide intelligent medical assistance. The system offers specialized medical analysis, multi-language support (English & Bengali), and advanced features for both healthcare professionals and patients.
- 🧠 Medical Image Analysis: AI-powered analysis of X-rays, MRIs, and CT scans.
- 🎯 Cancer Risk Assessment: Intelligent cancer screening with an AI reasoning engine.
- 📋 Prescription Analysis: OCR-based text extraction and AI-powered safety analysis of prescriptions.
- 🎤 Voice Processing: Speech-to-text transcription and text-to-speech for medical reports.
- 💬 AI Doctor Consultation: An enhanced chat interface with consultation history.
The application is structured into a src directory containing distinct modules for each feature:
medic-assist/
├── src/
│ ├── brain/ # Medical Image Analysis
│ ├── cancer/ # Cancer Screening & Reasoning
│ ├── chat/ # AI Doctor Consultation
│ ├── imaging/ # Specialized Imaging Analysis
│ ├── prescription/ # Prescription Analysis
│ └── voice/ # Voice Processing (STT & TTS)
├── tests/ # Unit Tests
├── .env.example # Example environment file
├── app.py # Main Streamlit application
└── requirements.txt # Dependencies
- Python 3.9 or higher
- A Groq API Key
-
Clone the repository:
git clone https://github.com/your-username/medic-assist.git cd medic-assist -
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
- Copy the
.env.examplefile to a new file named.env. - Add your Groq API key to the
.envfile:GROQ_API_KEY="your_groq_api_key_here"
- Copy the
-
Run the application:
streamlit run app.py
This project uses pytest for unit testing. The tests ensure the core functionality of each module is working correctly.
To run the tests, execute the following command from the root directory:
python -m pytestImportant: Medic-Assist is intended as a preliminary screening and educational tool. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult qualified healthcare providers for medical decisions. In case of a medical emergency, contact your local emergency services immediately.
Contributions are welcome! Please fork the repository and open a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.