skip to main content

Watermelon ripeness detector using near infrared spectroscopy

Department of Computer and Electronics Engineering, College of Engineering and Information Technology, Cavite State University, Philippines

Received: 5 May 2020; Revised: 19 Oct 2020; Accepted: 20 Oct 2020; Available online: 21 Oct 2020; Published: 31 Oct 2020.
Open Access Copyright (c) 2020 Jurnal Teknologi dan Sistem Komputer under http://creativecommons.org/licenses/by-sa/4.0.

Citation Format:
Abstract
This study aimed to design and develop a watermelon ripeness detector using Near-Infrared Spectroscopy (NIRS). The research problem being solved in this study is developing a prototype wherein the watermelon ripeness can be detected without the need to open it. This detector will save customers from buying unripe watermelon and the farmers from harvesting an unripe watermelon. The researchers attempted to use the NIRS technique in determining the ripeness level of watermelon as it is widely used in the agricultural sector with high-speed analysis. The project was composed of Raspberry Pi Zero W as the microprocessor unit connected to input and output devices, such as the NIR spectral sensor and the OLED display. It was programmed by Python 3 IDLE. The detector scanned a total of 200 watermelon samples. These samples were grouped as 60 % for the training dataset, 20 % for testing, and another 20 % for evaluation. The data sets were collected and are subjected to the Support Vector Machine (SVM) algorithm. Overall, experimental results showed that the detector could correctly classify both unripe and ripe watermelons with 92.5 % accuracy.
Keywords: watermelon; near-infrared spectroscopy; support vector machine; ripeness level
Funding: Cavite State University

Article Metrics:

  1. A. Salman-Minkov and T. Trebitsh, "Characterization of watermelon fruitlet development," in EUCARPIA Meeting on Genetics and Breeding of Cucurbitaceae, Avignon, France, May 2008, pp. 609–614
  2. S. Guo et al., "Comparative transcriptome analysis of cultivated and wild watermelon during fruit development," PloS One, vol. 10, no. 6, pp. 1–21, 2015. doi: 10.1371/journal.pone.0130267
  3. H. Q. Tian, Y. B. Ying, H. S. Lu, X. P. Fu, and H. Y. Yu, "Measurement of soluble solids content in watermelon by Vis/NIR diffuse transmittance technique," Journal of Zhejiang University Science B, vol. 8, no. 2, pp. 105–110, 2007. doi: 10.1631/jzus.2007.B0105
  4. M. Cantwell and T. V Suslow, “Cabbage: Recommendations for maintaining postharvest quality,” Department of Vegetable Crops, University California, Davis, CA95616, 2001
  5. D. Markham, "How to tell if a watermelon is ripe," TreeHugger, 2015. [online]
  6. P. Perkins-Veazie, J. C. Beaulieu, and M. Siddiq, "Watermelon, cantaloupe and honeydew," in Tropical and Subtropical Fruits, USA: Wiley, pp. 549–568, 2012. doi: 10.1002/9781118324097.ch28
  7. M. L. Stone, P. R. Armstrong, X. Zhang, G. H. Brusewitz, and D. D. Chen, "Watermelon maturity determination in the field using acoustic impulse impedance techniques," Transactions of American Society Agricultural and Biological Engineers, vol. 39, no. 6, pp. 2325–2330, 1996. doi: 10.13031/2013.27743
  8. Y. X. Zhang, J. L. Han, and W. Yao, "Non-destructive watermelon maturity detection by acoustic response," in 2nd International Conference on Information Engineering and Computer Science, Wuhan, China, Dec. 2010, pp. 1–4. doi: 10.1109/ICIECS.2010.5677746
  9. W. Zeng, X. Huang, S. M. Arisona, and I. V. McLoughlin, "Classifying watermelon ripeness by analysing acoustic signals using mobile devices," Personal and Ubiquitous Computing, vol. 18, no. 7, pp. 1753–1762, 2014. doi: 10.1007/s00779-013-0706-7
  10. M. Soltani, R. Alimardani, and M. Omid, "Prediction of banana quality during ripening stage using capacitance sensing system," Australian Journal of Crop Science, vol. 4, no. 6, pp. 443–447, 2010
  11. R. Abbaszadeh, A. Rajabipour, M. Mahjoob, M. Delshad, and H. Ahmadi, "Evaluation of watermelons texture using their vibration responses," Biosystems Engineering, vol. 115, no. 1, pp. 102–105, 2013. doi: 10.1016/j.biosystemseng.2013.01.001
  12. D. Cui, Z. Gao, W. Zhang, and Y. Ying, "The use of a laser Doppler vibrometer to assess watermelon firmness," Computers and Electronics in Agriculture, vol. 112, pp. 116–120, 2015. doi: 10.1016/j.postharvbio.2006.06.007
  13. S. Terasaki, N. Sakurai, J. Zebrowski, H. Murayama, R. Yamamoto, and D. J. Nevins, "Laser Doppler vibrometer analysis of changes in elastic properties of ripening 'La France' pears after postharvest storage," Postharvest Biology and Technology, vol. 42, no. 2, pp. 198–207, 2006. doi: 10.1016/j.postharvbio.2006.06.007
  14. N. A. Syazwan, M. S. B. S. Rizam, and M. T. Nooritawati, "Categorization of watermelon maturity level based on rind features," Procedia Engineering, vol. 41, pp. 1398–1404, 2012. doi: 10.1016/j.proeng.2012.07.327
  15. M. M. Abdullah, N. E. Abdullah, H. Hashim, A. A. A. Rahim, C. George, and F. A. Igol, "Various grades of red flesh watermelon ripeness based on NIR and VIS reflectance measurement," in IEEE Student Conference on Research and Development, Pulau Pinang, Malaysia, Dec. 2012, pp. 250–255. doi: 10.1109/SCOReD.2012.6518648
  16. X. Tao and Y. Bao, "Measurement of sugar content of watermelon using near-infrared reflectance spectroscopy in comparison with dielectric property," in Fourth International Conference on Photonics Imaging Biology and Medicine, Tianjin, China, Oct. 2006, 60473V. doi: 10.1117/12.710921
  17. M. Bhunase and S. Patil, "Near infrared spectroscopy for fruit quality analysis," International Journal of Engineering and Research Technology, vol. 10, no. 1, pp. 1–15, 1998
  18. B. G. Osborne, "Near-Infrared Spectroscopy in Food Analysis," in Encyclopedia of Analytical Chemistry: Applications, Theory and Instrumentation. Wiley, 2000, pp. 1–14. doi: 10.1002/9780470027318.a1018
  19. E. R. Arboleda, "Discrimination of civet coffee using near infrared spectroscopy and artificial neural network," International Journal of Advanced Computer Research, vol. 8, no. 39, pp. 324–334, 2018. doi: 10.19101/IJACR.2018.839007
  20. K. H. S. Peiris, G. G. Dull, R. G. Leffler, and S. J. Kays, "Near-infrared spectrometric method for non-destructive determination of soluble solids content of peaches," J. Am. Soc. Hortic. Sci., vol. 123, no. 5, pp. 898–905, 1998
  21. H. S. El-Mesery, H. Mao, and A. E. F. Abomohra, "Applications of non-destructive technologies for agricultural and food products quality inspection," Sensors (Switzerland), vol. 19, no. 4, pp. 1–23, 2019. doi: 10.21273/JASHS.123.5.898
  22. K. Flores, M. T. Sánchez, D. C. Pérez-Marín, M. D. López, J. E. Guerrero, and A. Garrido-Varo, "Prediction of total soluble solid content in intact and cut melons and watermelons using near infrared spectroscopy," Journal of Near Infrared Spectroscopy, vol. 16, no. 2, pp. 91–98, 2008. doi: 10.3390/s19040846
  23. I. Fitriyaningsih and Y. Basani, "Flood prediction with ensemble machine learning using BP-NN and SVM," Jurnal Teknologi dan Sistem Komputer, vol. 7, no. 3, pp. 93–97, 2019. doi: 10.14710/jtsiskom.7.3.2019.93-97
  24. N. Nurajijah and D. Riana, "Algoritma naïve Bayes, decision tree, dan SVM untuk klasifikasi persetujuan pembiayaan nasabah koperasi syariah," Jurnal Teknologi dan Sistem Komputer, vol. 7, no. 2, pp. 77–82, 2019. doi: 10.14710/jtsiskom.7.2.2019.77-82
  25. I. G. Andika, "Klasifikasi citra HSV aksara kuno pada prasasti tembaga Kintamani menggunakan GLRCM dan SVM," Jurnal Teknologi dan Sistem Komputer, vol. 8, no. 2, pp. 94–99, 2020. doi: 10.14710/jtsiskom.8.2.2020.94-99
  26. M. R. Mustaffa, L. W. Yee, L. N. Abdullah, and N. A. Nasharuddin, "A colour-based building recognition using support vector machine," Telkomnika (Telecommunication Computing Electronics and Control), vol. 17, no. 1, pp. 473–480, 2019. doi: 10.12928/telkomnika.v17i1.11609
  27. P. Sirisomboon, "NIR Spectroscopy for quality evaluation of fruits and vegetables," Materials Today: Procedings, vol. 5, no. 10, pp. 22481–22486, 2018. doi: 10.1016/j.matpr.2018.06.619

Last update:

  1. Watermelon Ripeness Detector Using Signal Processing

    Shivaraj Karjagi, Sneha Neelappagol, Sushmitha P S, Vishruth S, Veena Karjigi. 2022 IEEE Pune Section International Conference (PuneCon), 2022. doi: 10.1109/PuneCon55413.2022.10014898
  2. Watermelons Talk: Predicting Ripeness through Tapping

    Yun-Wei Lin, Yi-Bing Lin, Wen-Liang Chen, Chia-Hui Chang, Han-Kuan Li. IEEE Internet of Things Magazine, 7 (4), 2024. doi: 10.1109/IOTM.001.2300251

Last update: 2024-11-24 22:55:07

No citation recorded.