Welcome to the Ai Medical Planner! This tool uses cutting-edge AI to extract and structure the medication details from images and generate a comprehensive, easy-to-read table.
- Extracts the details of a patient's medication plan from an uploaded image 🖼️.
- Creates a well-organized medication schedule table with relevant columns 📊:
- Time 🕐
- Medication Name 💊
- Medication Type 🧬
- Dosage ⚖️
- Details 📝
- Converts the extracted data into a structured Excel file 📈.
- Provides a downloadable file containing the organized medication schedule 📥.
- Upload an image 📸 containing the prescription or medical instructions.
- Enter the patient's name 👤.
- The AI processes the image and extracts medication details.
- The medication schedule is displayed on your screen and can be downloaded as an Excel file 📄.
Time | Medication Name | Medication Type | Dosage | Details |
---|---|---|---|---|
07:00 | Paracetamol | Analgesic | 1000 mg | 2 tablets per day for 7 days, then 1 tablet for the next 10 days. |
- Python 3.x
streamlit
🖥️google.generativeai
🧠pandas
📊PIL
(Pillow) 📷dotenv
for environment variables 🔒
To install the necessary dependencies:
pip install streamlit google-generativeai pandas pillow python-dotenv
- Make sure to create a
.env
file with your Google API key for accessing the AI model.
GOOGLE_API_KEY=your_google_api_key_here
To run the Medication Schedule Generator app locally:
streamlit run app.py
Enjoy the efficiency of generating precise medication schedules for patients! 🩺