Skip to content

About

Multilingual Medical Translation Assistant

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

MediBridge: Multilingual Medical Translation Assistant

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.


Features

  • 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.

Project Structure

  • 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.

Demo Video

Project Images

Screenshot 2025-08-08 120208 Screenshot 2025-08-08 120220

EchoCare

Screenshot 2025-08-08 084424

MedExtract

Screenshot 2025-08-10 004046

Tech Stack

Frontend (User Interaction)

  • Custom Tkinter — GUI framework for desktop user interface
  • SpeechRecognition — For capturing and recognizing spoken input
  • pyttsx3 — Offline text-to-speech synthesis

Backend (Core Logic & APIs)

  • 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

Getting Started

Prerequisites

  • Python 3.10+
  • Tesseract OCR engine (for text extraction from images)
  • Required Python packages (listed in requirements.txt)

Installation

  1. Clone the repository:

    git clone https://github.com/Sai-Deepan/MediBridge.git
    cd MediBridge
  2. Install required Python packages:

    pip install -r requirements.txt
  3. Install and configure Tesseract OCR (see OCR Setup below).

  4. Add Tesseract Path to the TESSERACT SETUP section of the project

  5. Configure translation API keys in config.json (copy from config.example.json):

    {
      "source_language": "en",
      "target_language": "ta",
      "voice_enabled": true
    }

Usage

  • OCR + Translation Pass images of medical documents to the OCR module to extract and translate text.

  • Voice Translation

    python MedVoiceAid/voice_translate.py

OCR Setup Instructions

MediBridge uses Optical Character Recognition (OCR) to convert medical documents and images into text for translation. "Use Headphones for better voice detection"

Step 1: Install Tesseract OCR Engine

  • 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
    

Step 2: Install Python OCR Packages

pip install pytesseract Pillow

Step 3: Verify OCR Installation

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)

Supported Languages & Accuracy

  • English

  • Tamil

  • Hindi (expandable to other Indian languages).

  • OCR tuned for medical fonts and handwriting.

Why MediBridge?

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.

Roadmap

  • Add support for more languages.
  • Offline translation capability.
  • Integrate with Electronic Health Record (EHR) systems.
  • Develop web and mobile app frontends.
  • Improve response capabilities

Contributors

Contact & Support

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.

About

Multilingual Medical Translation Assistant

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages