Skip to main content

Terahertz Imaging and Machine Learning in the Classification of Coffee Beans

  • Conference paper
  • First Online:
Proceedings of the 6th Brazilian Technology Symposium (BTSym’20) (BTSym 2020)

Abstract

The geographical origin of coffee beans represents an effect on the attributes and quality of the product due to the different soil and weather conditions for a specific location. Therefore, the development of methods for rapid classification and authentication of coffee beans based on their geographical origin is essential. This research was done with the purpose of determining the capacity of coffee (Coffea arabica) varieties classification with the use of Terahertz (THz) imaging and machine learning. THz images of coffee beans samples from 3 different geographical origins were acquired with a time-domain spectrometer and then used to measure the classification performance of methods such as neural networks, random forests, and support vector machines. The results obtained reached an accuracy up to 91.2%, which showed that the use of THz imaging and machine learning is an effective method for the non-destructive analysis of coffee variables and classification based on geographical origin.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Ministerio de Agricultura y Riego (2019) Plan Nacional de Acción del Café Peruano 2019–2030

    Google Scholar 

  2. Link JV, Lemes ALG, Marquetti I, Scholz M, Bona E (2014) Geographical and genotypic classification of arabica coffee using fourier transform infrared spectroscopy and radial-basis function networks. Chemometr Intell Lab Syst 135:150–156

    Article  Google Scholar 

  3. Barbin DF, Felicio A, Sun D-W, Nixdorf SL, Hirooka EY (2014) Application of infrared spectral techniques on quality and compositional attributes of coffee: an overview. Food Res Int 61:23–32

    Article  Google Scholar 

  4. Bertone E, Venturello A, Giraudo A, Pellegrino G, Geobaldo F (2016) Simultaneous determination by NIR spectroscopy of the roasting degree and arabica/robusta ratio in roasted and ground coffee. Food Control 59:683–689

    Article  Google Scholar 

  5. Liu W, Liu C, Hu X, Yang J, Zheng L (2016) Application of terahertz spectroscopy imaging for discrimination of transgenic rice seeds with chemometrics. Food Chem 210:415–421

    Article  Google Scholar 

  6. Bona E, Marquetti I, Link JV, Makimori GYF, Arca V, Lemes ALG, Ferreira JMG, Scholz M, Valderrama P, Poppi RJ (2017) Support vector machines in tandem with infrared spectroscopy for geographical classification of green arabica coffee. LWT - Food Sci Technol 76:330–336

    Article  Google Scholar 

  7. Monteiro P, Santos J, Alvarenga V, Pasini C, Koot A, Boerrigter-Eenling R, van Ruth S, Georgouli K, Koidis A, Granato D (2018) Comparison between proton transfer reaction mass spectrometry and near infrared spectroscopy for the authentication of Brazilian coffee: a preliminary chemometric study. Food Control 91:276–283

    Article  Google Scholar 

  8. Craig A, Franca A, Oliveira L, Irudayaraj J, Ileleji K (2015) Fourier transform infrared spectroscopy and near infrared spectroscopy for the quantification of defects in roasted coffees. Talanta 134:379–386

    Article  Google Scholar 

  9. van Drongelen W (2018) Continuous, discrete, and fast fourier transform. In: Signal processing for neuroscientists, Academic Press, pp 103–118

    Google Scholar 

  10. Luna A, Silva A, Silva C, Lima I, Gois J (2019) Chemometric methods for classification of clonal varieties of green coffee using Raman spectroscopy and direct sample analysis. J Food Compos Anal 76:44–50

    Article  Google Scholar 

Download references

Acknowledgments

P. Uceda and H. Yoshida acknowledge the financial support from Project Concytec – The World Bank “Mejoramiento y Ampliación de los Servicios del Sistema Nacional de Ciencia Tecnología e Innovación Tecnológica” 8682-PE through Fondecyt [contract no 006–2018].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Patricia Uceda .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Uceda, P., Yoshida, H., Castillo, P. (2021). Terahertz Imaging and Machine Learning in the Classification of Coffee Beans. In: Iano, Y., Saotome, O., Kemper, G., Mendes de Seixas, A.C., Gomes de Oliveira, G. (eds) Proceedings of the 6th Brazilian Technology Symposium (BTSym’20). BTSym 2020. Smart Innovation, Systems and Technologies, vol 233. Springer, Cham. https://doi.org/10.1007/978-3-030-75680-2_94

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-75680-2_94

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-75679-6

  • Online ISBN: 978-3-030-75680-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics