it was possible to determine that MobileNetV2 is the
CNN model that best fits the need for binary classifi-
cation for defect detection in apples and mangoes.
As future work, it is proposed to implement a mul-
ticlass classifier CNN model to classify images by
each defect found. In addition, we will focus on the
implementation of more powerful architectures such
as transformers for the detection of defects in fruits.
ACKNOWLEDGEMENTS
This work has been partially supported by the
ESPOL-CIDIS-11-2022 project.
REFERENCES
Arango, J. D., Staar, B., Baig, A. M., and Freitag, M.
(2021). Quality control of apples by means of convo-
lutional neural networks - comparison of bruise detec-
tion by color images and near-infrared images. Proce-
dia CIRP, 99:290–294.
Charco, J. L., Sappa, A. D., Vintimilla, B. X., and Vele-
saca, H. O. (2021). Camera pose estimation in multi-
view environments: From virtual scenarios to the real
world. Image and Vision Computing, 110:104182.
Crane, J. H. and Gazis, R. (2020). Bacterial black spot (bbs)
of mango in florida: Hs1369, 9/2020. EDIS, 2020(5).
Enicks, D. A., Bomberger, R. A., and Amiri, A. (2020).
Development of a portable lamp assay for detection of
neofabraea perennans in commercial apple fruit. Plant
Disease, 104(9):2346–2353.
Fu, Y., Nguyen, M., and Yan, W. Q. (2022). Grading meth-
ods for fruit freshness based on deep learning. SN
Computer Science, 3:264.
Goutam, K., Balasubramanian, S., Gera, D., and Sarma,
R. R. (2020). Layerout: Freezing layers in deep neural
networks. SN Computer Science, 1(5):1–9.
Han, K., Wang, Y., Chen, H., Chen, X., Guo, J., Liu, Z.,
Tang, Y., Xiao, A., Xu, C., Xu, Y., et al. (2022). A
survey on vision transformer. IEEE transactions on
pattern analysis and machine intelligence.
Karakaya, D., Ulucan, O., and Turkan, M. (2019). A
comparative analysis on fruit freshness classification.
2019 Innovations in Intelligent Systems and Applica-
tions Conference (ASYU).
Khan, A. I., Quadri, S., and Banday, S. (2021). Deep learn-
ing for apple diseases: classification and identifica-
tion. International Journal of Computational Intelli-
gence Studies, 10(1):1–12.
Koetter, F., Blohm, M., Drawehn, J., Kochanowski, M.,
Goetzer, J., Graziotin, D., and Wagner, S. (2019).
Conversational agents for insurance companies: from
theory to practice. In International Conference on
Agents and Artificial Intelligence, pages 338–362.
Springer.
Kolker, A., Oshchepkova, S., Pershina, Z., Dimitrov, L.,
Ivanov, V., Rashid, A., and Bdiwi, M. The ray tracing
based tool for generation artificial images and neural
network training.
Miah, M. S., Tasnuva, T., Islam, M., Keya, M., Rahman,
M. R., and Hossain, S. A. (2021). An advanced
method of identification fresh and rotten fruits using
different convolutional neural networks. 2021 12th
International Conference on Computing Communica-
tion and Networking Technologies (ICCCNT).
Munesue, Y., Masui, T., and Fushima, T. (2015). The
effects of reducing food losses and food waste on
global food insecurity, natural resources, and green-
house gas emissions. Environmental Economics and
Policy Studies, 17(1):43–77.
Nguyen, T.-V.-L., Nguyen, Q.-D., and Nguyen, P.-B.-D.
(2022). Drying kinetics and changes of total phenolic
content, antioxidant activity and color parameters of
mango and avocado pulp in refractance window dry-
ing. Polish Journal of Food and Nutrition Sciences,
72(1):27–38.
Nturambirwe, J. F. I. and Opara, U. L. (2020). Machine
learning applications to non-destructive defect detec-
tion in horticultural products. Biosystems Engineer-
ing, 189:60–83.
Omar, A. and MatJafri, M. (2013). Principles, method-
ologies and technologies of fresh fruit quality assur-
ance. Quality Assurance and Safety of Crops & Foods,
5:257–271.
Pathak, R. (2021). Classification of fruits using convo-
lutional neural network and transfer learning mod-
els. Journal of Management Information and Deci-
sion Sciences 1 Journal of Management Information
and Decision Sciences, 24:1–12.
Plowman, J. (2016). 3D Game Design with Unreal Engine
4 and Blender. Packt Publishing Ltd.
Swords, D. S., Bednarski, B. K., Messick, C. A., Tillman,
M. M., Chang, G. J., and You, Y. N. (2022). Quality
and location of the surgical episode mediate a large
proportion of socioeconomic-based survival dispari-
ties in patients with resected stage i–iii colon cancer.
Annals of surgical oncology, 29(1):706–716.
V G, N. and Pinto, A. (2021). Defects Detection in
Fruits and Vegetables Using Image Processing and
Soft Computing Techniques, pages 325–337.
Wu, A., Zhu, J., and Ren, T. (2020). Detection of apple
defect using laser-induced light backscattering imag-
ing and convolutional neural network. Computers &
Electrical Engineering, 81:106454.
Zhang, B., Huang, W., Li, J., Zhao, C., Fan, S., Wu, J., and
Liu, C. (2014). Principles, developments and appli-
cations of computer vision for external quality inspec-
tion of fruits and vegetables: A review. Food Research
International, 62:326–343.
Zheng, B. and Huang, T. (2021). Mango grading sys-
tem based on optimized convolutional neural network.
Mathematical Problems in Engineering, 2021:1–11.
Fruit Defect Detection Using CNN Models with Real and Virtual Data
279