Computer Vision-Based Chili Pepper Dryness Classification Using Lightweight CNN Models for Affordable Post-Harvest Sorting
Main Article Content
The manual grading of chili pepper dryness is uneven because human graders tend to perceive color, texture, and form changes that occur gradually during drying in a subjective way. The purpose of this study is to develop a lightweight convolutional neural network model that can effectively balance classification accuracy, validation stability, and deployment feasibility for inexpensive post-harvest sorting. A controlled visual dataset of 1,662 photos of red chili pepper from 32 samples at eleven drying times was gathered and classified into Fresh, Medium, and Dry classes. We assessed MobileNetV2, NASNetMobile, and InceptionV3 using the same pre-processing, augmentation, and hold-out testing protocol, along with additional robustness analysis. MobileNetV2 achieved the best hold-out performance with 93% accuracy, 93% precision, 92% recall, and 92% F1-score, while having fewer parameters and lower computational cost than NASNetMobile and InceptionV3. The class-wise analysis showed that the greatest errors were found between the Fresh–Medium and Medium–Dry boundaries, as the visual transition of chili dryness is gradual. MobileNetV2 is the most suitable baseline for low-cost camera-based chili pepper dryness sorting, and this study provides an evidence-based standard for post-harvest visual inspection using compact deep learning.
Asian, J., Arianti, N. D., Ariefin, & Muslih, M. (2024). Comparison of feature extraction and auto-preprocessing for chili pepper (Capsicum frutescens) quality classification using machine learning. IAES International Journal of Artificial Intelligence, 13(1), 319-328. https://doi.org/10.11591/ijai.v13.i1.pp319-328
Azis, Y. A., Khuriyati, N., & Suyantohadi, A. (2021). Classification of dried chilli quality using image processing. IOP Conference Series: Earth and Environmental Science, 686(1), 012058. https://doi.org/10.1088/1755-1315/686/1/012058
Barbedo, J. G. A. (2018). Factors influencing the use of deep learning for plant disease recognition. Biosystems Engineering, 172, 84-91. https://doi.org/10.1016/j.biosystemseng.2018.05.013
Bipin Nair, B. J., Sahana, M. D., Shobitha, D., & Govinda, T. (2025). Green chilli quality classification using deep learning models. In 2025 12th International Conference on Computing for Sustainable Global Development (INDIACom). https://doi.org/10.23919/INDIACom66777.2025.11115838
Colaco, L., & Kamat, P. (2025). Artificial intelligence advances for cashew fruit maturity and quality detection: A systematic review on models, sensors, and farming applications. Journal of Big Data, 12, 250. https://doi.org/10.1186/s40537-025-01296-2
Cruz-Dominguez, O., Carrera-Escobedo, J. L., Guzman-Valdivia, C. H., Ortiz-Rivera, A., Garcia-Ruiz, M., Duran-Munoz, H. A., Vidales-Basurto, C. A., & Castano, V. M. (2021). A novel method for dried chili pepper classification using artificial intelligence. Journal of Agriculture and Food Research, 3, 100099. https://doi.org/10.1016/j.jafr.2021.100099
Gill, H. S., et al. (2023). Fruit type classification using deep learning and feature extraction-based machine learning techniques. Computers and Electronics in Agriculture, 215, 107990. https://doi.org/10.1016/j.compag.2023.107990
Hossen, M. I., Awrangjeb, M., Pan, S., & Al Mamun, A. (2025). Transfer learning in agriculture: A review. Artificial Intelligence Review, 58, 97. https://doi.org/10.1007/s10462-024-11081-x
Kamilaris, A., & Prenafeta-Boldu, F. X. (2018). Deep learning in agriculture: A survey. Computers and Electronics in Agriculture, 147, 70-90. https://doi.org/10.1016/j.compag.2018.02.016
Kattenborn, T., Leitloff, J., Schiefer, F., & Hinz, S. (2021). Review on convolutional neural networks (CNN) in vegetation remote sensing. ISPRS Journal of Photogrammetry and Remote Sensing, 173, 24-49. https://doi.org/10.1016/j.isprsjprs.2020.12.010
Liakos, K. G., Busato, P., Moshou, D., Pearson, S., & Bochtis, D. (2018). Machine learning in agriculture: A review. Sensors, 18(8), 2674. https://doi.org/10.3390/s18082674
Rojas Santelices, I., Cano, S., Moreira, F., & Pena Fritz, A. (2025). Artificial vision systems for fruit inspection and classification: Systematic literature review. Sensors, 25(5), 1524. https://doi.org/10.3390/s25051524
Shorten, C., & Khoshgoftaar, T. M. (2019). A survey on image data augmentation for deep learning. Journal of Big Data, 6(1), 60. https://doi.org/10.1186/s40537-019-0197-0
Sikder, M. S., Islam, M. S., Islam, M., & Reza, M. S. (2025). Improving mango ripeness grading accuracy: A comprehensive analysis of deep learning, traditional machine learning, and transfer learning techniques. Machine Learning with Applications, 19, 100619. https://doi.org/10.1016/j.mlwa.2025.100619
Sladojevic, S., Arsenovic, M., Anderla, A., Culibrk, D., & Stefanovic, D. (2016). Deep neural networks based recognition of plant diseases by leaf image classification. Computational Intelligence and Neuroscience, 2016, 3289801. https://doi.org/10.1155/2016/3289801
Sokolova, M., & Lapalme, G. (2009). A systematic analysis of performance measures for classification tasks. Information Processing & Management, 45(4), 427-437. https://doi.org/10.1016/j.ipm.2009.03.002
Tapia-Mendez, E., Hernandez-Sandoval, M., Salazar-Colores, S., Cruz-Albarran, I. A., Tovar-Arriaga, S., & Morales-Hernandez, L. A. (2025). A novel deep learning approach for precision agriculture: Quality detection in fruits and vegetables using object detection models. Agronomy, 15(6), 1307. https://doi.org/10.3390/agronomy15061307
Tetila, E. C., Machado, B. B., Menezes, G. K., Belete, N. A. de S., Astolfi, G., & Pistori, H. (2020). Automatic recognition of soybean leaf diseases using UAV images and deep convolutional neural networks. IEEE Geoscience and Remote Sensing Letters, 17(5), 903-907. https://doi.org/10.1109/LGRS.2019.2932385
Yuan, Y., & Chen, X. (2024). Vegetable and fruit freshness detection based on deep features and principal component analysis. Current Research in Food Science, 8, 100656. https://doi.org/10.1016/j.crfs.2023.100656
Zhuang, F., Qi, Z., Duan, K., Xi, D., Zhu, Y., Zhu, H., Xiong, H., & He, Q. (2021). A comprehensive survey on transfer learning. Proceedings of the IEEE, 109(1), 43-76. https://doi.org/10.1109/JPROC.2020.3004555
