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
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.
02 /Specification & Classification
Click any tag to browse matching papers- Organism
- Assay
- Research Focus
- Approach
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.
Related papers
- Deep Learning-Driven Gender Classification of Drosophila melanogaster: Advancing Real-Time Analysis with Mobile Integration
Jayant Rai, S Aswini, … Ishaan Gupta·bioRxiv·Apr 4, 2025
- YOLOv8 Enables Automated Dragonfly Species Classification Using Wing Images
Su Yeon Kim·bioRxiv·Sep 1, 2024
- A Lightweight, High-Throughput Classifier for North American Insects Using EfficientNet: Elytra 1.0
Nicholas C. Aflitto·bioRxiv·Feb 18, 2026
- LarvaTagger: Manual and automatic tagging of Drosophila larval behaviour
François Laurent, Alexandre Blanc, … Jean‐Baptiste Masson·BioinformaticsPeer-reviewed·Jul 1, 2024
- Automated staging of zebrafish embryos with deep learning
Rebecca A. Jones, Matthew J. Renshaw, … David J. Barry·Life Science AlliancePeer-reviewed·Oct 26, 2023
- AInsectID Version 1.1: an Insect Species Identification Software Based on the Transfer Learning of Deep Convolutional Neural Networks
Haleema Sadia, Parvez Alam·Advanced Intelligent DiscoveryPeer-reviewed·Mar 25, 2025