Med Intel: An AI-Based Healthcare Pharmacy Management System with Intelligent Prescription Recognition and Drug Safety Verification

The manual processing of handwritten prescriptions and the lack of automated drug safety verification in pharmacy management systems pose significant risks to patient safety and operational efficiency. This paper presents MedIntel, an AI-based healthcare pharmacy management system that integrates intelligent prescription recognition and comprehensive drug interaction detection. The prescription recognition module employs a dual-engine optical character recognition (OCR) pipeline combining EasyOCR with Tesseract as a fallback, enhanced by four image preprocessing strategies: grayscale conversion, contrast-limited adaptive histogram equalization (CLAHE), median filtering denoising, and Otsu binary thresholding. Extracted text undergoes a multi-stage natural language processing pipeline that splits recognized text into individual word candidates, filters noise using stop-word elimination and alphabetic character ratio thresholds, and matches each candidate against the medicine database using prefix-based SQL ILIKE queries augmented by RapidFuzz token-based fuzzy matching. The drug interaction detection system performs real-time pairwise checking of all cart items against a pre-populated DrugInteraction database using bidirectional ILIKE fuzzy matching, presenting warnings categorized by four severity levels: critical, severe, moderate, and mild, each accompanied by clinical descriptions and actionable recommendations. The system is developed using Python with Flask framework on the backend and Bootstrap 5.3 on the frontend, with SQLite for persistent storage. Evaluation of the medicine name recognition module achieves a token-level accuracy of 99.19% with an entity-level F1-score of 0.971 across 140 annotated prescription sentences, and the drug interaction database covers 15 clinically validated interaction pairs across four severity categories. The system demonstrates the feasibility of deploying lightweight, database-driven AI approaches for enhancing pharmacy safety in resource-constrained healthcare environments.

Authors

Institutions

Publication Details

Journal
International Journal Of Scientific Research In Engineering & Technology
Published
2026-11-02
DOI
https://doi.org/10.59256/ijsreat.20260606001
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Med Intel: An AI-Based Healthcare Pharmacy Management System with Intelligent Prescription Recognition and Drug Safety Verification

Gunde Pooja, B Deepika, C Sushma, R Chapparadahalli Chaitra et al.
3 links
International Journal Of Scientific Research In Engineering & Technology
Handwritten Text Recognition Techniques
article

Med Intel: An AI-Based Healthcare Pharmacy Management System with Intelligent Prescription Recognition and Drug Safety Verification

Gunde Pooja, B Deepika, C Sushma, R Chapparadahalli Chaitra, S S Abhishek
article en

Abstract

The manual processing of handwritten prescriptions and the lack of automated drug safety verification in pharmacy management systems pose significant risks to patient safety and operational efficiency. This paper presents MedIntel, an AI-based healthcare pharmacy management system that integrates intelligent prescription recognition and comprehensive drug interaction detection. The prescription recognition module employs a dual-engine optical character recognition (OCR) pipeline combining EasyOCR with Tesseract as a fallback, enhanced by four image preprocessing strategies: grayscale conversion, contrast-limited adaptive histogram equalization (CLAHE), median filtering denoising, and Otsu binary thresholding. Extracted text undergoes a multi-stage natural language processing pipeline that splits recognized text into individual word candidates, filters noise using stop-word elimination and alphabetic character ratio thresholds, and matches each candidate against the medicine database using prefix-based SQL ILIKE queries augmented by RapidFuzz token-based fuzzy matching. The drug interaction detection system performs real-time pairwise checking of all cart items against a pre-populated DrugInteraction database using bidirectional ILIKE fuzzy matching, presenting warnings categorized by four severity levels: critical, severe, moderate, and mild, each accompanied by clinical descriptions and actionable recommendations. The system is developed using Python with Flask framework on the backend and Bootstrap 5.3 on the frontend, with SQLite for persistent storage. Evaluation of the medicine name recognition module achieves a token-level accuracy of 99.19% with an entity-level F1-score of 0.971 across 140 annotated prescription sentences, and the drug interaction database covers 15 clinically validated interaction pairs across four severity categories. The system demonstrates the feasibility of deploying lightweight, database-driven AI approaches for enhancing pharmacy safety in resource-constrained healthcare environments.

International Journal Of Scientific Research In Engineering & Technology
Bapuji Institute of Engineering and Technology (IN)
Good health and well-being
Openalex Percentile: Top 19%
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon