Machine Learning Based Automated Typing System using Webcam & Raspberry PI 4 Processing

A Slide and card blood typing is still read by eye in most blood camps and rural health centres, making the result dependent on lighting, operator experience and fatigue. Earlier camera-based readers relied on a laptop for processing, which increased cost, size and power consumption. This paper presents a stand-alone automated blood typing system in which a USB webcam, fixed on a 3D-printed stand with a GPIO-switched LED ring, captures the blood typing card, and a Raspberry Pi 5 with 2 GB RAM performs all processing. The pipeline locates and perspective-corrects the card, enhances contrast with CLAHE, extracts the Anti-A, Anti-B and Anti-D regions of interest (ROIs) and classifies each as agglutination present or absent using an INT8-quantised MobileNetV2 network in TensorFlow Lite. The three decisions are mapped to one of eight ABO/Rh blood groups and displayed with per-reagent confidence. On a held-out set of 300 ROIs from client-provided samples, the model achieved 96.3% accuracy, and end-to-end tests on 40 cards covering all eight groups gave 92.5% card-level accuracy, with most errors arising from weak Anti-D reactions and flagged for manual review. The full pipeline runs in about 0.41 s at roughly 6–7 W, showing that a low-cost edge device can provide fast, objective and offline blood typing support. Keywords: ABO and Rh, agglutination, blood typing, edge AI, image processing, MobileNetV2, Raspberry Pi 5, TensorFlow Lite.

Authors

Publication Details

Journal
International Journal of Creative and Open Research in Engineering and Management
Published
2026-12-03
DOI
https://doi.org/10.55041/ijcope.v2i11.133
Primary Topic
Digital Imaging for Blood Diseases
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Machine Learning Based Automated Typing System using Webcam & Raspberry PI 4 Processing

Kavyashree Kavyashree, G Gokul, Greeshma S, Harshitha TP et al.
International Journal of Creative and Open Research in Engineering and Management
Digital Imaging for Blood Diseases
article

Machine Learning Based Automated Typing System using Webcam & Raspberry PI 4 Processing

Kavyashree Kavyashree, G Gokul, Greeshma S, Harshitha TP, Sanjay B Nayak
article en

Abstract

A Slide and card blood typing is still read by eye in most blood camps and rural health centres, making the result dependent on lighting, operator experience and fatigue. Earlier camera-based readers relied on a laptop for processing, which increased cost, size and power consumption. This paper presents a stand-alone automated blood typing system in which a USB webcam, fixed on a 3D-printed stand with a GPIO-switched LED ring, captures the blood typing card, and a Raspberry Pi 5 with 2 GB RAM performs all processing. The pipeline locates and perspective-corrects the card, enhances contrast with CLAHE, extracts the Anti-A, Anti-B and Anti-D regions of interest (ROIs) and classifies each as agglutination present or absent using an INT8-quantised MobileNetV2 network in TensorFlow Lite. The three decisions are mapped to one of eight ABO/Rh blood groups and displayed with per-reagent confidence. On a held-out set of 300 ROIs from client-provided samples, the model achieved 96.3% accuracy, and end-to-end tests on 40 cards covering all eight groups gave 92.5% card-level accuracy, with most errors arising from weak Anti-D reactions and flagged for manual review. The full pipeline runs in about 0.41 s at roughly 6–7 W, showing that a low-cost edge device can provide fast, objective and offline blood typing support. Keywords: ABO and Rh, agglutination, blood typing, edge AI, image processing, MobileNetV2, Raspberry Pi 5, TensorFlow Lite.

International Journal of Creative and Open Research in Engineering and ManagementVol. 02(12)
Digital Imaging for Blood Diseases
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