The Implementation of Multilevel Colour Thresholding on a Prototype Coffee Machine

  • Nova Resfita Department of Biomedical Engineering, Institut Teknologi Sumatera
  • Rahmadi Kurnia Department of Electrical Engineering, Universitas Andalas
  • Fitrilina Fitrilina Department of Electrical Engineering, Universitas Bengkulu


The development of computer vision has expanded widely as there is a vast number of its applications in various aspects of daily life. One of its implementations is integrating the image processing technique on a prototype coffee machine based on the speech recognition system. This study aims to detect the requested coffee colour spoken by users which are black, middle and light. The sensor used in this research is a digital PC camera and the applied method is Multilevel Colour Thresholding. Of all experiments conducted, the image processing technique can work perfectly as the camera is able to identify the requested colour of the coffee solution. Furthermore, the system might be developed by improving the multilevel colour thresholding technique as well as advancing the hardware design in order to establish more robust coffee machine based on the requested colour.


Download data is not yet available.


[1] T. S. Huang, “Computer Vision: Evolution and Promise,” Report, 1997.
[2] O. Cosido et al., “Hybridization of convergent photogrammetry, computer vision, and artificial intelligence for digital documentation of cultural heritage-A case study: The magdalena palace,” Proc. - 2014 Int. Conf. Cyberworlds, CW 2014, no. August, pp. 369–376, 2014, doi: 10.1109/CW.2014.58.
[3] V. Wiley and T. Lucas, “Computer Vision and Image Processing: A Paper Review,” Int. J. Artif. Intell. Res., vol. 2, no. 1, p. 22, 2018, doi: 10.29099/ijair.v2i1.42.
[4] X. Bao, H. Jia, and C. Lang, “A Novel Hybrid Harris Hawks Optimization for Color Image Multilevel Thresholding Segmentation,” IEEE Access, vol. 7, pp. 76529–76546, 2019, doi: 10.1109/ACCESS.2019.2921545.
[5] J. Kubíček et al., “Modeling and objectification of blood vessel calcification with using of multiregional segmentation,” Vietnam J. Comput. Sci., vol. 5, 2018, doi: 10.1007/s40595-018-0122-z.
[6] M. Praveen Kumar and S. Denis Ashok, “A multi-level colour thresholding based segmentation approach for improved identification of the defective region in leather surfaces,” Eng. J., vol. 24, no. 2, pp. 101–108, 2020, doi: 10.4186/ej.2020.24.2.101.
[7] R. Harrabi and E. Ben Braiek, “Color image segmentation using multi-level thresholding approach and data fusion techniques: Application in the breast cancer cells images,” Eurasip J. Image Video Process., vol. 2012, no. 1, pp. 1–11, 2012, doi: 10.1186/1687-5281-2012-11.
[8] A. C. Yuda, “Object Tracking Pada Gerakan Non-Linier Berdasarkan Informasi Warna,” Universitas Andalas, Padang.
[9] . F., R. Kurnia, and S. Aulia, “Pengenalan Ucapan Metoda MFCC-HMM Untuk Perintah Gerak Robot Mobil Penjejak Identifikasi Warna,” J. Nas. Tek. Elektro, vol. 2, no. 1, pp. 31–40, 2013, doi: 10.20449/jnte.v2i1.95.
[10] Y. Wang, J. Ostermann, and Y.-Q. Zhang, Video processing and communications. Prentice Hall, 2002.
[11] A. McAndrew, A computational introduction to digital image processing, second edition. 2015.
[12] Y.-J. Zhang, “An Overview of Image and Video Segmentation in the Last 40 Years,” Adv. Image Video Segmentation, pp. 1–16, 2011, doi: 10.4018/978-1-59140-753-9.ch001.
[13] D. Khattab, H. M. Ebied, A. S. Hussein, and M. F. Tolba, “Color image segmentation based on different color space models using automatic GrabCut,” Sci. World J., vol. 2014, 2014, doi: 10.1155/2014/126025.
[14] S. Pare, A. Bhandari, A. Kumar, and G. K. Singh, “An optimal Color Image Multilevel Thresholding Technique using Grey-Level Co-occurrence Matrix,” Expert Syst. Appl., vol. 87, 2017, doi: 10.1016/j.eswa.2017.06.021.
[15] S. Sarkar, S. Das, and S. S. Chaudhuri, “A multilevel color image thresholding scheme based on minimum cross entropy and differential evolution,” Pattern Recognit. Lett., vol. 54, pp. 27–35, 2015, doi: 10.1016/j.patrec.2014.11.009.
[16] C. Y. Tsai and T. Y. Liu, “Real-time automatic multilevel color video thresholding using a novel class-variance criterion,” Mach. Vis. Appl., vol. 26, no. 2–3, pp. 233–249, 2015, doi: 10.1007/s00138-014-0655-9.
[17] W. Syahrir, A. Suryanti, and C. Connsynn, “Color grading in Tomato Maturity Estimator using image processing technique,” 2009 2nd IEEE Int. Conf. Comput. Sci. Inf. Technol., pp. 276–280, 2009.
[18] N. Ibraheem, R. Z. Khan, and M. Hasan, “Comparative Study of Skin Color based Segmentation Techniques,” Int. J. Appl. Inf. Syst., vol. 5, pp. 24–39, 2013, doi: 10.5120/ijais13-450985.
[19] N. Vandenbroucke, L. Macaire, and J.-G. Postaire, “Color image segmentation by pixel classification in an adapted hybrid color space. Application to soccer image analysis,” Comput. Vis. Image Underst., vol. 90, no. 2, pp. 190–216, 2003, doi:
[20] V. Haghighatdoost and R. Safabakhsh, “Automatic Multilevel Color Image Thresholding by the Growing Time Adaptive Self Organizing Map,” pp. 1768–1772, 2006, doi: 10.1109/ictta.2006.1684653.
How to Cite
RESFITA, Nova; KURNIA, Rahmadi; FITRILINA, Fitrilina. The Implementation of Multilevel Colour Thresholding on a Prototype Coffee Machine. Journal of Science and Applicative Technology, [S.l.], v. 4, n. 2, p. 121-125, dec. 2020. ISSN 2581-0545. Available at: <>. Date accessed: 20 june 2024. doi: