henhaobio
Sign in

bioRxivBioinformaticsPreprint

Automated Eight-Stage Classification of Drosophila melanogaster Using Transfer-Learning CNNs with Mobile Live-Inference Deployment

Ridhee BhattiD, Rishi Prasad, S Aswini, Soumyadeep Paul, Ishaan GuptaiD

PDFDOI

Abstract

Drosophila melanogaster is a foundational model organism whose rapid development and genetic tractability underpin research in genetics, development, and disease. Manual staging of its embryonic, larval, and pupal phases is slow and error-prone. An automated eight-class classifier is introduced to distinguish egg, first-, second-, and third-instar larvae, as well as white, brown, eye, and black pupae, from stereo-microscope images. By fine-tuning ImageNet-pretrained CNNs (ResNet-50, InceptionV3, ConvNeXtSmall) on a balanced dataset ([~]300 images per class), the best-performing model (ResNet-50) achieves 85% accuracy (F1 = 0.85) on a held-out validation set, significantly outperformed alternatives. Primary misclassifications align with subtle morphological transitions between adjacent stages. To facilitate broad adoption, the ResNet-50 model has been deployed in a lightweight Streamlit app offering live-camera inference ({approx}8 FPS on mobile). All code, pretrained weights, and data are publicly available, enabling scalable, high-throughput Drosophila staging for diverse experimental workflows.

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISRai '25Kim '24Aflitto '26Laurent '24Jones '23Sadia '25
67% semantic matchScientific Communication & Education
Jayant Rai, S Aswini, Soumyadeep Paul+2 more·bioRxiv·Apr 4, 2025· 1 citations