Blood Typing at the Edge: A Hybrid Deep Learning Pipeline for Point-of-Care Blood Type Classification

Blood typing remains a manual, subjective procedure when not reliant on centralized laboratory infrastructure. This study presents an automated blood typing system for point-of-care deployment, developed in collaboration with CRIAM, whose portable device captures reaction images for in vitro diagnostics. The system integrates computer vision and artificial intelligence to classify these reactions automatically. Fourteen classification pipelines were trained and evaluated with a 3090-image dataset, encompassing fine-tuned convolutional neural networks, raw pixel-based classifiers, and hybrid architectures pairing pretrained embeddings from DINOv2 and EfficientNet-B4 with lightweight classifiers. Embedding-based approaches consistently outperformed alternatives in accuracy and cross-fold stability. The best pipeline, in terms of performance and suitability for low-power devices, combined DINOv2-small embeddings with logistic regression, achieving 99.87 ± 0.12% mean accuracy. After 8-bit integers (INT8) quantization and retraining with data augmentation, accuracy improved to 99.97 ± 0.03%, surpassing the uncompressed baseline. All misclassifications were traced to borderline weak-positive Rh/D reactions, confirming errors are localized and explainable. Held-out validation on 856 images yielded 99.53% accuracy, with the single error attributed to a lighting artifact. While deployment on a legacy 32-bit CPU prototype processes four images in approximately 4.7 min, hardware benchmarking confirmed feasibility, from a Raspberry Pi Zero 2W to high-end mobile processors. These results establish quantized embedding-driven architectures as a solution for automated blood typing in point-of-care and resource-limited settings.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-06-16
DOI
https://doi.org/10.3390/app16126089
Primary Topic
Biosensors and Analytical Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Blood Typing at the Edge: A Hybrid Deep Learning Pipeline for Point-of-Care Blood Type Classification

Vı́tor Carvalho, Bruno da Silva, Enmanuel Abilheira, Afonso Pinheiro et al.
Applied Sciences
Biosensors and Analytical Detection
article

Blood Typing at the Edge: A Hybrid Deep Learning Pipeline for Point-of-Care Blood Type Classification

Vı́tor Carvalho, Bruno da Silva, Enmanuel Abilheira, Afonso Pinheiro, Ljiljana Dukanovic
article en

Abstract

Blood typing remains a manual, subjective procedure when not reliant on centralized laboratory infrastructure. This study presents an automated blood typing system for point-of-care deployment, developed in collaboration with CRIAM, whose portable device captures reaction images for in vitro diagnostics. The system integrates computer vision and artificial intelligence to classify these reactions automatically. Fourteen classification pipelines were trained and evaluated with a 3090-image dataset, encompassing fine-tuned convolutional neural networks, raw pixel-based classifiers, and hybrid architectures pairing pretrained embeddings from DINOv2 and EfficientNet-B4 with lightweight classifiers. Embedding-based approaches consistently outperformed alternatives in accuracy and cross-fold stability. The best pipeline, in terms of performance and suitability for low-power devices, combined DINOv2-small embeddings with logistic regression, achieving 99.87 ± 0.12% mean accuracy. After 8-bit integers (INT8) quantization and retraining with data augmentation, accuracy improved to 99.97 ± 0.03%, surpassing the uncompressed baseline. All misclassifications were traced to borderline weak-positive Rh/D reactions, confirming errors are localized and explainable. Held-out validation on 856 images yielded 99.53% accuracy, with the single error attributed to a lighting artifact. While deployment on a legacy 32-bit CPU prototype processes four images in approximately 4.7 min, hardware benchmarking confirmed feasibility, from a Raspberry Pi Zero 2W to high-end mobile processors. These results establish quantized embedding-driven architectures as a solution for automated blood typing in point-of-care and resource-limited settings.

Applied SciencesVol. 16(12)
Universidade Politécnica do Cávado e do Ave (PT), Centre for Research in Anthropology (PT)
Ministério da Ciência, Tecnologia e Ensino Superior, Fundação para a Ciência e a Tecnologia
Industry, innovation and infrastructure
Openalex Percentile: Top 11%
Biosensors and Analytical Detection
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.