GithubHelp home page GithubHelp logo

shakeebparwez / medi-extract Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.52 MB

MediExtract simplifies medical data retrieval. FastAPI powers the backend, while pdf2image and pytesseract ensure accurate extraction. Regex-based parsers decode prescriptions, offering a reliable solution in healthcare data science.

Jupyter Notebook 60.65% Python 39.35%
fastapi pdf2image pytesseract pytest

medi-extract's Introduction

MediExtract

MediExtract is a FastAPI-based backend project designed for streamlined medical data extraction from prescription and patient detail PDFs. Leveraging pdf2image and pytesseract, it ensures accurate text extraction, while regex-based parsers decode key medical information.

Features

  • FastAPI Backend: Enables seamless PDF uploads for medical data extraction.
  • Text Extraction: Utilizes pdf2image and pytesseract for precise content extraction.
  • Regex Parsers: Specialized regex parsers for extracting patient names, medicines, and more.
  • Testing and Reliability: Incorporates pytest for automated testing, ensuring robust functionality.

Tech Stack

  • FastAPI
  • pdf2image
  • pytesseract
  • poppler-utils
  • pytest

Usage

  1. Clone the repository.
  2. Install dependencies: pip install -r requirements.txt
  3. Run the FastAPI server: uvicorn main:app --reload
  4. Access the API at http://127.0.0.1:8000/docs and use the /extract_from_doc endpoint for PDF extraction.

Contributing

Contributions are welcome! Fork the repository, make your changes, and submit a pull request.

medi-extract's People

Contributors

shakeebparwez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.