MediBridge is a powerful tool designed to bridge language barriers in healthcare by providing real-time, accurate translation of medical information. It supports voice, text, and image (OCR) inputs to assist medical professionals and patients in multilingual communication.
- Real-time translation of medical text and speech.
- Multilingual support (e.g., English, Tamil, Hindi).
- Voice-enabled interface for seamless doctor-patient conversations.
- OCR (Optical Character Recognition) integration to extract text from medical documents and images.
- Context-aware translation to ensure medical accuracy.
MedBridge_Source.py– Core translation engine handling text and voice translation.Voice_Model.py– Voice interface module for speech recognition and synthesis.OCR_Model.py– Built to extract text from Prescription.- OCR functionality integrated using Tesseract OCR and
pytesseract.
EchoCare
MedExtract
- Custom Tkinter — GUI framework for desktop user interface
- SpeechRecognition — For capturing and recognizing spoken input
- pyttsx3 — Offline text-to-speech synthesis
- Python 3.10+ — Main programming language
- Google Cloud Translation — For multilingual medical translation
- pytesseract — Python wrapper for Tesseract OCR engine
- Tesseract OCR Engine — For extracting text from medical images
- Pillow (PIL) — Image processing for OCR
- Python 3.10+
- Tesseract OCR engine (for text extraction from images)
- Required Python packages (listed in
requirements.txt)
-
Clone the repository:
git clone https://github.com/Sai-Deepan/MediBridge.git cd MediBridge -
Install required Python packages:
pip install -r requirements.txt
-
Install and configure Tesseract OCR (see OCR Setup below).
-
Add Tesseract Path to the TESSERACT SETUP section of the project
-
Configure translation API keys in
config.json(copy fromconfig.example.json):{ "source_language": "en", "target_language": "ta", "voice_enabled": true }
-
OCR + Translation Pass images of medical documents to the OCR module to extract and translate text.
-
Voice Translation
python MedVoiceAid/voice_translate.py
MediBridge uses Optical Character Recognition (OCR) to convert medical documents and images into text for translation. "Use Headphones for better voice detection"
-
Windows:
Download from UB Mannheim builds and install.
Add the Tesseract installation folder (e.g.,C:\Program Files\Tesseract-OCR) to your system PATH. -
Linux (Ubuntu/Debian):
sudo apt update sudo apt install tesseract-ocr
-
MacOS (Using Homebrew):
brew install tesseract
pip install pytesseract Pillow
Test OCR with this python snippet
import pytesseract
from PIL import Image
# If Tesseract is not in your PATH, specify the full path here:
# pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
img = Image.open('path_to_sample_medical_image.png')
text = pytesseract.image_to_string(img)
print(text)
-
English
-
Tamil
-
Hindi (expandable to other Indian languages).
-
OCR tuned for medical fonts and handwriting.
Effective communication in healthcare is crucial. MediBridge ensures patients and doctors can understand each other clearly, regardless of language barriers, thereby improving diagnosis, treatment, and patient safety.
- Add support for more languages.
- Offline translation capability.
- Integrate with Electronic Health Record (EHR) systems.
- Develop web and mobile app frontends.
- Improve response capabilities
- Deepan Sai (skdeepan.sai@gmail.com)
- Shyam Ganesh V (shganesh2007@gmail.com)
- Nithaesh (nithaesh.r@gmail.com)
- Vivek
- Rohit (rohitanishp@gmail.com)
For questions, issues, or contributions, please open an issue or contact us via GitHub.
Thank you for using MediBridge! Bridging language gaps in healthcare, one translation at a time.