Skip to main content

Emerging rapid and non-destructive techniques for quality and safety evaluation of cacao: recent advances, challenges, and future trends

Abstract

Cacao is one of the world's most highly sought-after agricultural commodities for its great nutritional and economic importance. The cacao’s quality is an essential parameter to consider during postharvest processes to satisfy consumers' preferences and commercial acceptability. However, the quality and safety evaluation of cacao is mostly monitored using human inspection, which is arduous because it requires more effort and offers inaccurate results, as human judgment is subjective. Furthermore, the conventional method for quality evaluation, such as cut-test and chromatographic analysis, is destructive in nature, resulting in the disposal of samples after the measurement is carried out. To overcome the drawbacks and challenges offered by conventional methods, the rapid and non-destructive technique was introduced. This study focuses on the application of emerging rapid and non-destructive approaches that have been used to monitor the quality and safety of cacao, notably during the harvesting, grading/sorting, fermentation, and postharvest processes. It includes imaging-based computer vision, spectroscopic-based techniques, hyperspectral imaging techniques, and other non-destructive techniques. Non-destructive techniques can evaluate the different internal and external quality parameters of cacao, such as maturity index, fermentation index, moisture content, total fat content, pH, total phenolic compounds, and others. This review also highlighted the advantages, drawbacks, and future perspectives of rapid and non-invasive techniques for evaluating the quality of cacao beans. This current work has proven the effectiveness of rapid and non-invasive in replacing the conventional methods for evaluating the quality of cacao.

Graphical Abstract

Introduction

Cacao (Theobroma cacao L.) is a tree that bears cacao pods from which the cocoa beans (Fig. 1) are derived (Patel & Watson 2018). Cacao is popular worldwide as it is the raw material for making cocoa powder, chocolate, and confectionery products. Cacao and its products are valued for their aroma, color, and high health-beneficial properties and are considered highly valued commodities worldwide. It also offers significant economic importance in many developing countries in Asia, Africa, and Latin America (Jentzsch et al. 2016). Based on the projection of the International Cocoa Organization (2020), approximately 4.70 million tons of cacao beans were produced in 2019–2020 worldwide. The Philippines ranked fourth in the total production of cacao beans in the Asia Pacific region with 8,489 tons, while Indonesia is cited as the major producer of cacao beans worldwide with 783,978 tons (Statista 2020).

Fig. 1
figure 1

The Cacao pods (A), Fresh Cacao beans in the pod (B), and Dried Cacao Beans (C). Source: Kim et al. (2011)

The continuous growth of the cocoa industry has gained significant interest for food processors to evaluate the quality of cacao during production, harvest, and post-harvest stages. These operations include classification based on the fermentation index, maturity index, morphology, and according to the chemical composition of the bean. The desire for quality evaluation of cacao pods and cocoa beans is governed by the demand to produce good quality of cacao products for the consumers and prevent losses for the cacao growers. The methodologies used to categorize beans in the majority of cacao industries worldwide involve 26-h-long chemical, physical, and sensory evaluations (Aculey et al. 2010). Additionally, 100 grains per ton samples are frequently used in this categorization to assess the load's quality. The analysis requires tasters, professional staff, specific tools, and sample destruction (Lecumberri et al. 2007; Saltini et al. 2013).

Among these, the cut-test is the most popular technique to assess safety, evaluate the fermentation index, and monitor the quality of cacao beans. Cut-tests are carried out at various stages of fermentation. The advantage of the cut-test is that it does not need specialized tools or high-level expertise. The cut-test is important for checking the quality of commercial beans. It also enables quick monitoring of the fermentation's progress since the color of the cocoa bean changes throughout fermentation from gray to violet to brown. However, the cut-test approach requires manual counting and is not a precise engineering method (Nguyen et al. 2022). Another advanced destructive technique is chromatographic analysis, a new and more sensitive method that can detect metabolites and contaminants in trace quantities (Quelal-Vásconez et al. 2020). Although the technique is reliable, however; it is destructive in nature, and sample preparation is lengthy. A sensory test is another conventional method used to determine the quality of cacao, particularly the flavor, texture, aroma, color, and appearance. Aside from being destructive, the approach is subjective, as different panels have different perspectives. For instance, Ilangantileke et al. (1991) demonstrated the sensory and cut-test procedure, and the results revealed inconsistencies and deficiencies in evaluating the cacao bean quality. Therefore, innovative non-invasive techniques are exploited to rapidly, objectively, and accurately monitor the quality of cacao beans without destructing the system.

In recent years, rapid and non-invasive techniques have been used to monitor and evaluate the quality of potatoes and sweet potatoes (Sanchez et al. 2019), evaluate the internal and external quality of watermelon (Mohd Ali et al. 2017a), evaluate the quality of mango (Ong et al. 2020), determine the quality of pineapples (Mohd Ali et al. 2020a), fruit, vegetables, and mushrooms (Wieme et al. 2022), spices (Modupalli et al. 2021), peanut (Rabanera et al. 2021), pork and beef (Sanchez et al. 2022a), detection of food quality and safety (Chen et al. 2013; Gu et al. 2021; Su et al. 2017). These non-invasive technologies have also been established to monitor and assess the different quality parameters of cacao during production to postharvest. Say, for example, the non-destructive capabilities of infrared spectroscopy and Fourier transform near-infrared (FT-NIR) spectroscopy have been employed to evaluate the internal quality of cacao beans (Barbin et al. 2018; Sunoj et al. 2016), to classify cacao bean using NIR-hyperspectral imaging (Cruz-Tirado et al. 2020), evaluate cacao pods maturity with the used laser-induced backscattering imaging (LLBI) (Lockman et al. 2019), predict the fermentation index (FI) of cacao bean using hyperspectral imaging (HSI) and artificial neural network (ANN) (Caporso et al. 2018; León-Roque et al. 2016).

Despite a substantial body of research on the evaluation of the quality and safety of cacao, a comprehensive overview of the quality and safety evaluation of cacao employing the emerging rapid and non-invasive methodologies has not yet been undertaken. Hence, this review paper aims to offer a comprehensive explanation of the numerous rapid and non-destructive techniques and their features, uses, limitations, and future developments in the quality and safety monitoring of cacao with a primary focus on the production and post-harvest processes such as the quality evaluation based on maturity index, fermentation index, and other postharvest activities such as grading/sorting, drying, and storage.

Quality evaluation of cacao

Quality and safety evaluation plays a crucial part in the food industry as customers get increasingly pickier and wiser when selecting their food products. Given that they are healthier, safer, and more dependable, most customers prefer high-quality, reliable foods (Sanchez et al. 2022a, 2022b). According to Sanchez et al. (2019), the quality evaluation of agricultural commodities is based on their various properties, such as internal and external properties. For instance, consumers' acceptability and commercial value of agricultural commodities greatly rely on their quality, particularly in cacao. For cacao, its' price is mainly controlled by its quality, which is governed by various factors, including appropriate farming practices, harvest point, and fermentation level (Sánchez 2020). It is necessary to identify and evaluate the quality of fruits and other agricultural commodities, particularly during postharvest handling, because the consumers' demand for high-quality fruit is growing (Ong et al. 2020).

The quality attributes of cacao beans are greatly influenced by the type of weather conditions, soil, ripeness level, and postharvest handling processes such as fermentation, drying, and storage (Bastide 2016; Cardona et al. 2016). Cacao beans fermentation is essential because cocoa flavor and taste are formed during this period. To produce more uniform and high-quality cocoa beans and to achieve greater homogeneity in the production of aroma and flavor precursors during cocoa processing—qualities that the chocolate industry highly values—it is imperative to understand the effects of these variables on the characteristics of cacao beans during drying and fermentation (Rojas et al. 2020). Characterization, classification, identification, authentication, and discrimination of cocoa beans from various types, as well as the location of origin, have all been researched for cacao bean quality evaluation (Teye et al. 2020). Among the most critical parameters to consider in evaluating a good quality cacao bean during the postharvest stage includes the maturity index, fermentation index, sugar level, and defects.

Non-destructive techniques

Generally, the cocoa industry is highly dynamic and has a complex supply chain. It is anticipated to gain from the growing interest in non-destructive techniques and chemical-free analytical procedures as a sophisticated, rapid, minimal sample preparation and straightforward approach. The non-destructive technique involves the measurement of its chemical composition, structural and physical characteristics, and other parameters related to its quality without destruction of its functionality as well as system characteristics (Mohd Ali et al. 2017a). As reported by El-Mesery et al. (2019a, 2019b), non-destructive techniques as a method of evaluation and measurement have gained high regard in the different fields of science, particularly in the food industry. For the quality evaluation of cacao, the most employed techniques were imaging based on computer vision, hyperspectral imaging, and spectroscopy. These techniques have their own unique feature in data acquisition and in monitoring the quality of cacao during the processes. Hyperspectral imaging is suitable for analyzing a wide spectrum of light, whereas spectroscopic-based techniques are more appropriate in single-spectrum acquisition. Imaging based on computer vision employs an algorithm and artificial vision to enable the collection, analysis, and comprehension of pictures to provide numerical and symbolic information for simple interpretation. With their unique features, they also have their own limitations which can also be filled by another approach. For instance, several properties, such as size, texture, shape, color, and defects, may be evaluated and assessed automatically utilizing a computer vision system. However, some defects are difficult to notice because their texture and color are indistinguishable from the skin (Bhargava & Bansal 2021). This limitation in imaging based on computer vision can be addressed using another imaging method such as the hyperspectral imaging technique (Munera et al. 2021).

These techniques have shown great potential and would become necessary in the cocoa industry because of their numerous advantages. Therefore, using non-destructive techniques to monitor the quality of cocoa beans during production to post-harvest is a goal of the researchers and the cocoa industry. The evaluation of cacao bean quality during post-harvest is a critical factor because, during this stage, the cocoa flavor and aroma are formed, which is also a great indicator of its quality. Various bacteria and enzymes work on the phenolic compounds, proteins, lipids, and carbohydrates in cocoa beans during fermentation, influencing the quality of chocolate and products containing cocoa (Caporaso et al. 2018). The use of rapid, non-destructive methods to evaluate cocoa bean quality is expanding right now. The quality of cocoa pods and beans was assessed using non-destructive technologies such as imaging, spectroscopic, computer vision, and other non-destructive methods. Applications of non-destructive technology for cacao quality assessment are shown in Table 1.

Table 1 Recent applications of rapid and non-destructive methods for in the quality and safety evaluation of Cacao

Hyperspectral imaging techniques

Hyperspectral imaging (HSI), a new non-destructive instrument used for quality evaluation and control in the area of food science and technology, has the ability to define a sample's fundamental chemical components (Calvini et al. 2016; Li et al. 2017). The basic idea behind this technology is to analyze a wide spectrum of light rather than only assigning primary colors like red, green, and blue to each pixel. The light striking each pixel is divided into various spectral bands to provide additional information about what is captured (Schneider & Feussner 2017). As illustrated in Fig. 2, HSI exhibited promising performance, particularly as a non-destructive technique in the cocoa industry. Individual grain or bean samples may be analyzed swiftly, non-destructively, and without contact, and samples can be scanned at high throughput while showing geographical dispersion (Caporaso et al. 2018). HSI can operate at different electromagnetic measurements, such as visible (VIS), near-infrared (NIR), middle infrared (MIR), and Raman spectroscopy (Amigo 2019). Among these, near-infrared hyperspectral imaging (NIR-HSI) is the most exploited non-destructive technique for the quality and safety evaluation of cacao. It utilizes the spectral range of 780–2500 nm and has grown in popularity for quickly gathering data to enable the measurement, identification, or distinction of several bean attributes.

Fig. 2
figure 2

A schematic illustration of the Hyperspectral Imaging system. Source: (Li. 2017)

In the cocoa industry, classification refers to the process of categorizing samples depending on several factors such as variety, origin, fermentation level, etc. It is crucial to recognize hybrid samples since they require different treatments during the manufacturing process and have distinct commercial value. For instance, Cruz-Tirado et al. (2020) used near-infrared hyperspectral imaging (NIR-HSI) as a rapid and non-invasive procedure to identify and classify cacao bean hybrids. Five cacao beans were discriminated against using the Partial Least Squares discriminant analysis (PLS-DA) and Support Vector Machines (SVM). A reliable result for the classification of beans for two-class models with 70–100% classification rate and 100% classification rate for five-class models. The study has exhibited reliable success in terms of classifying hybrid cacao beans. Nevertheless, the feasibility of this approach, particularly in a more significant number of samples, still needs to be investigated. Sánchez et al. (2020) used hyperspectral image capture and processing techniques to describe 90 cocoa beans depending on fermentation level. Results revealed that the approach could differentiate the fermentation level of cocoa beans (slightly fermented, correctly fermented, and highly fermented). Similarly, Bayona et al. (2018) reported developing closed-range Hyperspectral images to distinguish two standard cocoa bean kinds at different phases of fermentation. The differences in anthocyanin concentrations between the two cultivars were more noticeable as fermentation progressed. As reported by Afoakwa et al. (2012), the anthocyanin content of cacao beans decreases as fermentation proceeds. Changes in the bean's biochemical processes greatly influenced its hyperspectral signatures, which offer better discrimination. As a result, success in terms of classifying different varieties of cacao beans during the different levels of fermentation stages using close-range hyperspectral images was observed.

Other relevant quality parameters of cacao beans are polyphenols, antioxidant activity, and the fermentation index. Polyphenols are antioxidant compound present in cocoa that offers numerous health benefits and are responsible for the bitter taste of raw coca beans (Li et al. 2012; Oracz et al. 2015). Polyphenols have gained popularity due to their physiological effects, which include antioxidant activity and the ability to prevent lipid oxidation. The fermentation index is an essential parameter that influences the formation of cocoa flavors. Hence, it is vital to investigate these parameters during the quality inspection of cacao beans. As a response, Caporaso et al. (2018) have investigated the quality of a single cacao bean with the use of HSI in the spectral range of 1000–2500 nm. Partial Least Squares regression (PLSR) was applied to build quantitative models extracted from HSI with a spectral range of 1000–2500 nm at 240 wavelength bands. Good prediction results were obtained on shelled cacao beans on a single-bean basis, where the best HSI calibrations allowed accurate visualization of the three relevant quality parameters of the cocoa bean. Similar to this, Caporaso et al. (2021) employed hyperspectral chemical imaging to determine the total amount of fat in each dried whole cocoa bean. In their study, 170 randomly selected cocoa beans were analyzed with the use of HSI. From the results of the PLSR model, lower prediction error (2.4% for shelled and 4% in-shell) and \({\mathrm{R}}^{2}\) of 0.84 and 0.52 for shelled and in-shell were obtained, respectively. Figure 3 shows the visualization of fat across the beans, as shelled unground beans using single pixels. This analysis is an excellent example of how HSI can be employed to predict the fat content of cocoa beans in a non-contact manner, even from images of unshelled beans. This analysis has relevant practical advantages for the food industry in terms of quality control and acquiring a more consistent raw material.

Fig. 3
figure 3

Calibration models were used to visualize total fat content in unroasted whole cocoa beans (unshelled) at a single pixel level, predicted on (a) "as is" or (b) dry matter basis. The beans are presented in both orientations, and the numbers represent the expected average value for each bean (batch from Ivory Coast). Source: Caporaso et al. (2021)

Another imaging-based method that has gained wide attention in recent years is the laser-light backscattering imaging (LLBI) technology, simply known as backscattering imaging. LLBI is a new spectral imaging tool that is notable for its ability to monitor samples without touching them and for its minimal instrumentation cost while maintaining excellent accuracy (Mollazade et al. 2018). The idea behind backscattering imaging is to capture the light that is dispersed as a result of the interaction between the laser light and the food material being examined (Sanchez et al. 2020). Lockman et al. (2019) used this method to assess the firmness and color of cocoa pods at various stages of maturity. An unripe cocoa pod's skin is often green or reddish purple, and when it is mature, it turns yellowish (Montamayor et al. 2013). As a result, it may be manually categorized using color identification. However, due to erratic weather conditions, the cacao pods do not change color when it is ripe. Hence, the backscattering imaging under 658–705 nm wavelength was explored, and the quality parameters, such as firmness and color values, were examined. The study's findings demonstrated a strong correlation between the reference parameters and backscattering parameters, with an R2 of more than 0.90 and classification values of more than 90% using PLSR analysis. Thus, the backscattering imaging method can be a reliable approach for determining cacao firmness and maturity levels (unripe, ripe, and over-ripe).

Spectroscopic-based techniques

Spectroscopy-based techniques are methods that utilize radiated energy to evaluate the characteristics and properties of materials or samples (Dahman 2017). These techniques are known for their comprehensive applications in different fields and disciplines, predominantly in non-destructive food and safety assessment (Mohd Ali et al. 2020). The use of well-established non-destructive analytical methods based on spectroscopy enables the precise, fast, and direct evaluation of a variety of properties without the need for sample pre-treatment (Sun 2009). Under this technique is the Fourier transform near-infrared (FT-NIR) spectroscopy, a technique for obtaining the infrared spectrum of absorption, emission, and photoconductivity of solids, liquids, and gases (Sindhu et al. 2015). Since it involves no sample preparation and may be conducted in less than a minute, FT-NIR spectroscopy can be a valuable method for estimating commodity quality rapidly. In previous years, FT-NIR spectroscopy has demonstrated reliable success in terms of evaluating and monitoring the different quality parameters of beans and grains such as green coffee beans (Taradolsirithitikul et al. 2016), roasted coffee beans (Craig et al. 2015), soybean (Amanah et al. 2020, 2022; Ferreira et al. 2013), mung bean (Qian et al. 2022), rice (Peijin et al. 2021), wheat (Amir et al. 2013), and other agricultural products (Tao et al. 2018). A feasibility study on the application of FT-NIR spectroscopy to quantify and classify cocoa beans was carried out by Teye et al. (2014a). Good results were obtained, and it concluded that FT-NIR spectroscopy, together with the appropriate multivariate algorithm, can be applied as a reliable tool to quantify and classify cocoa beans based on different classifications.

Sunoj et al. (2016) investigated the use of non-destructive FT-NIR spectroscopy to assess key quality indicators such as fermentation index, pH, and total polyphenol content in whole cocoa beans. This study established calibration models such as R2 and root mean square error for cross-validation (RMSECV) based on the FT-NIR spectral characteristics. Other chemometric parameters namely: vector normalization, multiplicative scatter correction (MSC), and first derivative (FD) were also developed to assess the capability of the technique used. Basic descriptive statistics, analysis of variance (ANOVA), and least significant difference (LSD) for the post-hoc analysis were likewise employed. Results revealed that the FT-NIR spectroscopy has a strong potential in predicting the quality attributes of cocoa beans with optimum fermentation index of (R2 = 0.88, RMSECV = 0.06, Residual Prediction Deviation (RD) = 2.74) and total polyphenols (R2 = 0.84, RMSECV = 0.93, RD = 2.53) compared to the pH (R2 = 0.76, RMSECV = 0.26, RD = 2.05) of cacao beans. Increasing the amount of samples also improves the models and projections. When compared to the standard cut-test and chemometric approaches (with approximately 28 h), this method is proven to be faster since it can predict the mentioned quality criteria in an instant (less than 1 min). The use of FT-NIR calibration methods could be a reliable tool in predicting quality attributes in a single scan over cocoa beans, with findings available in a minute or less.

The total fat content of cacao bean is one of the major quality attributes that a chocolate manufacturer and producer consider the most as it is a major essential component of chocolate formation. Thus, it is also vital to evaluate the total fat content of a single cacao bean during the process. A rapid and non-invasive approach is a necessary method, especially nowadays, the demand for high-quality cocoa products is rapidly growing. Fortunately, Teye and Huang (2015) reported the establishment of FT-NIR spectroscopy based on a unique systematic study on effective spectral variables selection multivariate regression to measure the amount of fat in cacao beans. The total fat content of cocoa beans could be rapidly and non-destructively predicted using FT-NIR spectroscopy. Likewise, Teye et al. (2016) used a similar approach for the non-destructive identification of cocoa beans with different cultivars. In their study, five different cultivars were scanned in the near-infrared range of 10,000–4000. To create discrimination models based on principal component analysis (PCA), support vector machine (SVM) algorithms and linear discriminant analysis (LDA) were both executed. Cross-validation was used to optimize the models for stability. The SVM model achieved a 100% identification rate in both the training and prediction sets.

Another example of a spectroscopic-based technique better suited for quantitative analysis of complicated mixtures is Near-infrared spectroscopy (NIRS), a spectroscopy that operates in the wavelength range of 800–2500 nm (Su et al. 2015). This approach concerns the absorption, emission, reflection, and diffusion of light to the samples (Ozaki et al. 2017). Due to its numerous benefits over alternative analytical techniques, this approach has been used widely in agriculture, food engineering, and other fields. Barbin et al. (2018) developed the use of this technology as an analytical tool to categorize various cocoa bean kinds and predict the chemical and physical characteristics of cocoa for both whole and ground samples. The differences in the chemical composition in cocoa varieties were compared with ANOVA and PLS Regression models for predicting chemical components and color features. The use of near-infrared spectroscopy could aid in creating a reasonably easy and automated approach for sorting cocoa beans into distinct types and predicting the chemical composition of fermented and dried cocoa beans and the color characteristics of ground cocoa samples. Similar methods were used by Hashimoto et al. (2018) to assess the quality and safety of coca beans, including the estimation of their moisture content, acidity, pH, shell content, fat content, protein content, total phenolic content, caffeine content, and theobromine concentration. All of these parameters were correctly predicted with relative errors of less than 10.2% and a sufficient coefficient of determination ranging from 0.67 to 0.89.

A considerable rise was noticed depending on the fermentation duration, making the ammonia nitrogen (NH3) concentration of cocoa beans a suitable fermentation marker. Hue et al. (2014) determined the fermentation stage of cocoa samples easily by studying them using NIR spectroscopy. With a standard error of prediction of 20 ppm, the calibration model created was capable of precisely determining the content of cocoa beans using NIR spectroscopy. The authors have finally come to the conclusion that NIR spectroscopy can be employed as a quick, precise, and non-intrusive method for tracking the fermentation progress of cocoa beans. In 2020, Hayati et al. (2020) also used NIR spectroscopy to rapidly and simultaneously determine several internal quality characteristics of cocoa beans, such as the fat and moisture content. The greatest correlation of determination (\({R}^{2}\)) and residual predictive deviation (RPD) index for predicting fat content were 0.86 and 3.16, respectively, and 0.92 and 3.43, respectively, for predicting moisture content. In order to swiftly and concurrently anticipate the internal quality attributes of intact cocoa beans, NIRS may be used in conjunction with an appropriate spectrum correction technique.

Imaging-based techniques

Imaging techniques based on computer vision use an algorithm and artificial vision that will allow the acquisition, analysis, and understanding of images to produce numerical and symbolic information for easy interpretation (Szeliski 2011). This technology, rather than relying on human sight, employs a camera and computer to detect, track, and measure targets for subsequent image processing (Tan et al. 2019). Because of the multiple benefits acquired, such as effectiveness and quality, computer vision techniques have been utilized to automate activities in the agriculture industry. This new technology has been utilized to examine the quality of fruits and vegetables in a quick and non-destructive manner (Bhargava & Bansal 2021; Zhang et al. 2014; Mahendran et al. 2012; Chopde et al. 2017; Tripathi et al. 2020; Raponi et al. 2017), grains (Patrício, D. I., & Rieder, R. 2018; Jayas et al. 2012; Lee et al. 2011), beans (Mite-Baidal et al. 2019; García et al. 2019), and various food products (Sun  2009; Mogol et al. 2014, Brosnan et al. 2004; Tretola et al. 2017; Ma et al. 2016; Aguilera et al. 2007).

For the quality inspection of cacao, León-Roque et al. (2016) predicted the fermentation index of cacao beans using Artificial Neural Network (ANNs) based on color measurements. Two raw white fine cocoa beans of criollo types from Piura (M1) and Cajamarca-Per (M2), as well as one native criollo variety (M3) from Tumbes-Peru, were used in their investigation. The authors were able to discriminate the fermentation index of three cocoa bean kinds that were comparable to the experimental results obtained in a validation test sample that was randomly selected. The suggested ANNs model could be used as a non-destructive, low-cost, in-situ approach to efficiently forecast FI in fermented cocoa beans using mobile device apps. Yro et al. (2018) reported the potential of Machine Vision and Multiclass Support Vector Machine (SVM) Classifier to identify the cacao beans based on fermentation degree. In their study, the image was captured, and the beans were separately recognized from the background. Results showed that a machine vision system combined with SVM could distinguish cacao beans depending on their level of fermentation with a 100% discrimination rate for both training and prediction sets. Parra et al. (2018) employed computer vision techniques to estimate the cacao beans fermentation index, and the results exhibited 75% classification accuracy based on information of color in RGB format.

Likewise, Lawi and Adhitya (2018) investigated the quality of cocoa beans in terms of morphology through digital images with the use of Multiclass Ensemble Least-Squares Support Vector Machine. Under controlled lighting conditions, cocoa beans were placed and scattered on bright white paper. The images acquired from the compact digital camera were then processed to extract the morphological parameters such as Area, Perimeter, Minor Axis Length, Major Axis Length, Aspect Ratio, Roundness, Circularity, Ferret Diameter. Based on their morphological features, the beans were classified into four classes’ namely Normal beans (first class), Broken Beans (second class), Fractured Beans (third class), and Skin Damaged Beans (fourth class). Multiclass Ensemble Least-Squares Support Vector Machine (MELS-SVM) was used as a classification model. The result based on mentioned morphological parameters was found accurate, with a 99.705% accuracy level for all classes. Additionally, Jimenez et al. (2017) also established computer vision for classifying different varieties of cocoa beans and determining the percentage of their mixtures. By excluding samples with white beans and low fermentation levels, the result exhibited a promising result in terms of discrimination with a precision higher than 98%.

Other non-destructive techniques

Another noninvasive tool is the electronic nose system, a non-invasive technology that can identify basic or complex odors, is made up of a number of partial specificity electronic chemical sensors and a pattern recognition algorithm. The electronic nose is used to differentiate complicated volatiles by reproducing the structure and principles of the olfactory sense (Arakawa et al. 2022). This tool can provide objective results and has the potential to detect smells and odors that are not detectable by the human nose. The importance of the food industry has become more crucial with the development of society. With the introduction of this tool, a new alternative for non-destructive quality testing of agricultural and food commodities has emerged (Mohd Ali et al. 2020). It has been used as a tool for quality and safety inspection of broccoli (Ezhilan et al. 2019), strawberries (Liu et al. 2019), salmon (Jia et al.. 2020), pork (Da et al. 2021), meat and fish (Grassi et al. 2019), tea (Kaushal et al. 2022), foodstuff (Zhong et al. 2019; Sanaeifar et al. 2017; Sberveglieri et al. 2014; Falasconi et al. 2012), grains (Balasubramanian et al. 2007), and beans (Sberveglieri et al. 2012). Olunloyo et al. (2012) developed a prototype electronic nose to monitor and classify cocoa beans for the quality and safety evaluation of cacao. The results demonstrated a valid result as a 95% classification rate was obtained. Additionally, Tan et al. (2019) used six different machine-learning techniques to investigate the degree of fermentation in cocoa beans using an electronic nose system based on machine learning, including bootstrap forest, boosted tree, artificial neural network (ANN), decision tree, k-nearest neighbors, and naive Bayes. In their experiment, 75 kg of fresh cocoa beans were evenly dispersed in styrofoam coolers that were 60 cm by 30 cm by 30 cm and were kept in a controlled atmosphere. The misclassification rate obtained for the Bootstrap Forest algorithm, ANN, and boosted tree was 9.4%, 12.8%, and 13.6%, respectively. Though other methods failed to classify cocoa beans, the study still showed a promising result with a lower misclassification rate.

Furthermore, de Oliveira et al. (2018) investigated the extracted Caffeine (CF) and Theobromine (TB) from cacao with the use of protic ionic liquids (PILs) based on ultrasonic-assisted extraction (PIL-UAE). The ANOVA method was used to identify significant variables. ANOVA is made up of classified and cross-classified statistical results and was tested using a specified classification difference, as performed by Fisher's statistical test (F-test). The result showed that protic ionic liquid could be used instead of non-conventional solvents to extract alkaloids like theobromine and caffeine. This approach was also established by Hidayat et al. (2020) for the rapid determination of quality grades of superior java cocoa beans. Three multivariate statistical tools, namely SVM, LDA, and ANN, were used. The best result was obtained with the electronic nose ANN procedure, with 99% and 95% overall accuracy for the training and external validation datasets.

Teye et al. (2014a) also examined the possible use of sensor fusion for the speedy and precise categorization of five different types of fermented and dried cocoa beans using the electronic tongue (ET) and near-infrared spectroscopy (NIRS). Data acquisition was performed from each sensor, and the data fusion was done by normalization using Principal Component Analysis (PCA). A support vector machine was used in their study to create the classification model. To optimize the model, cross-validation was used to improve the model, and the number of principal components and classification rate. The result shows that data fusion (ET-NIRS) displayed promising results in terms of identification rate (100%) for both training and prediction tests.

In order to estimate the anthocyanin, flavanol, chlorophyll, and nitrogen balance in cacao pods of various cacao genotypes across varied pod development stages (1–5 months after pod emergence), Tee et al. (2018) investigated the use of a multiparametric fluorescence sensor. They also sought to identify the ideal cacao harvest time for high-quality beans under commercial practice using a Multiplex 3® sensor (Force-A, Orsay, France), cacao pods were examined at various phases of growth. A fluorimeter with six light-emitting diode sources in the UV-A (370 nm), blue (470 nm), green (516 nm), and red (635 nm) spectral areas comprised the sensor. Overall field fluorescence indices and post-harvest bean quality tests were correlated using principal component analysis (PCA) and cluster analysis (CA) for beans harvested four months (mature) and five months (ripe) following pod emergence. As cacao pods grew, flavanol levels increased, while chlorophyll and the NB index decreased as pods matured four months following emergence. Post-harvest bean quality tests found that pods collected four months after pod emergence met Malaysian Standard requirements, and bean quality is comparable to beans harvested five months following pod emergence.

In 2020, Tee et al. (2020) established the utilization of a fluorescence sensor for the determination of cacao pigments, flavonoids, and nitrogen content during its development. Five fluorescence-based portable sensor clones, DESA1, KKM25, KKM22, PBC221, and MCBC1, were used to determine the flavonol, anthocyanin, chlorophyll, and nitrogen balance was monitored monthly (1–5 months) later after flower fertilization. As an overall result of their study, it was found that the measurement of pigments and flavonoids present in cacao can give important non-destructive indications for cacao pod maturity across various cacao cultivars was found valid.

Benefits and drawbacks of non-destructive techniques for Cacao Bean

In recent years, rapid and non-invasive techniques emerged as popular tools for evaluating and analyzing food quality. Nondestructive technologies are a promising tool in the food industry as they exhibited success in evaluating and monitoring the different quality parameters of fruits, beans, and grains. For cacao beans, several nondestructive techniques were established for the purpose of quality inspection during production, harvest, and post-harvest processes. Unlike the conventional method, nondestructive techniques are at the forefront in terms of speed of analysis, ease of installation, and continuous monitoring of food quality across many samples (Mohd Ali et al. 2017c). This approach also provides accurate, efficient, and objective results. However, despite the numerous benefits acquired, these techniques are relatively high in terms of cost resulting to limitation of use, particularly in industrial and commercial settings. Furthermore, another notable disadvantage of this approach is that it requires higher technical knowledge or well-trained personnel to perform the hands-on operations, so growers or graders will choose not to use the system and instead use the traditional method (Sanchez et al. 2020). Various nondestructive techniques possessed unique advantages and constraints. In general, the benefits and drawbacks of nondestructive techniques are presented as encapsulated in Table 2.

Table 2 Benefits and drawbacks of different non-destructive techniques

Despite the prevalence of the described nondestructive techniques, hyperspectral imaging is the most often utilized method for evaluating cacao quality. This is because it is easier to set up than other nondestructive approaches. Additionally, HSI offers more accurate results as it correlates the spectral signature of cacao to its parameters at different stages or levels of fermentation, enabling users to predict its quality condition. Even so, this approach also has significant constraints, such as the series of consecutive overlapping bands obtained during the acquisition, which sometimes will lead to misclassification and incorrect findings.

Advancements, latest developments and future perspectives

Non-destructive food quality detection offers a distinct advantage over other instrumental and chemical analysis methods and a wide range of application possibilities and development potential. The following are some drawbacks of classical chemical analysis methods: time-consuming, labor-intensive, and expensive (El-Mesery et al. 2019a, 2019b). These problems are also encountered in the cacao industry and have been gradually addressed by diverse research outputs to get more advanced, sophisticated, quick, and non-destructive.

The rapid and non-destructive approach is now acknowledged as a new trend, particularly in the field of food engineering, for the purpose of quality inspection. Recently, numerous studies emerged to investigating the feasibility of this new approach in terms of quality inspection of various agricultural products such as fruits (Srivastava & Sadistap 2018; Arendese et al. 2018), vegetables (Adedeji et al. 2020), nuts (Buthelezi et al. 2019), beans, and grains during production to postharvest operations. These remarkable trends in the field of agriculture and food engineering can be used to ease the intensive and tedious work required for production and postharvest operations.

The non-destructive techniques reviewed in this paper explored applications, advantages, challenges, and potential for quality inspection, particularly in cacao. This current work also demonstrated the reliable success of rapid and noninvasive approaches for cacao quality and safety evaluation. Notwithstanding the numerous advantages acquired, each of these approaches has its drawbacks (Sect. 4) which challenge the food industry to employ this approach on a larger scale, such as industrial and commercial applications. To overcome these constraints and for this approach to be employed on a larger scale, the generalization of the hardware system to offer user-friendly and low-cost non-destructive equipment can be considered (Mohd Ali et al. 2017a).

Conclusions

This review has demonstrated the advanced applications for quality and safety evaluation of cacao using non-destructive techniques. Non-destructive techniques discussed in this work include imaging-based techniques, spectroscopic-based techniques, computer vision techniques, and other non-destructive techniques which exhibited promising performance and reliable success in the determination of different quality parameters of cacao. The most promising approach that has been established to determine the quality of cacao is spectroscopic-based techniques, particularly the FT-NIRS and imaging-based such as HSI. The variation in biochemical processes during a different phase of postharvest activities demonstrated significant changes in its hyperspectral signatures, resulting in more precise and accurate classification than any other methods that correlate spectral wavelength to a quality parameter.

To date, a few research studies on the quality evaluation of cacao have been exploited, particularly using electronic nose systems, electronic tongue, and other approaches already used in some agricultural products. Apart from this, most of the studies found in the literature are just for experimental purposes employing a minimal number of samples involved. Using this approach challenged by a large number of samples with different varieties is recommended for a more precise and robust model, which can be a good indicator for potential industrial application. It has been also applied in some of the commodities where a large number of samples/particles were involved such as grains, and other powdered products like flour where findings suggest potential industrial applications. The advancement of non-destructive technologies can increase production and enhance cacao postharvest management. As a result, it provides a wealth of data that can be accessed for real-time purposes. In brief, a rapid and non-destructive approach can be useful in evaluating and monitoring the quality and safety of cacao as it provides critical and objective understanding and visions for integrating such approaches as the final evaluation tool for cacao quality and safety in the future.

Availability of data and materials

All data generated or analyzed during this study are included in this published article.

References

  • Aculey, P. C., Snitkjaer, P., Owusu, M., Bassompiere, M., Takrama, J., Nørgaard, L., Petersen, M. A., & Nielsen, D. S. (2010). Ghanaian cocoa bean fermentation characterized by spectroscopic and chromatographic methods and chemometrics. Journal of Food Science, 75(6), S300–S307.

    Article  CAS  PubMed  Google Scholar 

  • Adedeji, A. A., Ekramirad, E., Rady, A., Hamidisepehr, A., Donohue, K. D., Villanueva, R. T., Parrish, C. A., & Li, M. (2020). Non-destructive technologies for detecting insect infestation in fruits and vegetables under postharvest conditions: a critical review. Foods, 9(7), 1–28.

    Article  Google Scholar 

  • Afoakwa, E. O., Quao, J., Takrama, F. S., Budu, A. S., & Saalia, F. K. (2012). Changes in total polyphenols, o-diphenols and anthocyanin concentrations during fermentation of pulp pre-conditioned cocoa (Theobroma cacao) beans. International Food Research Journal, 19(3), 1071–1077.

    Google Scholar 

  • Aguilera, J. M., Cipriano, A., Eraña, M., Lillo, I., Mery, D., Soto, A., & Valdivieso, C. (2007, October). Computer vision for quality control in Latin American food industry, a case study. In Int. conf. on computer vision (ICCV2007): workshop on computer vision applications for developing countries (pp. 1–8).

  • Amanah, H. Z., Joshi, R., Masithoh, R. E., Choung, M. G., Kim, K. H., Kim, G., & Cho, B. K. (2020). Nondestructive measurement of anthocyanin in intact soybean seed using Fourier Transform Near-Infrared (FT-NIR) and Fourier Transform Infrared (FT-IR) spectroscopy. Infrared Physics & Technology, 111, 103477.

    Article  CAS  Google Scholar 

  • Amanah, H. Z., Tunny, S. S., Masithoh, R. E., Choung, M. G., Kim, K. H., Kim, M. S., & Cho, B. K. (2022). Nondestructive Prediction of Isoflavones and Oligosaccharides in Intact Soybean Seed Using Fourier Transform Near-Infrared (FT-NIR) and Fourier Transform Infrared (FT-IR) Spectroscopic Techniques. Foods, 11(2), 232.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  • Amigo, J. M. (2019). Chapter 1.1 - Hyperspectral and multispectral imaging: setting the scene. Data Handling in Science and Technology, 32, 3–16.

    Article  Google Scholar 

  • Amir, R. M., Anjum, F. M., Khan, M. I., Khan, M. R., Pasha, I., & Nadeem, M. (2013). Application of Fourier transform infrared (FTIR) spectroscopy for the identification of wheat varieties. Journal of Food Science and Technology, 50, 1018–1023.

    Article  CAS  PubMed  Google Scholar 

  • Arakawa, T., Iiitani, K., & Mitsubayashi, K. (2022). Biosensors: gas sensors. Encyclopedia of Sensors and Biosensors, 1, 478–504.

    Google Scholar 

  • Arendse, E., Fawole, O. A., Magwaza, L. S., & Opara, U. L. (2018). Non-destructive prediction of internal and external quality attributes of fruit with thick rind: a review. Journal of Food Engineering, 217, 11–23.

    Article  Google Scholar 

  • Balasubramanian, S., Panigrahi, S., Kottapalli, B., & Wolf-Hall, C. E. (2007). Evaluation of an artificial olfactory system for grain quality discrimination. LWT-Food Science and Technology, 40(10), 1815–1825.

    Article  CAS  Google Scholar 

  • Barbin, D. F., Maciel, L. F., Vidigal Bazoni, C. H., Ribeiro, Md., Carvalho, R. D. S., Bispo, E. D., Miranda, M. D. S., & Hirooka, E. Y. (2018). Classification and compositional characterization of different varieties of cocoa beans by near infrared spectroscopy and multivariate statistical analyses. Journal of Food Science and Technology, 55, 2457–2466.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  • Bastide, P. (2016). Managing Cocoa Quality in the Post‐Harvest Process. Conference: Second Cocoa Revolution Conference.

  • Bayona, O., Ochoa, D., Criollo, R., Cevallos-Cevallos, J., & Liao, W. (2018, November). Cocoa bean quality assessment using closed range hyperspectral images. In 2018 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC) (pp. 622-626). https://doi.org/10.23919/APSIPA.2018.8659490.

  • Bhargava, A., & Bansal, A. (2021). Fruits and vegetables quality evaluation using computer vision: a review. Journal of King Saud University-Computer and Information Sciences, 33(3), 243–257.

    Article  Google Scholar 

  • Brosnan, T., & Sun, D. W. (2004). Improving quality inspection of food products by computer vision––a review. Journal of Food Engineering, 61(1), 3–16.

    Article  Google Scholar 

  • Calvini, R., Ulrici, A., & Amigo, J. M. (2016). Chapter 19 - Sparse-Based Modeling of Hyperspectral Data. Data Handling in Science and Technology, 30, 613–634.

    Article  Google Scholar 

  • Caporaso, N., Whitworth, M., & Fisk, I. (2021). Total lipid prediction in single intact cocoa beans by hyperspectral chemical imaging. Food Chemistry, 344, 1–10.

    Article  Google Scholar 

  • Caporaso, N., Whitworth, M. B., Fowler, M. S., & Fisk, I. D. (2018). Hyperspectral imaging for non-destructive prediction of fermentation index, polyphenol content and antioxidant activity in single cocoa beans. Food Chemistry, 258, 343–351.

    Article  CAS  PubMed  Google Scholar 

  • Cardona, L., Rodríguez-Sandoval, E., & Cadena, E. (2016). Diagnosis of cocoa benefit practices in the department of Arauca. Revista Lasallista Investigacion, 13, 94–104.

    Article  Google Scholar 

  • Castro, W., De-la-Torre, M., Avila-George, H., Torres-Jimenez, J., Guivin, A., & Acevedo-Juárez, B. (2022). Amazonian cacao-clone nibs discrimination using NIR spectroscopy coupled to naïve Bayes classifier and a new waveband selection approach. Spectrochimica Acta Part a: Molecular and Biomolecular Spectroscopy, 270, 120815.

    Article  CAS  PubMed  Google Scholar 

  • Chen, Q., Zhang, C., Zhao, J., & Ouyang, Q. (2013). Recent advances in emerging imaging techniques for non-destructive detection of food quality and safety. Trends in Analytical Chemistry, 52, 261–274.

    Article  CAS  Google Scholar 

  • Chopde, S., Patil, M., Shaikh, A., Chavhan, B., & Deshmukh, M. (2017). Developments in computer vision system, focusing on its applications in quality inspection of fruits and vegetables-A review. Agricultural Reviews, 38(2), 94–102.

    Article  Google Scholar 

  • Craig, A. P., Franca, A. S., Oliveira, L. S., 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  CAS  PubMed  Google Scholar 

  • Cruz-Tirado, J. P., Pierna, J. A. F., Rogez, H., Barbin, D. F., & Baeten, V. (2020). Authentication of cocoa (Theobroma cacao) bean hybrids by NIR-hyperspectral imaging and chemometrics. Food Control, 118, 1–13.

    Article  Google Scholar 

  • Da, D., Nian, Y., Shi, J., Li, Y., Zhao, D., Zhang, G., & Li, C. (2021). Characterization of specific volatile components in braised pork with different tastes by SPME-GC/MS and electronic nose. Journal of Food Processing and Preservation, 45(5), e15492.

    Article  CAS  Google Scholar 

  • Dahman, Y. (2017). Generic methodologies for characterization. Nanotechnology and Functional Materials for Engineers, 2, 19–45.

    Article  Google Scholar 

  • De Oliveira, N., Carlos, A., Mattedi, S., Soares, C., Lucena De Souza, R., Fricks, A., & Silva Lima, A. (2018). Ionic liquid-based ultrasonic-assisted extraction of alkaloids from Cacao (Theobroma cacao). Chemical Engineering Transactions, 64, 49–54.

    Google Scholar 

  • El-Mesery, H. S., Mao, H., & Abomohra, A. E. (2019a). Applications of Non-destructive Technologies for Agricultural and Food Products Quality Inspection. Sensors, 2019(19), 846.

    Article  Google Scholar 

  • El-Mesery, H. S., Mao, H., & Abomohra, A. E. (2019b). Applications of non-destructive technologies for agricultural and food products quality inspection. Sensors, 19, 846.

    Article  PubMed  PubMed Central  Google Scholar 

  • Ezhilan, M., Nesakumar, N., Babu, K. J., Srinandan, C. S., & Rayappan, J. B. B. (2019). Freshness assessment of broccoli using electronic nose. Measurement, 145, 735–743.

    Article  Google Scholar 

  • Falasconi, M., Concina, I., Gobbi, E., Sberveglieri, V., Pulvirenti, A., & Sberveglieri, G. (2012). Electronic nose for microbiological quality control of food products. International Journal of Electrochemistry, 2012. https://doi.org/10.1155/2012/715763

  • Ferreira, D. S., Pallone, J. A. L., & Poppi, R. J. (2013). Fourier transform near-infrared spectroscopy (FT-NIRS) application to estimate Brazilian soybean [Glycine max (L.) Merril] composition. Food Research International, 51(1), 53–58.

  • Flórez-Martinez, A., Duran-Acevedo, C. M., & Carrillo-Gomez, J. K. (2020). Development of an electronic nose system to improve the quality control of cocoa in the North Santander Department (Colombia). Respuestas, 25(2), 133–146.

    Article  Google Scholar 

  • García, M., Candelo-Becerra, J. E., & Hoyos, F. E. (2019). Quality and defect inspection of green coffee beans using a computer vision system. Applied Sciences, 9(19), 4195.

    Article  Google Scholar 

  • Grassi, S., Benedetti, S., Opizzio, M., di Nardo, E., & Buratti, S. (2019). Meat and fish freshness assessment by a portable and simplified electronic nose system (Mastersense). Sensors, 19(14), 3225.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  • Gu, S., Zhang, J., Wang, J., Wang, X., & Du, D. (2021). Recent development of HS-GC-IMS technology in rapid and non-destructive detection of quality and contamination in agri-food products. TrAC Trends in Analytical Chemistry, 144, 116435.

    Article  CAS  Google Scholar 

  • Hashimoto, J. C., Lima, J. C., Celeghini, R. M. S., Nogueira, A. B., Efraim, P., Poppi, R. J., & Pallone, J. A. L. (2018). Quality Control of Commercial Cocoa Beans (Theobroma cacao L.) by Near-infrared Spectroscopy. Food Analytical Methods, 11, 1510–1517.

    Article  Google Scholar 

  • Hayati, R., Zulfahrizal, Z., & Munawar, A. A. (2020). Robust prediction performance of inner quality attributes in intact cocoa beans using near infrared spectroscopy and multivariate analysis. Heliyon, 7, 1–7.

    Google Scholar 

  • Hernández-Hernández, C., Fernández-Cabanás, V. M., Rodríguez-Gutiérrez, G., Fernández-Prior, A., & Morales-Sillero, A. (2022). Rapid screening of unground cocoa beans based on their content of bioactive compounds by NIR spectroscopy. Food Control, 131, 108347.

    Article  Google Scholar 

  • Hidayat, S. N., Rusman, A., Julian, T., Triyana, K., Veloso, A. C. A., & Peres, A. M. (2020). Electronic nose coupled with linear and nonlinear supervised learning methods for rapid discriminating quality grades of superior java cocoa beans. International Journal of Intelligent Engineering and Systems, 12(6), 167–176.

    Article  Google Scholar 

  • Hue, C., Gunata, Z., Bergounhou, A., Assemat, S., Boulanger, R., Sauvage, F. X., & Davrieux, F. (2014). Near infrared spectroscopy as a new tool to determine cocoa fermentation levels through ammonia nitrogen quantification. Food Chemistry, 148, 240–245.

    Article  CAS  PubMed  Google Scholar 

  • Ilangantileke, S., Wahyudi, T., & Gracia Bailon, M. A. (1991). Assessment methodology to predict quality of cocoa beans for export. Journal of Food Quality, 14, 481–496.

    Article  CAS  Google Scholar 

  • International Cocoa Organization (2020). World Cocoa bean production/ Grindings and stocks (1). ICCO Quarterly Bulletin of Cocoa Statistics, Vol. XLVI, No. 4, Cocoa year 2019/20

  • Jayas, D. S., & Singh, C. B. (2012). Grain quality evaluation by computer vision. In Computer vision technology in the food and beverage industries (pp. 400-421). Woodhead Publishing. https://doi.org/10.1533/9780857095770.3.400.

  • Jentzsch, P. V., Ciobota, V., Salinas, W., Kampe, B., Aponte, P. M., Rösch, P., Popp, J., & Ramos, L. A. (2016). Distinction of Ecuadorian varieties of fermented cocoa beans using Raman spectroscopy. Food Chemistry, 211, 274–280.

    Article  Google Scholar 

  • Jia, Z., Shi, C., Wang, Y., Yang, X., Zhang, J., & Ji, Z. (2020). Nondestructive determination of salmon fillet freshness during storage at different temperatures by electronic nose system combined with radial basis function neural networks. International Journal of Food Science & Technology, 55(5), 2080–2091.

    Article  CAS  Google Scholar 

  • Jimenez, J. C., Amores, F. M., Solórzano, E. G., Rodríguez, G. A., Mantia, A. L., Blasi, P., & Loor, R. G. (2017). Differentiation of Ecuadorian National and CCN-51 cocoa beans and their mixtures by computer vision. Journal of the Science of Food and Agriculture, 98(7), 2824–2829.

    Article  Google Scholar 

  • Kaushal, S., Nayi, P., Rahadian, D., & Chen, H. H. (2022). Applications of Electronic Nose Coupled with Statistical and Intelligent Pattern Recognition Techniques for Monitoring Tea Quality: A Review. Agriculture, 12(9), 1359.

    Article  CAS  Google Scholar 

  • Kim, K., WonLee, K., & JooLee, H. (2011). Cocoa (Theobroma cacao) seeds and phytochemicals in human health. Nuts and Seeds in Health and Disease Prevention, 42, 351–360.

    Article  Google Scholar 

  • Kutsanedzie, F. Y. H., Chen, Q., Hassan, M. M., Yang, M., Sun, H., & Rahman, M. H. (2018). Near infrared system coupled chemometric algorithms for enumeration of total fungi count in cocoa beans neat solution. Food Chem, 1(2400), 231–238.

    Article  Google Scholar 

  • Lawi, A., & Adhitya, Y. (2018). Classifying physical morphology of cocoa beans digital images using multiclass ensemble least-squares support vector machine. Journal of Physics Conference Series, 979, 1–10.

    Google Scholar 

  • Lecumberri, E., Mateos, R., Izquierdo-Pulido, M., Rupérez, P., Goya, L., & Bravo, L. (2007). Dietary fibre composition, antioxidant capacity and physico-chemical properties of a fibre-rich product from cocoa (Theobroma cacao L.). Food Chemistry, 104(3), 948–954.

    Article  CAS  Google Scholar 

  • Lee, C. Y., Yan, L., Wang, T., Lee, S. R., & Park, C. W. (2011). Intelligent classification methods of grain kernels using computer vision analysis. Measurement Science and Technology, 22(6), 064006.

    Article  Google Scholar 

  • León-Roque, N., Abderrahim, M., Nuñez-Alejos, L., Arribas, S. M., & Condezo-Hoyos, L. (2016). Prediction of fermentation index of cocoa beans (Theobroma cacao L.) based on color measurement and artificial neural networks. Talanta, 161, 31–39.

    Article  PubMed  Google Scholar 

  • Li., X., Li, R., Wang, M., Liu, Y., Zhang, B., & Zhou, J. (2017). Hyperspectral Imaging and Their Applications in the Nondestructive Quality Assessment of Fruits and Vegetables. Open Access Peer-Reviewed Chapter. https://doi.org/10.5772/intechopen.72250

  • Li, Y., Feng, Y., Zhu, S., Luo, C., Ma, J., & Zhong, F. (2012). The effect of alkalization on the bioactive and flavor related components in commercial cocoa powder. Journal of Food Composition and Analysis, 25, 17–23.

    Article  Google Scholar 

  • Liu, Q., Sun, K., Zhao, N., Yang, J., Zhang, Y., Ma, C., & Tu, K. (2019). Information fusion of hyperspectral imaging and electronic nose for evaluation of fungal contamination in strawberries during decay. Postharvest Biology and Technology, 153, 152–160.

    Article  Google Scholar 

  • Lockman, N. A., Hashim, N., & Onwude, D. I. (2019). Laser-based imaging for cocoa pods maturity detection. Food and Bioprocess Technology, 2, 1928–1937.

    Article  Google Scholar 

  • Ma, J., Sun, D. W., Qu, J. H., Liu, D., Pu, H., Gao, W. H., & Zeng, X. A. (2016). Applications of computer vision for assessing quality of agri-food products: A review of recent research advances. Critical Reviews in Food Science and Nutrition, 56(1), 113–127.

    Article  PubMed  Google Scholar 

  • Mahendran, R., Jayashree, G. C., & Alagusundaram, K. (2012). Application of computer vision technique on sorting and grading of fruits and vegetables. Journal of Food Processing & Technology, 10, 2157–7110.

    Google Scholar 

  • Mite-Baidal, K., Solís-Avilés, E., Martínez-Carriel, T., Marcillo-Plaza, A., Cruz-Ibarra,  E., & Baque-Bustamante, W. (2019). Analysis of computer vision algorithms to determine the quality of fermented cocoa (Theobroma Cacao): systematic literature review. In ICT for agriculture and environment: Second International Conference, CITAMA 2019, Guayaquil, Ecuador, January 22–25, 2019, Proceedings (pp. 79–87). Cham: Springer International Publishing.

  • Modupalli, N., Naik, M., Sunil, C. K., & Natarajan, V. (2021). Emerging non-destructive methods for quality and safety monitoring of spices. Trends in Food Science & Technology, 108, 133–147.

    Article  CAS  Google Scholar 

  • Mogol, B. A., & Gökmen, V. (2014). Computer vision-based analysis of foods: a non-destructive colour measurement tool to monitor quality and safety. Journal of the Science of Food and Agriculture, 94(7), 1259–1263.

    Article  CAS  PubMed  Google Scholar 

  • Mohd Ali, M. M., Hashim, N., Aziza, S. A., & Lasekan, O. (2020). An overview of non-destructive approaches for quality determination in pineapples. Journal of Agricultural and Food Engineering, 1, 0011.

    Google Scholar 

  • Mohd Ali, M. M., Hashim, N., Bejo, S. K., & Shamsudin, R. (2017a). Rapid and nondestructive techniques for internal and external quality evaluation of watermelons: a review. Scientia Horticulturae, 225, 689–699.

    Article  Google Scholar 

  • Mohd Ali, M., Hashim, N., Bejo, S. K., & Shamsudin, R. (2017b). Laser-induced backscattering imaging for classification of seeded and seedless watermelons. Computers and Electronics in Agriculture, 140, 311–316.

    Article  Google Scholar 

  • Mollazade, K., & Arefi, A. (2018). LightScatter: A comprehensive software package for non-destructive monitoring of horti-food products by monochromatic imaging-based spatially-resolved light scattering technology. Computers and Electronics in Agriculture, 142, 597–606.

    Article  Google Scholar 

  • Motamayor, J. C., Mockaitis, K., Schmutz, J., Haiminen, N., Iii, D. L., Podicheti, R., et al. (2013). The genome sequence of the most widely cultivated cacao type and its use to identify candidate genes regulating pod color. Genome Biology, 14(6), r53.

    Article  PubMed  PubMed Central  Google Scholar 

  • Munera, S., Rodríguez-Ortega, A., Aleixos, N., Cubero, S., Gómez-Sanchis, J., & Blasco, J. (2021). Detection of invisible damages in ‘Rojo Brillante’persimmon fruit at different stages using hyperspectral imaging and chemometrics. Foods, 10(9), 2170.

    Article  PubMed  PubMed Central  Google Scholar 

  • Nguyen, D. T., Pissard, A., Fernández Pierna, J. A., Rogez, H., Souza, J., Dortu, F., Goel, S., Hernandez, Y., & Baeten, V. (2022). A method for non-destructive determination of cocoa bean fermentation levels based on terahertz hyperspectral imaging. International Journal of Food Microbiology, 365, 109537.

    Article  CAS  PubMed  Google Scholar 

  • Olunloyo, V. O. S., Ibidapo, T. A., & Dinrifo, R. R. (2012). Neural network-based electronic nose for cocoa beans quality assessment. Neural Network-Based Electronic Nose for Cocoa Beans Quality Assessment, 13, 1–12.

    Google Scholar 

  • Ong, P. Z., Hashim, N., & Maringgal, B. (2020). Quality evaluation of mango using non-destructive approaches: A review. Journal of Agricultural and Food Engineering, 1, 1–6.

    Google Scholar 

  • Oracz, J., Zyzelewicz, D., & Nebesny, E. (2015). The Content of Polyphenolic Compounds in Cocoa Beans (Theobroma cacao L.), Depending on Variety, Growing Region, and Processing Operations: A Review. Critical Reviews in Food Science and Nutrition, 55(9), 1176–92.

    Article  CAS  PubMed  Google Scholar 

  • Ozaki, Y., Genkawa, T., & Futami, Y. (2017). Near-Infrared Spectroscopy. Encyclopedia of Spectroscopy and Spectrometry (Third Edition), 40–49. https://doi.org/10.1007/978-981-15-8648-4

  • Parra, P., Negrete, T., Llaguno, J., Vega, N. (2018). Computer Vision Methods in the Process of Fermentation of the Cocoa Bean. IEEE Third Ecuador Technical Chapters Meeting, 1–6.

  • Patel, K., & Watson, R. R. (2018). Chocolate and its component’s effect on cardiovascular disease. Lifestyle in Heart Health and Disease, 21, 255–266.

    Google Scholar 

  • Patrício, D. I., & Rieder, R. (2018). Computer vision and artificial intelligence in precision agriculture for grain crops: a systematic review. Computers and Electronics in Agriculture, 153, 69–81.

    Article  Google Scholar 

  • Peijin, T., Kevin, L. J., Tingting, W., Elejalde, U., Hongchao, Z., Yuanrong, J., & Wenming, C. (2021). Rapid identification of the variety and geographical origin of Wuyou No. 4 rice by fourier transform near-infrared spectroscopy coupled with chemometrics. Journal of Cereal Science, 102, 103322.

    Article  Google Scholar 

  • Qian, L., Li, D., Song, X., Zuo, F., & Zhang, D. (2022). Identification of Baha’sib mung beans based on Fourier transform near infrared spectroscopy and partial least squares. Journal of Food Composition and Analysis, 105, 104203.

    Article  CAS  Google Scholar 

  • Quelal-Vásconez, M. A., Lerma-García, M. J., Pérez-Esteve, E., Talens, P., & Barat, J. M. (2020). Roadmap of cocoa quality and authenticity control in the industry: a review of conventional and alternative methods. Comprehensive Reviews in Food Science and Food Safety, 19(2), 448–478.

    Article  PubMed  Google Scholar 

  • Rabanera, J. D., Guzman, J. D., & Yaptenco, K. F. (2021). Rapid and Non-destructive measurement of moisture content of peanut (Arachis hypogaea L.) kernel using a near-infrared hyperspectral imaging technique. Journal of Food Measurement and Characterization, 15(4), 3069–3078.

    Article  Google Scholar 

  • Raponi, F., Moscetti, R., Monarca, D., Colantoni, A., & Massantini, R. (2017). Monitoring and optimization of the process of drying fruits and vegetables using computer vision: a review. Sustainability, 9(11), 2009.

    Article  Google Scholar 

  • Rojas, K. E., García, M. C., Cerónc, X. I., Ortiz, R. E., & Tarazonaa, M. P. (2020). Identification of potential maturity indicators for harvesting cacao. Heliyon, 6(2), 1–8.

    Article  Google Scholar 

  • Saeidan, A., Khojastehpour, M., Golzarian, M. R., Mooenfard, M., & Khan, H. A. K. (2021). Detection of foreign materials in cocoa beans by hyperspectral imaging technology. Food Control, 129, 108242.

    Article  Google Scholar 

  • Saltini, R., Akkerman, R., & Frosch, S. (2013). Optimizing chocolate production through traceability: a review of the influence of farming practices on cocoa bean quality. Food Control, 29(1), 167–187.

    Article  Google Scholar 

  • Sanaeifar, A., ZakiDizaji, H., Jafari, A., & de la Guardia, M. (2017). Early detection of contamination and defect in foodstuffs by electronic nose: a review. TrAC Trends in Analytical Chemistry, 97, 257–271.

    Article  CAS  Google Scholar 

  • Sánchez, K., Bacca, J., Arévalo-Sánchez, L., Arguello, H., & Castillo, S. (2020). Classification of Cocoa Beans Based on their Level of Fermentation using Spectral Information. TecnoLógicas, 24(50), 1–17.

    Google Scholar 

  • Sanchez, P. D. C., Arogancia, H. B. T., Boyles, K. M., Pontillo, A. J. B., & Mohd Ali, M. (2022). Emerging nondestructive techniques for the quality and safety evaluation of pork and beef: Recent advances, challenges, and future perspectives. Applied Food Research, 2, 100147.

    Article  CAS  Google Scholar 

  • Sanchez, P. D. C., Hashim, N., Shamsudin, R., & Mohd Nor, M. Z. (2019). Applications of imaging and spectroscopy techniques for non-destructive quality evaluation of potatoes and sweet potatoes: a review. Trends in Food Science & Technology, 96, 208–221.

    Article  Google Scholar 

  • Sanchez, P. D. C., Hashim, N., Shamsudin, R., & Mohd Nor, M. Z. (2020). Potential application of laser-based imaging technology in the quality evaluation of agricultural products: A review. Advances in Agricultural and Food Research Journal, 1(2), 1–14.

    Article  Google Scholar 

  • Sberveglieri, V., Fava, P., Pulvirenti, A., Concina, I., & Falasconi, M. (2012, December). New methods for the early detection of fungal contamination on green coffee beans by an Electronic Nose. In 2012 Sixth International Conference on Sensing Technology (ICST) (pp. 414–417). IEEE.

  • Sberveglieri, V., Carmona, E. N., Comini, E., Ponzoni, A., Zappa, D., Pirrotta, O., & Pulvirenti, A. (2014). A novel electronic nose as adaptable device to judge microbiological quality and safety in foodstuff. BioMed research international, 2014. https://doi.org/10.1155/2014/529519

  • Schneider, A., & Feussner, H. (2017). Chapter 5 - Diagnostic Procedures. Biomedical Engineering in Gastrointestinal Surgery, 87–220.

  • Sindhu, R., Binod, P., & Pandey, A. (2015). Chapter 17 - Microbial Poly-3-Hydroxybutyrate and Related Copolymers. Industrial Biorefineries & White Biotechnology. 575–605

  • Srivastava, S., & Sadistap, S. (2018). Non-destructive sensing methods for quality assessment of on-tree fruits: a review. Journal of Food Measurement and Characterization, 12, 497–526.

    Article  Google Scholar 

  • Statista (2020). Cocoa bean production in Asia Pacific in 2019, by country. Retrieved on June 10, 2021 from https://www.statista.com/statistics/661675/asia-pacific-cocoa-beans-production-by-country/.

  • Su, W. H., He, H. J., & Sun, D. W. (2017). Non-destructive and rapid evaluation of staple foods quality by using spectroscopic techniques: A review. Critical Reviews in Food Science and Nutrition, 57(5), 1039–1051.

    Article  CAS  PubMed  Google Scholar 

  • Sun, D. W. (Ed.). (2009). Infrared spectroscopy for food quality analysis and control. Academic press.

  • Sunoj, S., Igathinathane, C., & Visvanathan, R. (2016). Nondestructive determination of cocoa bean quality using FT-NIR spectroscopy. Computers and Electronics in Agriculture, 124, 234–242.

    Article  Google Scholar 

  • Szeliski, R. (2011). Computer Vision. Algorithms and Applications. London: Springer.

    Book  Google Scholar 

  • Tan, J., Balasubramanian, B., Sukha, D., Ramkissoon, S., & Umaharan, P. (2019). Sensing fermentation degree of cocoa (Theobroma cacao L.) beans by machine learning classification models based electronic nose system. Journal of Food Process Engineering, 42(4), 1–8.

    Google Scholar 

  • Tan, J., & Kerr, W. L. (2019). Characterizing cocoa refining by electronic nose using a Kernel distribution model. LWT, 104, 1–7.

    Article  CAS  Google Scholar 

  • Tao, F., Yao, H., Hruska, Z., Burger, L. W., Rajasekaran, K., & Bhatnagar, D. (2018). Recent development of optical methods in rapid and non-destructive detection of aflatoxin and fungal contamination in agricultural products. TrAC Trends in Analytical Chemistry, 100, 65–81.

    Article  CAS  Google Scholar 

  • Taradolsirithitikul, P., Sirisomboon, P., & Sirisomboon, C. D. (2016). Qualitative and quantitative analysis of ochratoxin A contamination in green coffee beans using Fourier transform near infrared spectroscopy. Journal of the Science of Food and Agriculture, 97(4), 1260–1266.

    Article  PubMed  Google Scholar 

  • Tee, Y. K., Balasundram, S. K., Ding, P., Hanif, A. H. M., & Bariahe, K. (2018). Determination of optimum harvest maturity and non-destructive evaluation of pod development and maturity in cacao (Theobroma cacao L.) using a multiparametric fluorescence sensor. Journal of the Science of Food and Agriculture, 99(4), 1700–1708.

    Article  PubMed  Google Scholar 

  • Tee, Y. K., Balasundram, S. K., Shariff, A. R. M., & Ding, P. (2020). Rapid and non-destructive evaluation on cacao pigments, flavonoids and nitrogen contents during pod development and maturity using a fluorescence sensor. IOP Conference Series: Earth and Environmental Science, 540, 012094.

    Google Scholar 

  • Teye, E., Anyidoho, E., Agbemafle, R., Sam-Amoah, L. K., & Elliott, C. (2020). Cocoa bean and cocoa bean products quality evaluation by NIR spectroscopy and chemometrics: a review. Infrared Physics & Technology, 104, 1–9.

    Article  Google Scholar 

  • Teye, E., & Huang, X. (2015). Novel Prediction of total fat content in cocoa beans by FT-NIR Spectroscopy based on effective spectral selection multivariate regression. Food Analytical Methods, 8(4), 945–953.

    Article  Google Scholar 

  • Teye, E., Huang, X., Takrama, J., & Haiyang, G. (2014). Integrating NIR spectroscopy and electronic tongue together with chemometric analysis for accurate classification of cocoa bean varieties. Journal of Food Process Engineering, 37(6), 1745–4530.

    Article  Google Scholar 

  • Teye, E., Uhomoibhi, J., & Wang, H. (2016). Nondestructive Authentication of Cocoa Bean Cultivars by FT-NIR Spectroscopy and Multivariate Techniques. Focus on Sciences. Focus on Sciences, 2(3), 1–10.

    Article  CAS  Google Scholar 

  • Tretola, M., Di Rosa, A. R., Tirloni, E., Ottoboni, M., Giromini, C., Leone, F., & Pinotti, L. (2017). Former food products safety: microbiological quality and computer vision evaluation of packaging remnants contamination. Food Additives & Contaminants: Part A, 34(8), 1427-1435.

  • Tripathi, A., Baran, C., Jaiswal, A., Awasthi, A., Uttam, R., Sharma, S., & Uttam, K. N. (2020). Investigating the carotenogenesis process in Papaya fruits during maturity and ripening by non-destructive spectroscopic probes. Analytical Letters, 53(18), 2903–2920.

  • Wieme, J., Mollazade, K., Malounas, I., Zude-Sasse, M., Zhao, M., Gowen, A., & Van Beek, J. (2022). Application of hyperspectral imaging systems and artificial intelligence for quality assessment of fruit, vegetables and mushrooms: A review. Biosystems Engineering, 222, 156–176.

    Article  CAS  Google Scholar 

  • Yro, A., N’zi, C. E., & Kpalma, K. (2018). cocoa beans fermentation degree assessment for quality control using machine vision and multiclass SVM classifier. International Journal of Innovation and Applied Studies, ISSR Journals, 24(4), 1711–1717.

    Google Scholar 

  • Zhang, B., Huang, W., Li, J., Zhao, C., Fan, S., Wu, J., & Liu, C. (2014). Principles, developments and applications of computer vision for external quality inspection of fruits and vegetables: A review. Food Research International, 62, 326–343.

    Article  Google Scholar 

  • Zhong, Y. (2019). Electronic nose for food sensory evaluation. In Evaluation technologies for food quality (pp. 7–22). Woodhead Publishing.

Download references

Acknowledgements

The authors are thankful to the Department of Agricultural and Biosystems Engineering (DABE), College of Engineering and Geosciences, Caraga State University (CSU), Ampayon Butuan City 8600, Philippines and also to the Center for Resource Assessment, Analytics and Emerging Technologies (CReATe) under Value Adding of Agricultural Wastes Project for the technical expertise offered.

Funding

Not applicable.

Author information

Authors and Affiliations

Authors

Contributions

Engr. Marjun C. Alvarado and Engr. Sheilla Grace N. Polongasa did the literature review and initially drafted the manuscript. Engr. Philip Donald C. Sanchez conceptualized and criticized the manuscript. The author(s) read and approved the final manuscript.

Corresponding author

Correspondence to Marjun C. Alvarado.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors confirm that they have no known financial conflicts of interest or close personal connections that would affect the outcome described in this review study.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Alvarado, M.C., Sanchez, P.D.C. & Polongasa, S.G.N. Emerging rapid and non-destructive techniques for quality and safety evaluation of cacao: recent advances, challenges, and future trends. Food Prod Process and Nutr 5, 40 (2023). https://doi.org/10.1186/s43014-023-00157-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s43014-023-00157-w

Keywords