A lightweight fruit classification model optimized for real-world applications such as assisting visually impaired individuals in identifying fruits, enhancing automated checkouts in grocery stores and supporting inventory systems in agriculture and retail
Presentation:
https://docs.google.com/presentation/d/1XuoXTyeKZCTCrUAULf7IOnxzxo6jIGe2a498KVxm-vY/edit?usp=drive_link

Fruit Classification Model Enhancement: Boosting Accuracy (68.69% to 84.44%) This presentation details our advanced fruit classification model, built on MobileNetV2. We analyzed and implemented a prior paper, then developed a robust methodology to overcome its flaws, significantly improving validation accuracy.
Key Flaws Identified in Previous Work:
-
Misclassification: Poor performance on real-world images with varied lighting/backgrounds.
-
Overfitting: Excessive training epochs (30) led to memorization.
-
Suboptimal Architecture: Lacked Global Average Pooling (GAP); small Kernel (3x3) & Stride (1) hindered efficiency.
Our Approach & Improvements:
- Preprocessing:
- Input Image Size: Increased from 32x32 to 96x96 for better feature preservation.
- Background Removal: Applied threshold-based masking to isolate fruits.
- CLAHE Enhancement: Improved color/texture visibility in varying light conditions.
- Normalization: Images scaled to [0, 1] for better convergence.
- Optimized Training Setup:
- Dataset: 2,876 images (9 classes) from augmented Kaggle data, validated with a custom real-world image test set.
- Batch Size: 32.
- Epochs: Reduced to 20 to mitigate overfitting.
- Optimizer: Adam (lr = 1e-4), more effective than 0.001.
- Loss Function: Categorical Cross Entropy.
Results & Impact:
- Lower training time due to optimized epochs.
- Better feature representation from higher resolution and CLAHE.
- Improved generalization through balanced augmentation and architectural refinements.
Resultant lightweight model suitable for mobile deployment, offering real-world applications. This includes assisting visually impaired individuals in fruit identification, enhancing automated checkouts in grocery stores, and supporting inventory systems in agriculture and retail by providing precise and timely fruit classification.