WorksComputer Science
Multi-Scale Fruit Capsules: Dilated Convolutions and Dynamic Routing for In-the-Wild Explainable Fruit Recognition
Abstract
The same fruit appears in a bunch, unpicked, peeled, bagged in plastic, or sliced on a dish, so automated fruit classification in the wild (AFCW) must absorb wide intra- class and narrow inter-class variability in shape, size, colour and texture. Convolutional networks route information through pooling, which discards the pose and location of the region of interest and therefore generalises poorly across these presentations. We propose FruitCapsNet, a capsule network whose Fruit Capsules replace the standard convolutional front end with dilated convolutions: the receptive field grows exponentially at constant parameter cost, so each capsule encodes multi-scale context before dynamic routing resolves part whole spatial agreement. Hyper-parameters, including the dilation factor, are selected by Bayesian optimisation rather than grid search. On three public datasets (SMP, FruitsGB, Fruits-360) and a new 19-class, 10,639-image in-the-wild dataset (PD-19), FruitCapsNet exceeds ten fine-tuned transfer-learning backbones at one-third the depth, with the largest margin (+2.7% over the nearest competitor) on the hardest set. Grad-CAM saliency propagated from the DigitCaps layer shows that the improvement comes from attributing decisions to whole-fruit regions rather than to object edges, giving post-hoc evidence that the gain is not a dataset artefact.
Introduction
Fruit and vegetable processing is a high-volume, low-margin industry in which grading, sorting and cataloguing are still largely manual: labour-intensive, expert-dependent and increasingly hard to staff [1, 2]. Automating categorisation, ripeness sorting and defect detection with commodity cameras is therefore an active requirement for IoT-enabled farms, packing lines and retail checkout [3, 4, 5]. The vision problem is harder than the benchmark accuracies suggest. Fruits vary in size, shape, colour and texture with ripening stage, season and provenance, and they are photographed peeled, sliced, washed, bagged or still on the branch [6]. The result is wide intra-class variation coupled with narrow inter-class separation, which low-level descriptors cannot resolve [7]. Alternative sensing modalities sidestep the appearance problem but not the cost problem: chemical sensors are invasive and consume the sample, electronic-nose and near-infrared rigs are more expensive than high-resolution cameras, hyperspectral acquisition is slow, and thermal imaging fails when the fruit-background temperature gradient is small [8, 9, 10, 11]. Colour imaging remains the only economically deployable option, so the burden falls on the model.
Deep learning has demonstrated remarkable success across diverse real-world domains, ranging from medical imaging [12, 13, 14, 15, 16] and renewable-energy systems [17, 18] to industrial automation [19] and intelligent manufacturing. In computer vision, these advances have enabled increasingly robust solutions for image classification, object detection, and visual recognition under complex real-world conditions. Convolutional neural networks (CNNs) dominate industrial imaging [20, 21] [19] but have a structural weakness for this task. Their routing mechanism, average or max pooling, records that a feature is present in some region of interest (RoI) while discarding where it is and how it is posed, giving translation invariance and only augmentation-induced rotational invariance [22, 23, 24]. A CNN therefore treats an object as a bag of patches and cannot represent the position of one part relative to another, exactly the information that distinguishes a sliced fruit on a dish from the same fruit in a bag. Capsule networks [24] replace scalar-in/scalar-out units with vector-in/vector-out capsules and replace pooling with dynamic routing, encoding position, scale and alignment between local fragments and the whole object. In addition, the design, application, and assessment of our system provide the following research highlights:
Dilated Fruit Capsules. Substituting dilated for standard convolutions in the capsule front end expands the receptive field exponentially at constant kernel size, so each capsule aggregates multi-scale context before routing. Section IV-D isolates this factor from the rest of the architecture.
Bayesian hyper-parameter search over the margin-loss constants, dilation factor and training schedule, replacing hand tuning of a loss with four interacting free parameters.
PD-19, a 19-class, 10,639-image in-the-wild benchmark with multiple categories per image, inhomogeneous backgrounds and occlusion, on which the strongest transfer-learning baseline loses 2.7% to FruitCapsNet; and Grad-CAM evidence, propagated from DigitCaps, that the margin is attributable to whole-object rather than edge-localised attribution.
The workflow is shown in Figure 1. Section II covers prior art, Section III the model, Section IV experiments, Section V concludes.

Figure 1. Block diagram of the FruitCapsNet-based AFCW.
Related Work
Hand-crafted descriptors with shallow classifiers account for most of the pre-deep literature. Colour and texture statistics, reduced by PCA, feed SVMs and feed-forward networks [25], [26], [27]; Rocha et al. [28] combine Unser texture, colour-coherence vectors and border/interior descriptors across LDA, SVM, trees and NNs; shape-only pipelines use bounding-box and convex-hull geometry [29], [30]. Grading variants add rule-based or fuzzy decision layers over hue and brown-area measurements for banana ripeness [31] and mango quality [32], edge plus colour co-occurrence for citrus [33], Gabor decomposition [34] and active contours with fuzzy -means [35] for apples, sum-and-difference histograms for texture [36], and -means over shallow features for infected-patch detection [37]. Ensembles of global colour histograms, CCV, LBP and Zernike moments support robotic picking [38], and handwriting descriptors have been transferred to fruit [39]. These methods are competitive only where the background is controlled.
Non-visible sensing trades cost for invariance: hyperspectral imaging with PCA for kiwi bruising [40], visible spectroscopy for longan [41], hyperspectral reflectance/transmittance with feature selection for cucumber chilling injury [42], geometric features for cucumber quality [43], 19-band multispectral imaging for strawberry ripeness [44], terahertz time-domain spectroscopy [45], colour-space comparisons for Cape gooseberry [46], and genetic-algorithm defect detection in apples [47]. None is deployable at retail cost.
Deep models. Hossain et al. [48] give the reference CNN and fine-tuned VGG-16 [49] results on SMP and FruitsGB and remain the standard comparison. Capsule networks have since been applied to high-resolution scene classification [50], remote-sensing scenes with multi-convolutional capsules [51], bogie fault diagnosis [52] and apoptosis classification [53], but always with standard convolutions in the capsule front end. Dilated convolutions [54] have not previously been placed inside capsule layers, which is the gap this work addresses.
Method
Architecture
FruitCapsNet is an encoder-decoder (Figure 2). The encoder stacks three dilated convolutional layers, a PrimaryCaps layer and a DigitCaps layer whose capsule count equals the class count, mapped through three fully connected layers. Feature-vector magnitudes are normalised by the squash non-linearity rather than element-wise scaling, and dynamic routing carries information between capsule layers. The decoder reconstructs the input from the encoder output and acts purely as a regulariser against over-fitting.

Figure 2. Modular schematic of FruitCapsNet. Three dilated convolutional layers feed PrimaryCaps; DigitCaps emits one capsule per class; the decoder reconstructs the input as a regulariser.
Dilated Fruit Capsules
A capsule is a group of neurons whose activity vector encodes the instantiation parameters of one class: its length is
the class likelihood and its direction carries pose, deformation and albedo [24]. This is the substantive difference from a CNN feature map, which retains neither pose nor part-whole structure [50]. Each capsule holds a weight matrix and a routing coefficient ; the parent capsule in layer receives from every capsule in layer , with encoding the part-whole spatial relationship [51].
The front end of [24] uses standard convolutions, so a capsule sees only a neighbourhood and multi-scale context must be brought with depth or stride, the latter at the cost of resolution. We substitute dilated convolutions. For kernel , a standard convolution gives , whereas a dilated convolution with factor skips pixels, , expanding the receptive field exponentially at fixed parameter count and fixed resolution [54] (Figure 3). Each Fruit Capsule therefore aggregates context across scales before routing decides part-whole agreement, so the routing operates on evidence that already spans the fruit and its immediate background rather than a local patch. This is what we expect to matter under the occlusion and multi-object conditions of PD-19, and Section IV-D tests it directly.

Figure 3. Receptive field for dilation (a) , (b) , (c) .
Routing and Objective
Because capsule outputs are vectors, pooling is replaced by dynamic routing [24]. The input to parent capsule is with , and the logits are refined over iterations as , so agreement between a child prediction and the parent output amplifies that child’s contribution and suppresses its influence on competing parents [52]. Activations use squashing, , which ties vector length to presence probability while preserving orientation.
Table 1. Datasets. Per-class breakdowns in supplementary material.
Training minimises margin loss from the encoder plus reconstruction loss from the decoder,
where if class is present and prevents the decoder from dominating.
Bayesian Hyper-parameter Search
Eqs. 1–2 introduce four interacting constants on top of the usual schedule, and the validation error is non-differentiable and expensive to evaluate [55]. We therefore use Bayesian optimisation with a Gaussian-process surrogate [56, 57] over those four constants plus depth, filter size, kernel parameters, dilation factor, learning rate, batch size, dropout, strength and the ADAM moment decay rates, with integer or log-scale search intervals declared per variable. The selected values are , , , , ADAM [58] at , batch 32, dropout 5%, [59, 60]; channel and filter configurations are in Figure 2.
Experiments
Datasets
Table I summarises the four benchmarks; per-class counts are in the supplementary material. SMP [61] was collected at a distribution centre under varying illumination and pose, with specular reflection, shadow and occlusion from plastic-bag packaging. FruitsGB [62] pairs six Indian fruit varieties with a good/bad quality label, giving 12 classes photographed on a phone camera against diverse backgrounds. Fruits-360 [63, 64] is pre-segmented: single fruits on a rotating shaft against a white background, free of illumination variation.
All three contain one fruit class per image on a broadly homogeneous background and are close to saturated. PD-19 was assembled to break that assumption: 10,639 web images over 19 classes containing multiple categories per image, inhomogeneous backgrounds, diverse illumination, and fruit uncut, halved, bagged, plated or unpicked (Figure 4, Figure 5). PD-19 is the discriminative benchmark in what follows.

Figure 4. SMP samples: illumination, pose and count vary within class.

Figure 5. PD-19 samples: multiple categories per image, cluttered backgrounds, occlusion, and cut/plated/unpicked presentations.
Protocol
FruitCapsNet is implemented in TensorFlow/Keras on Ubuntu 20.04, AMD Ryzen 7 3700X, 32 GB DDR4, NVIDIA RTX 3080 (10 GB). SMP, FruitsGB and PD-19 are split 0.6 : 0.2 : 0.2 for train/validation/test; splits are redrawn several times and mean test metrics reported. For Fruits-360 we use the official 41,322/13,877 train/test partition, since consecutive frames of the same rotating specimen make random splitting leakage-prone. Images are resized per dataset subject to memory limits. Performance is reported as macro-averaged precision, recall and plus Cohen’s , defined as in [52].
The accuracy, total loss, and the encoder/decoder loss components over 100 epochs on SMP (Figure 6), FruitsGB (Figure 7), Fruits-360 (Figure 8), and PD-19 (Figure 9), together with convergence of the transfer-learning baselines is also illustrated. Behaviour on SMP, FruitsGB and Fruits-360 is qualitatively identical and is omitted for space; steady-state reconstruction loss rises with class count, as expected [52].

Figure 6. Over the epochs, variation in FruitCapsNet‘s (a) accuracy and total loss, (b) different model loss components (encoder & decoder loss), and (c) comparison of network convergence for different TL architectures for the SMP dataset.

Figure 7. Over the epochs, variation in FruitCapsNet‘s (a) accuracy and total loss, (b) different model loss components (encoder & decoder loss), and (c) comparison of network convergence for different TL architectures for the FruitsGB dataset.

Figure 8. Over the epochs, variation in FruitCapsNet‘s (a) accuracy and total loss, (b) different model loss components (encoder & decoder loss), and (c) comparison of network convergence for different TL architectures for the Fruit 360 dataset.

Figure 9. Over the epochs, variation in FruitCapsNet‘s (a) accuracy and total loss, (b) different model loss components (encoder & decoder loss), and (c) comparison of network convergence for different TL architectures for the PD-19 dataset.
Results
Table II gives mean test metrics over repeated splits. on all four datasets indicates near-perfect agreement with ground truth, including on PD-19 where the class prior is uneven.
Table III compares against ten fine-tuned ImageNet backbones [65, 66, 67, 68, 69, 70, 71, 72], with deeper layers unfrozen for the AFCW task. DenseNet is the nearest competitor. FruitCapsNet is best on every dataset at depth 7 versus 201, with comparable parameter count, and the margin scales with difficulty: +0.80%, +0.32% and +0.90% on SMP, FruitsGB and Fruits-360, but +2.67% on PD-19. That ordering

Figure 10. FruitsGB: inputs (1st row), dense-layer maps (2nd), Grad-CAM for FruitCapsNet (3rd) and DenseNet (4th)..
| Dataset | Acc. | Rec. | Prec. | ||
| FruitsGB | 98.84 | 98.54 | 98.98 | 98.17 | 98.72 |
| SMP | 99.19 | 99.39 | 99.02 | 99.49 | 99.12 |
| Fruits-360 | 99.31 | 99.28 | 99.41 | 99.07 | 99.28 |
| PD-19 | 98.28 | 98.25 | 98.55 | 97.91 | 98.43 |
Table II. FruitCapsNet test performance (%), mean over repeated splits.
is the substantive result; the three public sets are saturated and differences there are within run-to-run noise. Table IV places FruitCapsNet against published results per dataset.
Ablation: Isolating the Dilated Front End
To evaluate FruitCapsNet’s core contributions the dilated capsule front end and Bayesian hyperparameter search we isolate each component against a standard CapsNet baseline [24] () while keeping network depth, capsule dimensions, routing iterations, and training budget constant (Table V).
PM = trainable parameters (millions).
Effect of Dilation (). Setting yields the largest individual gains, accounting for 50%–62% of total improvement on public datasets and 70% (+1.09%) on PD-19. The effect scales with scene difficulty: expanding the receptive field prior to routing benefits multi-object, cluttered, and occluded scenes (PD-19) significantly more than pre-segmented, isolated specimens (Fruits-360). Non-Monotonicity (). Increasing dilation to degrades performance by 0.19%–0.46% points across all datasets. Because parameter counts are fixed, this drop is non-capacity-related. Instead, gridding artifacts [54] disrupt fine boundary and texture details, while an overextended receptive field integrates background noise that routing must actively suppress. An intermediate factor () is optimal and automatically identified by the Bayesian search.
| Set | Ref | Method | Acc. |
| [73] | colour/shape/texture + wavelet co-occurrence | 86.00 | |
| SMP | [74] | autocorrelogram, CCV, BIC, LAS + ML fusion | 98.80 |
| [75] | LBP, HOG, GaborLBP, CNN+SVM, R-CNN | 98.50 | |
| [48] | CNN, VGG-16 | 88.35 | |
| ours | FruitCapsNet + BO | 99.19 | |
| Fruits-360 | [76] | pure CNN, global average pooling | 98.88 |
| [77] | YOLO / YOLOv3 / improved Faster R-CNN | 70.14–90.73 | |
| [78] | CNN + EfficientNet | 95.67 | |
| [79] | MobileNet-V2, ShuffleNet-V2, LeNet | 98.70 | |
| [80] | LBP, Hu moments, HSV + random forest | 94.83 | |
| [81] | attention DenseNet + conv. autoencoder | 95.86 | |
| ours | FruitCapsNet + BO | 99.31 | |
| FruitsGB | [48] | CNN, VGG-16 | 90.57 |
| ours | FruitCapsNet + BO | 98.84 | |
| PD-19 | [48] | CNN, VGG-16 | 65.92 |
| ours | FruitCapsNet + BO | 98.28 |
Table 4. Comparison with published results. Prior art on SMP and Fruits-360 spans hand-crafted descriptors and CNN detectors; FruitsGB and PD-19 have a single deep baseline.
| Configuration | SMP | FruitsGB | Fruits-360 | PD-19 |
| CapsNet [24], , hand-tuned | 98.32 | 97.46 | 98.54 | 96.72 |
| + dilation | 98.81 | 98.15 | 99.02 | 97.81 |
| + dilation | 98.56 | 97.92 | 98.83 | 97.35 |
| + dilation + BO (full) | 99.19 | 98.84 | 99.31 | 98.28 |
Table 5. Ablation (accuracy, %; mean over 3 seeds).
Bayesian optimization contributes an additive, dataset-agnostic boost (+0.29% to +0.69%), indicating that loss-constant tuning optimizes learning schedules rather than spatial context. On PD-19, where the best transfer baseline reaches 95.61% (Table III), an unmodified CapsNet yields +1.11% of the total +2.67% gain, while our dilated front end and Bayesian tuning provide the remaining +1.56%.
| Network | Depth | PM | SMP | FruitsGB | Fruits-360 | PD-19 |
| ResNet-50 [65] | 50 | 25.63 | 49.86 | 72.02 | 80.28 | 89.01 |
| ResNet-101 [65] | 101 | 44.70 | 90.85 | 97.16 | 97.20 | 93.05 |
| ResNet-152 [65] | 152 | 60.38 | 92.18 | 98.05 | 96.96 | 93.51 |
| VGG-16 [66] | 16 | 138.3 | 96.91 | 97.77 | 98.00 | 93.84 |
| VGG-19 [66] | 19 | 143.6 | 97.46 | 96.97 | 97.58 | 91.22 |
| DenseNet-201 [67] | 201 | 20.0 | 98.39 | 98.52 | 98.41 | 95.61 |
| Inception [68] | 48 | 23.85 | 91.12 | 97.36 | 97.91 | 89.88 |
| Inception-ResNet [69] | 164 | 55.87 | 94.25 | 96.91 | 94.70 | 94.50 |
| Xception [70] | 71 | 22.91 | 94.52 | 98.16 | 97.60 | 92.65 |
| MobileNet [71] | 53 | 3.53 | 96.59 | 97.66 | 97.00 | 90.95 |
| FruitCapsNet | 7 | 21.61 | 99.19 | 98.84 | 99.31 | 98.28 |
Table III. Comparison with fine-tuned pre-trained backbones (accuracy, %).
Visual Explanation
Grad-CAM [82], [83] produces class-discriminative saliency by weighting activations with the gradient of the class score, localising the regions that drive the prediction [84], [85], [86]. We adapt it to capsules by propagating the gradient from the target DigitCaps capsule back into the convolutional capsule layer, and compare against DenseNet, the strongest baseline in Table III. Figure 11 and Figure 12 show inputs, PrimaryCaps dense-layer maps, and both heatmaps for SMP and PD-19; FruitsGB behaves similarly and is omitted. Two things are visible. First, FruitCapsNet attributes the decision to the whole fruit region, spanning textural interior and boundary, whereas DenseNet’s saliency collapses onto object edges. Second, FruitCapsNet’s attribution stays on the fruit under the conditions that define PD-19: pose change, illumination change, several fruits in frame, and cropping or occlusion, where DenseNet’s heatmaps become ambiguous or drift onto background. This is the behaviour dynamic routing predicts. Pooling forwards the strongest activation and discards the rest, so a CNN’s evidence is necessarily local; routing forwards whichever child capsules agree on a consistent pose for the whole object, so evidence is aggregated over the object’s extent, and the dilated front end widens the context each child capsule sees before that vote is taken. The result is that accuracy degrades least exactly where spatial structure matters most, which is consistent with the +2.67% margin on PD-19 against +0.32% on FruitsGB.

Figure 11. SMP: inputs (1st row), dense-layer maps (2nd), Grad-CAM for FruitCapsNet (3rd) and DenseNet (4th).

Figure 12. PD-19: inputs (1st row), dense-layer maps (2nd), Grad-CAM for FruitCapsNet (3rd) and DenseNet (4th). FruitCapsNet retains whole-object attribution under occlusion and clutter.
Conclusion
Pooling-based CNNs localise evidence to small regions and discard the spatial relations between them, which limits fruit recognition in the wild. Placing dilated convolutions inside capsule layers lets each capsule aggregate multi-scale context before dynamic routing resolves part-whole agreement, and Bayesian optimisation makes the resulting six-way hyper-parameter interaction tractable. Across four benchmarks the model beats ten fine-tuned backbones at one-third the depth, and the margin grows with scene difficulty: negligible on the saturated public sets, +2.67% on PD-19. Grad-CAM through DigitCaps shows the mechanism, whole-object rather than edge-local attribution that survives occlusion, clutter and multi-object frames. Limitations remain: PD-19 is web-collected and its label noise is unquantified, and routing cost still scales with capsule count, which constrains edge deployment. Next steps are a quantitative explanation metric for the explainability claim, adversarial or self-supervised capsule pre-training, and few-shot extension to unseen cultivars.
References
References
- [1]https://www.bizvibe.com/blog/global-fruit-industry-factsheet (Accessed on 03/01/2021).
- [2]Y. Liu, X. Ma, L. Shu, G. P. Hancke, and A. M. Abu-Mahfouz, “From industry 4.0 to agriculture 4.0: Current status, enabling technologies, and research challenges,” IEEE Transactions on Industrial Informatics, 2020.DOI
- [3]O. Elijah, T. A. Rahman, I. Orikumhi, C. Y. Leow, and M. N. Hindia, “An overview of internet of things (iot) and data analytics in agriculture: Benefits and challenges,” IEEE Internet of Things Journal, vol. 5, no. 5, pp. 3758–3773, 2018.DOI
- [4]N. Misra, Y. Dixit, A. Al-Mallahi, M. S. Bhullar, R. Upadhyay, and A. Martynenko, “IoT, big data and artificial intelligence in agriculture and food industry,” IEEE Internet of Things Journal, 2020.DOI
- [5]J. Ruan and Y. Shi, “Monitoring and assessing fruit freshness in iot-based e-commerce delivery using scenario analysis and interval number approaches,” Information Sciences, vol. 373, pp. 557–570, 2016.DOI
- [6]A. Gongal, S. Amatya, M. Karkee, Q. Zhang, and K. Lewis, “Sensors and systems for fruit detection and localization: A review,” Computers and Electronics in Agriculture, vol. 116, pp. 8–19, 2015.DOI
- [7]Y. Zhao, L. Gong, Y. Huang, and C. Liu, “A review of key techniques of vision-based control for harvesting robot,” Computers and Electronics in Agriculture, vol. 127, pp. 311–323, 2016.DOI
- [8]A. B. A. Dow and W. Lang, “Design and fabrication of a micropre-concentrator coupler for sensitivity enhancement of chemical sensing systems,” IEEE Sensors Journal, vol. 12, no. 7, pp. 2528–2534, 2012.
- [9]H. Cen and Y. He, “Theory and application of near infrared reflectance spectroscopy in determination of food quality,” Trends in Food Science & Technology, vol. 18, no. 2, pp. 72–83, 2007.DOI
- [10]S. Chattoraj, S. Pratiher, R. Mukherjee, S. Ghosh, A. Chakraborty, D. K. Hazra, and S. Pratiher, “Efficacy of deep convolutional neural network features on histological manifold for robust breast carcinoma detection,” in SPIE/COS Photonics Asia, 2018.DOI
- [11]R. Vadivambal and D. S. Jayas, “Applications of thermal imaging in agriculture and food industry—a review,” Food and Bioprocess Technology, vol. 4, no. 2, pp. 186–199, 2011.
- [12]D. Nawn, S. Pratiher, S. Chattoraj, D. Chakraborty, M. Pal, R. R. Paul, S. Dutta, and J. Chatterjee, “Multifractal alterations in oral sub-epithelial connective tissue during progression of pre-cancer and cancer,” IEEE Journal of Biomedical and Health Informatics, vol. 25, pp. 152–162, 2020.DOI
- [13]S. Pratiher and S. Chattoraj, “Diving deep onto discriminative ensemble of histological hashing & class-specific manifold learning for multi-class breast carcinoma taxonomy,” ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 1025–1029, 2018.arxiv.org/abs/1806.06876
- [14]S. Chattoraj, S. Pratiher, and K. Vishwakarma, “Automated detection of glaucoma in fundus images using variational mode decomposition and textural features,” in Photonics Europe, 2018.DOI
- [15]S. Chattoraj, A. Chakraborty, A. Gupta, Y. Vishwakarma, K. Vishwakarma, and J. Aparajeeta, “Deep phenotypic cell classification using capsule neural network,” 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), pp. 4031–4036, 2021.DOI
- [16]S. Kumar, A. Agarwal, S. Golla, S. Tanamala, U. Upadhyay, S. Chattoraj, P. Putha, and S. Chilamkurthy, “Mind the clot: Automated love detection on cta using deep learning,” 2023 IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), pp. 2495–2504, 2023.DOI
- [17]S. Chattoraj, S. Pratiher, S. Pratiher, and H. Konik, “Improving stability of adversarial li-ion cell usage data generation using generative latent space modelling,” ICASSP 2021 - 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8047–8051, 2021.
- [18]S. Banerjee, S. Pratiher, S. Chattoraj, R. Gupta, P. S. K. Patra, B. Saikia, S. Thakur, S. Mondal, and A. Mukherjee, “Deep reinforcement learning for variability prediction in latent heat flux from low-cost meteorological parameters,” 2020.DOI
- [19]S. Das, S. Chatterjee, S. Pratiher, S. Chattoraj, M. Basu, and H. Konik, “Hydrophobicity-based grading of industrial composite insulators images using cross attention vision transformer with knowledge distillation,” IEEE Transactions on Dielectrics and Electrical Insulation, vol. 31, pp. 523–532, 2024.DOI
- [20]I. Goodfellow, Y. Bengio, A. Courville, and Y. Bengio, Deep learning. MIT press Cambridge, 2016, vol. 1, no. 2.
- [21]Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” nature, vol. 521, no. 7553, pp. 436–444, 2015.DOI
- [22]T. Cohen and M. Welling, “Group equivariant convolutional networks,” in International conference on machine learning, 2016, pp. 2990–2999.arxiv.org/abs/1602.07576
- [23]D. E. Worrall, S. J. Garbin, D. Turmukhambetov, and G. J. Brostow, “Harmonic networks: Deep translation and rotation equivariance,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017, pp. 5028–5037.arxiv.org/abs/1612.04642
- [24]S. Sabour, N. Frosst, and G. E. Hinton, “Dynamic routing between capsules,” in Advances in neural information processing systems, 2017, pp. 3856–3866.arxiv.org/abs/1710.09829
- [25]Y. Zhang and L. Wu, “Classification of fruits using computer vision and a multiclass support vector machine,” sensors, vol. 12, no. 9, pp. 12 489–12 505, 2012.DOI
- [26]Y. Zhang, S. Wang, G. Ji, and P. Phillips, “Fruit classification using computer vision and feedforward neural network,” Journal of Food Engineering, vol. 143, pp. 167–177, 2014.DOI
- [27]J. D. Pujari, R. Yakkundimath, and A. Byadgi, “Reduced color and texture features based identification and classification of affected and normal fruits’ images,” International Journal of Agricultural and Food Science, vol. 3, no. 3, pp. 119–127, 2013.
- [28]A. Rocha, D. C. Hauagge, J. Wainer, and S. Goldstein, “Automatic fruit and vegetable classification from images,” Computers and Electronics in Agriculture, vol. 70, no. 1, pp. 96–104, 2010.DOI
- [29]S. Jana and R. Parekh, “Shape-based fruit recognition and classification,” in International Conference on Computational Intelligence, Communications, and Business Analytics. Springer, 2017, pp. 184–196.DOI
- [30]G. Muhammad, “Date fruits classification using texture descriptors and shape-size features,” Engineering Applications of Artificial Intelligence, vol. 37, pp. 361–367, 2015.DOI
- [31]S. Marimuthu and S. M. M. Roomi, “Particle swarm optimized fuzzy model for the classification of banana ripeness,” IEEE Sensors Journal, vol. 17, no. 15, pp. 4903–4915, 2017.DOI
- [32]C. S. Nandi, B. Tudu, and C. Koley, “A machine vision-based maturity prediction system for sorting of harvested mangoes,” IEEE Transactions on Instrumentation and measurement, vol. 63, no. 7, pp. 1722–1730, 2014.DOI
- [33]R. Pydipati, T. Burks, and W. Lee, “Identification of citrus disease using color texture features and discriminant analysis,” Computers and electronics in agriculture, vol. 52, no. 1-2, pp. 49–59, 2006.DOI
- [34]Y. Zhang, S. Wang, G. Ji, and P. Phillips, “Fruit classification using computer vision and feedforward neural network,” Journal of Food Engineering, vol. 143, pp. 167–177, 2014.DOI
- [35]A. Ghabousian and M. Shamsi, “Segmentation of apple color images utilizing fuzzy clustering algorithms,” Advances in Digital Multimedia, vol. 1, no. 1, pp. 59–63, 2012.
- [36]S. R. Dubey and A. Jalal, “Robust approach for fruit and vegetable classification,” Procedia Engineering, vol. 38, pp. 3449–3453, 2012.DOI
- [37]S. R. Dubey and A. S. Jalal, “Apple disease classification using color, texture and shape features from images,” Signal, Image and Video Processing, vol. 10, no. 5, pp. 819–826, 2016.DOI
- [38]Y. Tao and J. Zhou, “Automatic apple recognition based on the fusion of color and 3d feature for robotic fruit picking,” Computers and electronics in agriculture, vol. 142, pp. 388–396, 2017.DOI
- [39]P. A. Macanhã, D. M. Eler, R. E. Garcia, and W. E. M. Junior, “Handwritten feature descriptor methods applied to fruit classification,” in Information Technology-New Generations. Springer, 2018, pp. 699–705.DOI
- [40]Q. Lü and M. Tang, “Detection of hidden bruise on kiwi fruit using hyperspectral imaging and parallelpiped classification,” Procedia Environmental Sciences, vol. 12, pp. 1172–1179, 2012.DOI
- [41]T. Pholpho, S. Pathaveerat, and P. Siritheermorn, “Classification of longan fruit bruising using visible spectroscopy,” Journal of Food Engineering, vol. 104, no. 1, pp. 169–172, 2011.DOI
- [42]H. Chen, R. Lu, Q. Zhu, and F. Mendoza, “Nondestructive detection of chilling injury in cucumber fruit using hyperspectral imaging with feature selection and supervised classification,” Postharvest Biology and Technology, vol. 111, pp. 352–361, 2016.DOI
- [43]K. Kheirallipour and A. Pormah, “Introducing new shape features for classification of cucumber fruit based on image processing technique and artificial neural networks,” Journal of Food Process Engineering, vol. 40, no. 6, p. e12558, 2017.DOI
- [44]A. Ren, A. Zahid, A. Zoha, S. A. Shah, M. A. Imran, A. Alomainy, and Q. H. Abbasi, “Application of multispectral imaging to determine quality attributes and ripeness stage in strawberry fruit,” PloS one, vol. 9, no. 2, p. e87818, 2014.
- [45]W. Castro, J. Oblitas, M. De-La-Torre, C. Cotrina, K. Bazán, and H. Avila-George, “Classification of cape gooseberry fruit according to its level of ripeness using machine learning techniques and different color spaces,” IEEE Access, vol. 7, pp. 27 389–27 400, 2019.DOI
- [46]W. Zhang, J. Hu, G. Zhou, and M. He, “Detection of apple defects based on the fcm-npga and a multivariate image analysis,” IEEE Access, vol. 8, pp. 38 833–38 445, 2020.DOI
- [47]M. S. Hossain, M. Al-Hammadi, and G. Muhammad, “Automatic fruit classification using deep learning for industrial applications,” IEEE Transactions on Industrial Informatics, vol. 15, no. 2, pp. 1027–1034, 2018.DOI
- [48]K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” arXiv preprint arXiv:1409.1556, 2014.DOI
- [49]Y. Guo, J. Liao, and G. Shen, “A deep learning model with capsules embedded for high-resolution image classification,” IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, vol. 14, pp. 214–223, 2020.DOI
- [50]A. Raza, H. Huo, S. Sirajuddin, and T. Fang, “Diverse capsules network combining multiconvolutional layers for remote sensing image scene classification,” IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, vol. 13, pp. 5297–5313, 2020.DOI
- [51]L. Chen, N. Qin, X. Dai, and D. Huang, “Fault diagnosis of high-speed train bogie based on capsule network,” IEEE Transactions on Instrumentation and Measurement, vol. 69, no. 9, pp. 6203–6211, 2020.DOI
- [52]A. Mobiny, H. Lu, H. V. Nguyen, B. Roysam, and N. Varadarajan, “Automated classification of apoptosis in horse contrast microscopy using capsule network,” IEEE transactions on medical imaging, vol. 39, no. 1, pp. 1–10, 2019.DOI
- [53]F. Yu and V. Koltun, “Multi-Scale context Aggregation by Dilated Convolutions,” 2016.arxiv.org/abs/1511.07122
- [54]J. Snoek, H. Larochelle, and R. P. Adams, “Practical bayesian optimization of machine learning algorithms,” Advances in neural information processing systems, vol. 25, 2012.arxiv.org/abs/1206.2944
- [55]J. Wu, X.-Y. Chen, H. Zhang, L.-D. Xiong, H. Lei, and S.-H. Deng, “Hyperparameter optimization for machine learning models based on bayesian optimization,” Journal of Electronic Science and Technology, vol. 17, no. 1, pp. 26–40, 2019.DOI
- [56]J. Wu, X.-Y. Chen, H. Zhang, L.-D. Xiong, H. Lei, and S.-H. Deng, “Hyperparameter optimization for machine learning models based on bayesian optimization,” Journal of Electronic Science and Technology, vol. 17, no. 1, pp. 26–40, 2019.DOI
- [57]J. Snoek, O. Rippel, K. Swersky, R. Kiros, N. Satish, N. Sundaram, M. Patwary, M. Prabhat, and R. Adams, “Scalable bayesian optimization using deep neural networks,” in International conference on machine learning. PMLR, 2015, pp. 2171–2180.arxiv.org/abs/1502.05700
- [58]D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014.arxiv.org/abs/1412.6980
- [59]N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: a simple way to prevent neural networks from overfitting,” The journal of machine learning research, vol. 15, no. 1, pp. 1929–1958, 2014.
- [60]T. Van Laarhoven, “L2 regularization versus batch and weight normalization,” arXiv preprint arXiv:1706.05350, 2017.arxiv.org/abs/1706.05350
- [61]A. Rocha, D. C. Hauagge, J. Wainer, and S. Goldenstein, “Automatic fruit and vegetable classification from images,” Computers and Electronics in Agriculture, vol. 70, no. 1, pp. 96–104, 2010.DOI
- [62]https://ieee-dataport.org/open-access/fruitsgb-top-indian-fruits-quality (Accessed on 24/09/2020).
- [63]https://data.mendeley.com/datasets/rp73yg93n8/1 (Accessed on 24/09/2020).
- [64]H. Mureșan and M. Oltean, “Fruit recognition from images using deep learning,” Acta Universitatis Sapientiae, Informatica, vol. 10, no. 1, pp. 26–42, 2018.arxiv.org/abs/1712.00580
- [65]K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 770–778.arxiv.org/abs/1512.03385
- [66]K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” arXiv preprint arXiv:1409.1556, 2014.DOI
- [67]G. Huang, L. Liu, Van Der Maaten, and K. Q. Weinberger, “Densely connected convolutional networks,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 4700–4708.arxiv.org/abs/1608.06993
- [68]C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich, “Going deeper with convolutions,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2015, pp. 1–9.arxiv.org/abs/1409.4842
- [69]C. Szegedy, S. Ioffe, V. Vanhoucke, and A. Alemi, “Inception-v4, inception-resnet and the impact of residual connections on learning,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 31, no. 1, 2017.arxiv.org/abs/1602.07261
- [70]F. Chollet, “Xception: Deep learning with depthwise separable convolutions,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 1251–1258.arxiv.org/abs/1610.02357
- [71]A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, “MobileNets: Efficient convolutional neural networks for mobile vision applications,” arXiv preprint arXiv:1704.04861, 2017.arxiv.org/abs/1704.04861
- [72]O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein et al., “ImageNet large scale visual recognition challenge,” International journal of computer vision, vol. 115, no. 3, pp. 211–252, 2015.arxiv.org/abs/1409.0575
- [73]S. Arivazhagan, R. N. Shebiah, S. S. Nidhyanandhan, and L. Ganesan, “Fruit recognition using color and texture features,” Journal of Emerging Trends in Computing and Information Sciences, vol. 1, no. 2, pp. 90–94, 2010.
- [74]F. Faria, J. A. Santos, A. Rocha, and R. Torres, “Automatic classifier fusion for produce recognition,” 2012 25th SIBGRAPI Conference on Graphics, Patterns and Images, pp. 252–259, 2012.DOI
- [75]H. Kuang, C. Liu, L. L. H. Chan, and H. Yan, “Multi-class fruit detection based on image region selection and improved object proposals,” Neurocomputing, vol. 283, pp. 241–255, 2018.DOI
- [76]A. Kausar, M. Sharif, J. Park, and D. R. Shin, “Pure-cnn: A framework for fruit images classification,” 2018 International Conference on Computational Science and Computational Intelligence (CSCI), pp. 404–408, 2018.DOI
- [77]S. Wan and S. Goudos, “Faster r-cnn for multi-class fruit detection using a robotic vision system,” Comput. Networks, vol. 168, 2020.DOI
- [78]D. T. P. Chung and D. V. Tai, “A fruits recognition system based on a modern deep learning technique,” 2019.DOI
- [79]M. Teletin and L. Dobai, “Lightweight models for fruits recognition,” 2019 IEEE 13th International Symposium on Applied Computational Intelligence and Informatics (SACI), pp. 000 069–000 074, 2019.DOI
- [80]F. Firdaus, E. Rachmawati, and F. Stevani, “Hybrid approach for fruit recognition in high data variance,” in AIP Conference Proceedings, vol. 2233, no. 1. AIP Publishing LLC, 2020, p. 030003.DOI
- [81]G. Xue, S. Liu, and Y. Ma, “A hybrid deep learning-based fruit classification using attention model and convolution autoencoder,” Complex & Intelligent Systems, pp. 1–11, 2020.DOI
- [82]R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-cam: Visual explanations from deep networks via gradient-based localization,” in Proceedings of the IEEE international conference on computer vision, 2017, pp. 618–626.DOI
- [83]D. Gunning, M. Stefik, J. Choi, T. Miller, S. Stumpf, and G.-Z. Yang, “Xai—explainable artificial intelligence,” Science Robotics, vol. 4, no. 37, 2019.
- [84]D. Gunning, “Explainable artificial intelligence (xai),” Defense Advanced Research Projects Agency (DARPA), and Web, vol. 2, no. 2, 2017.
- [85]F. K. Došilović, N. Brčić, and N. Hlupić, “Explainable artificial intelligence: a survey,” in 2018 41st International convention on information and communication technology, electronics and microelectronics (MIPRO). IEEE, 2018, pp. 0210–0215.DOI
- [86]A. Adadi and M. Berrada, “Peeking inside the black-box: A survey on explainable artificial intelligence (xai),” IEEE Access, vol. 6, pp. 52138–52160, 2018.DOI