In the last two decades, food scientists (engineers) have attempted to develop new technologies that can improve the detection of insect infestation in fruits and vegetables under postharvest conditions using a multitude of non-destructive technologies. While consumers’ expectations for higher nutritive and sensorial value of fresh produce has increased over time, they have also become more critical on using insecticides or synthetic chemicals to preserve food quality from insects’ attacks or enhance the quality attributes of minimally processed fresh produce. In addition, the increasingly stringent quarantine measures by regulatory agencies for commercial import–export of fresh produce needs more reliable technologies for quickly detecting insect infestation in fruits and vegetables before their commercialization. For these reasons, the food industry investigates alternative and non-destructive means to improve food quality. Several studies have been conducted on the development of rapid, accurate, and reliable insect infestation monitoring systems to replace invasive and subjective methods that are often inefficient. There are still major limitations to the effective in-field, as well as postharvest on-line, monitoring applications. The future of non-destructive testing will be enhanced by the current trend in IoT, big data science, and machine learning analysis.
In recent years, there has been significant growth in the consumption of fruits and vegetables, which can be attributed to several factors, among which is increased awareness of their health benefits . Consumers, especially the “Generation Z” (post-millennial with ages between 11 and 23 years) that constitute about 32% of the US population, are more cognizant of what they eat and many of them tend to eat healthy, often preferring organic foods . The easy access to information through smart devices has also increased the understanding of consumers on what they eat, and many more people, beyond the younger generations, are tending toward more natural, minimally processed, and organic food. This demand is driving the trend for high-quality, consistent, and safe products at a reasonable price . The agricultural production sector and the food industry as well as the safety agencies are saddled with the responsibility to meet these increasing demands for produce with low-toxicity pesticides. In order to be efficient in meeting quality and demand, there is a need to replace destructive and off-line conventional quality assessment methods with rapid, non-invasive, environmentally friendly, and accurate methods for quality assessment and safety assurance .
Insects cause enormous damage to fruits and vegetables each year, leading to major production and economic losses in the agricultural production and food industry worldwide. Insect pests are considered to be responsible for approximately 10–20% of yield losses in major crops worldwide, and even far more in developing countries, reaching about 50% of annual horticultural production in Africa, which is a $22.5 billion industry . The havoc caused by insect pests in trans-border trade, with increased global trade network, is enormous. The detection of these insect pests before they get into the supply chain is still a major challenge for the industry. The US loses about $40 billion yearly because of these organisms of quarantine concern [6,7]. On the other hand, insect pests such as budworms are hard to control . Insect feeding often cryptically occurs within fruits and vegetables without showing an obvious external symptom until they are nearly fully rotten. This is the case of the codling moth (Cydia pomonella, Lepidoptera: Tortricidae), one of the most devastating pests in apples. This insect has four main stages in its life cycle, egg, larva, pupa, and adult moth . The larval phase is its most devastating phase when it feeds on the flesh and pulp of fruits it was laid on. When the point of entry is the calyx, the damage is difficult to detect with the subjective method of assessment common in most apple processing plants and this is why non-destructive detection becomes important [9,10]. Early detection when eggs are laid on the surface of the produce is also very important.
In order to prevent the economic and ecological losses from alien insect pests, increasingly stringent quarantine measures are being put in place by governments. As an example, Fruits and Vegetables Import Requirements (FAVIR) of the US government require preclearance of horticultural consignments in the exporting countries as well as inspections at the ports of arrival for any live larva or pupa of quarantine pests. In general, a biometrically designed statistical sampling is applied to conduct phytosanitary physical inspections against any quarantine-significant insect in fruits and vegetable commodities. In 2017, around 194 million pounds of fresh fruits and vegetables were inspected and cleared for shipment to the United States . Based on the United States Department of Agriculture (USDA) report about the US plant inspection stations in 2017, the inspection of plant materials is mostly conducted physically, along with some modern technologies such as digital imaging, X-ray and molecular detection tools for low-volume plants, plant cuttings, and seeds. As a result, automatic, fast, and reliable noninvasive methods of detection are needed to monitor quarantine pest existence and the internal quality of the fruits and vegetables in high-volume shipments .
The rapid advancement in electronic technology and data analytics with greater computing power, along with their increased application in the agricultural field, have introduced new methods for non-destructive quality assessment of fruits and vegetables. A range of techniques have been reported for non-destructive detection of insect infestation such as near-infrared (NIR) spectroscopy [13,14,15,16], acoustic methods—sound/noise/vibration [17,18,19], imaging—visible light sensing , hyperspectral imaging [3,21], nuclear magnetic resonance , X-ray [23,24], volatile emission, and others [25,26,27,28]. With these new applications of technology in agricultural processing as well as the multiplicity of investigations all over the world, up-to-date reviews are needed as an orientation over technological applications in agriculture and food science. There are currently few reference papers reviewing some of the state-of-the-art works in non-destructive quality assessment of fruits and vegetables. Particularly, no review is available focusing on recent postharvest non-destructive methods for the detection of insect infestation in fruits and vegetables. Thus, this paper reviews all known techniques used for postharvest non-destructive detection of internal insect infestation in fruits and vegetables: their basic principles of operation are explained, the merits, as well as the limitations of each method are profiled, several examples of applications are presented, and challenges and opportunities for the future are discussed.
Spectroscopy methods provide operational information about the chemical and physical characteristics of fruits and vegetables by obtaining reflectance, transmittance, absorbance, or scattering of polychromatic or monochromatic radiation from the surface of the sample in the ultraviolet (UV), visible (Vis), and NIR regions of the electromagnetic spectrum. But, the application of NIR region (780 to 2500 nm) is particularly compelling because it is sensitive to overtones and combinations of chemical bonds such as C–H, O–H, and N–H, which are abundantly present in foods. Moreover, NIR spectroscopy has the capacity of measuring multiple quality attributes of foods simultaneously . Some researchers have proven the high potential of NIR spectroscopy for the detection of insects or insect damage in food commodities, such as blueberries , cherries , figs , green soybeans , jujubes , chestnuts , and other foods [25,26,27,35].
In the last four decades, machine vision systems have been extensively investigated to replace the human role in several agricultural applications, including sorting, detecting defects and diseases, and characterizing other quality attributes of agricultural products [38,39]. Visible light sensors at a wavelength from 380 to 750 nm falls in the range that is generally used for detecting external or surface features .
|Sensor Type||Crop||Insect Type||Machine Learning Technique||Classification Results||Reference|
|RGB camera||Citrus||Scale insect (Coccoidea)||MIA||92.8%|||
|RGB camera||Citrus||Thrips (Thysanoptera), Scales, and Medfly (Ceratitis capitata) egg||BDA||73–86%|||
|RGB camera||Citrus||Thrips, Scales, and Medfly egg||ROSA||93.4–100%|||
|RGB camera||Citrus||Thrips, Scales, and Medfly egg||LDA||43.2–78.1%|||
|Line scan cameras||Pistachio||Insect damage||DF||74–91.8%|||
MIA: multivariate image analysis; BDA: Bayesian discriminant analysis; LDA: Linear discriminant analysis; ROSA: region-oriented segmentation algorithm; DF: discriminant function; RGB—Red, Green and Blue color spaces; NA—not applicable.
The hyperspectral imaging (HSI) technique is a relatively recent approach that is gaining extensive use in the agricultural production systems and food processing for noninvasive detection of properties and classification into quality categories. In the past decade and a half, it is among the most widely studied techniques for noninvasive monitoring of quality and ensuring the safety of fruits, vegetables, and food products [3,10,49,50,51,52,53]. The result of a sample scanning using the HSI system is a data cube (hypercube), where two (x and y) dimensions represent the spatial coordinates and the third dimension (λ) represents the wavelength coordinate . The spectral responses can be related to the physical and chemical constituents of different agricultural products.
The principle of an X-ray imaging system is based on the transmission imaging technique in which an X-ray beam emitted from a source penetrates an object and attenuates based on the density variance of the object. The attenuated energy that passed through the object is detected using a photodetector, a film, or an ionization chamber on the other side. The attenuation coefficients of the object components lead to different contrast between such components [69,70,71]. Computed Tomography (CT) X-ray imaging is a more recent and advanced technique than plain X-ray technology. The latter technique solves the problem of having overlapping layers of soft tissues or complex bone structures . The source and detector rotate around the object to generate an enormous number of 2-dimensional slices or images, which are used to create a 3-dimensional image called a tomogram [26,71].
MRI is a non-ionizing imaging technique in contrast to X-ray or computed tomography (CT) imaging and was first used for medical applications. The principle of MRI is such that a high-resolution image can be obtained by a strong and uniform magnetic field applied to hydrogen nuclei that are mainly located in water . The image is formed as a result of the different levels of contrast of the object tissues as a response to a vigorous magnetic field and radio frequency waves. Applications of MRI in food quality monitoring is still considerably limited mainly due to the high cost of MRI systems. Torres  studied the application of a low-field MRI system to detect fruit fly in peaches, with classification rates of 58% and 71% for healthy and infested fruits, respectively. Haishi et al.  applied a low-field MRI using a 0.2 Teslaa or T magnet field to track the presence of peach fruit moth on apple fruits by analyzing multi-slice two-dimensional (2D) images. It was shown that the detection of larvae inside the fruit is feasible using a single slice gradient echo method in 6.4 s. Whereas, the multi-slice 2D measurement provided 6 images in 2 min, and these images covered a larger image area in a short time. Although MRI technology has a promising possibility for an effective noninvasive determination of fruits and vegetable defects, several problems still arise, especially when compared to other noninvasive systems such as color vision, hyperspectral and multispectral imaging, and spectroscopic systems. Such problems include the high cost for building, running, and maintenance, and the large volume and heavy weight of the MRI systems [86,90].
Thermal imaging (TI) is a sensing technique that was first illustrated for military applications. Later, TI was extended to agriculture and food process monitoring . A typical TI system consists of a thermal camera that has an infrared detector, a signal processing unit, and an image acquisition unit . The main idea of forming a TI image is based on the difference in surface temperatures radiated by an object that is linked to the thermal energy values. Such values are translated to electrical pulses which are processed in the signal processing unit to form an image. The same image segmentation approach applied in X-ray imaging to localize the infested region of interest is applied to thermal imaging.
The significance of ineffective insect infestation detection in fruits and vegetables is broad. It lies in the reduction in the value of produce that may ensue when they enter the supply chain without detection and control, the economic losses when infestation causes a ban of produce export, spread or damage occurring to high-quality produce, and the safety issues related to consuming or processing infested produce. This paper reviewed different methods that have been explored in the last few years for non-destructive detection and classification of fruits and vegetables infested with different types of insect pests. Agricultural production is at a scale and stage where subjective assessment is insufficient to meet the scale of quality needed by the industry. The development of highly sensitive and accurate technologies for performing the role typically done by human subjects is essential for quick turnover to meet regulatory and consumer demands. Several of the technologies available have prospects and limitations. Some of the challenges include the high cost of implementation, sensitivity, accuracy, feedback time, and in some cases, safety. Techniques such as hyperspectral imaging, electronic nose, and acoustic emission are emerging as the sensors needed for artificial intelligent system deployment to address this need. HSI especially has been applied as the baseline technology in some other industries, and its potential for success in insect infestation prediction is promising, so long as the accuracy is guaranteed. A lot of these techniques require a machine learning computational approach for development and deployment. Advanced machine learning approaches like sensor data fusion and ensemble machine learning have allowed for combining the strengths of different approaches, and models for better results have shown the potential benefits of improving the models for quality assessment of fruits, vegetables, and food products . Current improvement in the analytical approach of big data and feedback speed will benefit these methods and make them more amenable.