Bhargav Adepu

NO. 07MACHINE LEARNING · SHIPPEDFEBRUARY – MARCH 2025

Fingerprint Blood Group Detection

EfficientNet-B3 with CBAM attention, eight classes

Accuracy94.67%8 blood groups
Macro F193.94%
Macro recall94.18%
Hardware2× T4multi-GPU, Ubuntu 24.04

Python · PyTorch · EfficientNet-B3 · CBAM · Grad-CAM · FastAPI · React · Git LFS

An EfficientNet-B3 backbone enhanced with CBAM — a Convolutional Block Attention Module — giving dual channel-and-spatial attention so the network concentrates on discriminative ridge and pattern features rather than the whole frame.


Accuracy94.67%
Macro recall94.18%
Macro F193.94%
Macro precision93.82%
0100%

FIG. 1Held-out performance across all eight blood-group classes. Macro averaging is the honest metric here — the dataset is imbalanced, and plain accuracy would flatter the majority classes.

Handling the imbalance

Blood groups are not evenly distributed, and neither was the dataset. Training uses focal loss to stop majority classes dominating the gradient, plus MixUp and CutMix augmentation. Grad-CAM makes a prediction interpretable rather than a black box — which, for anything touching a clinical decision, is the difference between a demo and a tool.

Training ran on two NVIDIA T4s under Ubuntu 24.04, with checkpoints versioned through Git LFS and the run emitting training curves, an 8×8 confusion matrix, per-class ROC curves and per-class precision/recall/F1. It is productionised behind a FastAPI service with a React and Tailwind frontend.

Built at CMR College of Engineering & Technology under the guidance of Dr. P. Senthil, alongside D. Saketh Reddy, G. Surya Kiran and G. Bhavana Reddy.