EinsteinNet and state-of-the-art ML models for android-based orange classification: Integration, evaluation, and deployment
The integration of on-device machine learning (ML) into mobile platforms has the potential to enable intelligent, real-time diagnostics in agricultural settings. This study presents EinsteinNet, a lightweight convolutional neural network (CNN) optimized for offline orange quality classification on Android devices. A custom dataset of 15,000 annotated images across five quality categories—fresh, rotten, green, canker-affected, and black-spotted—was used to train and compare EinsteinNet against four established architectures (ResNet50, DenseNet121, MobileNetV2, NASNetMobile) and a no-code Google Teachable Machine baseline. EinsteinNet achieved 99.6% test accuracy with a compact model size (254 KB), but incurred higher inference latency (∼1118 ms) relative to other models. All networks were converted to TensorFlow Lite (TFLite) format and integrated into an Android application with full offline inference capabilities. Empirical evaluation on a Google Pixel 6 showed that while custom CNNs offer strong classification performance and deployment efficiency, optimizing for real-time responsiveness remains critical. Power consumption metrics collected via Android Profiler revealed critical trade-offs among inference accuracy, latency, and energy usage, underscoring the balance required in deploying edge AI models for precision agriculture.
Authors
- Abdullah Iqbal (ORCID: https://orcid.org/0000-0003-3784-3522)
- Abdullah Al Sufian Shuvo (ORCID: https://orcid.org/0000-0002-4856-2913)
- Afzal Rahman (ORCID: https://orcid.org/0000-0003-4724-1621)
- Wahada Jinnat Oishy Bhuian
Institutions
- Bangladesh Agricultural University (BD)
Publication Details
- Journal
- Smart Agricultural Technology
- Published
- 2025-06-06
- DOI
- https://doi.org/10.1016/j.atech.2025.101072
- Citations
- 1
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- article
- Field-Weighted Citation Impact
- 1.49