1
|
Pourdarbani R, Sabzi S, Zohrabi R, García-Mateos G, Fernandez-Beltran R, Molina-Martínez JM, Rohban MH. Comparison of 2D and 3D convolutional neural networks in hyperspectral image analysis of fruits applied to orange bruise detection. J Food Sci 2023; 88:5149-5163. [PMID: 37876302 DOI: 10.1111/1750-3841.16801] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 05/16/2023] [Revised: 09/06/2023] [Accepted: 09/30/2023] [Indexed: 10/26/2023]
Abstract
Recent advances in hyperspectral imaging (HSI) have demonstrated its ability to detect defects in fruit that may not be visible in RGB images. HSIs can be considered 3D images containing two spatial dimensions and one spectral dimension. Therefore, the first question that arises is how to process this type of information, either using 2D or 3D models. In this study, HSI in the 550-900 nm spectral range was used to detect bruising in oranges. Sixty samples of Thompson oranges were subjected to a mechanical bruising process, and HSIs were taken at different time intervals: before bruising, and 8 and 16 h after bruising. The samples were then classified using two convolutional neural network (CNN) models, a shallow 7-layer network (CNN-7) and a deep 18-layer network (CNN-18). In addition, two different input processing approaches are used: using 2D information from each band, and using the full 3D data from each HSI. The 3D models were the most accurate, with 94% correct classification for 3D-CNN-18, compared to 90% for 3D-CNN-7, and less than 83% for the 2D models. Our study suggests that 3D HSI may be a more effective technique for detecting fruit bruising, allowing the development of a fast, accurate, and nondestructive method for fruit sorting. PRACTICAL APPLICATION: Orange bruises can reduce the market value of food, which is why the food processing industry needs to carry out quality inspections. An effective way to perform this inspection is by using hyperspectral images that can be processed with 2D or 3D models, either with deep or shallow neural networks. The results of the comparison performed in this work can be useful for the development of more accurate and efficient bruise detection methods for fruit inspection.
Collapse
Affiliation(s)
- Raziyeh Pourdarbani
- Department of Biosystems Engineering, University of Mohaghegh Ardabili, Ardabil, Iran
| | - Sajad Sabzi
- Department of Computer Engineering, Sharif University of Technology, Tehran, Iran
| | - Reihaneh Zohrabi
- Department of Computer Engineering, Sharif University of Technology, Tehran, Iran
| | - Ginés García-Mateos
- Computer Science and Systems Department, University of Murcia, Murcia, Spain
| | | | | | - Mohammad H Rohban
- Department of Computer Engineering, Sharif University of Technology, Tehran, Iran
| |
Collapse
|
2
|
Villaseñor-Aguilar MJ, Padilla-Medina JA, Prado-Olivarez J, Botello-Álvarez JE, Bravo-Sánchez MG, Barranco-Gutiérrez AI. Low-Cost Sensor for Lycopene Content Measurement in Tomato Based on Raspberry Pi 4. PLANTS (BASEL, SWITZERLAND) 2023; 12:2683. [PMID: 37514297 PMCID: PMC10384429 DOI: 10.3390/plants12142683] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Received: 05/18/2023] [Revised: 06/17/2023] [Accepted: 06/28/2023] [Indexed: 07/30/2023]
Abstract
Measuring lycopene in tomatoes is fundamental to the agrifood industry because of its health benefits. It is one of the leading quality criteria for consuming this fruit. Traditionally, the amount determination of this carotenoid is performed using the high-performance liquid chromatography (HPLC) technique. This is a very reliable and accurate method, but it has several disadvantages, such as long analysis time, high cost, and destruction of the sample. In this sense, this work proposes a low-cost sensor that correlates the lycopene content in tomato with the color present in its epicarp. A Raspberry Pi 4 programmed with Python language was used to develop the lycopene prediction model. Various regression models were evaluated using neural networks, fuzzy logic, and linear regression. The best model was the fuzzy nonlinear regression as the RGB input, with a correlation of R2 = 0.99 and a mean error of 1.9 × 10-5. This work was able to demonstrate that it is possible to determine the lycopene content using a digital camera and a low-cost integrated system in a non-invasive way.
Collapse
Affiliation(s)
- Marcos-Jesús Villaseñor-Aguilar
- Departamento de Ingeniería de Robótica y de Datos, Universidad Politécnica de Guanajuato, Cortazar 38496, Mexico
- Tecnológico Nacional de México en Celaya, Celaya 38010, Mexico
| | | | | | | | | | | |
Collapse
|
3
|
Abeyrathna RMRD, Nakaguchi VM, Minn A, Ahamed T. Recognition and Counting of Apples in a Dynamic State Using a 3D Camera and Deep Learning Algorithms for Robotic Harvesting Systems. SENSORS (BASEL, SWITZERLAND) 2023; 23:3810. [PMID: 37112151 PMCID: PMC10145955 DOI: 10.3390/s23083810] [Citation(s) in RCA: 3] [Impact Index Per Article: 3.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Subscribe] [Scholar Register] [Received: 03/05/2023] [Revised: 03/23/2023] [Accepted: 04/03/2023] [Indexed: 06/19/2023]
Abstract
Recognition and 3D positional estimation of apples during harvesting from a robotic platform in a moving vehicle are still challenging. Fruit clusters, branches, foliage, low resolution, and different illuminations are unavoidable and cause errors in different environmental conditions. Therefore, this research aimed to develop a recognition system based on training datasets from an augmented, complex apple orchard. The recognition system was evaluated using deep learning algorithms established from a convolutional neural network (CNN). The dynamic accuracy of the modern artificial neural networks involving 3D coordinates for deploying robotic arms at different forward-moving speeds from an experimental vehicle was investigated to compare the recognition and tracking localization accuracy. In this study, a Realsense D455 RGB-D camera was selected to acquire 3D coordinates of each detected and counted apple attached to artificial trees placed in the field to propose a specially designed structure for ease of robotic harvesting. A 3D camera, YOLO (You Only Look Once), YOLOv4, YOLOv5, YOLOv7, and EfficienDet state-of-the-art models were utilized for object detection. The Deep SORT algorithm was employed for tracking and counting detected apples using perpendicular, 15°, and 30° orientations. The 3D coordinates were obtained for each tracked apple when the on-board camera in the vehicle passed the reference line and was set in the middle of the image frame. To optimize harvesting at three different speeds (0.052 ms-1, 0.069 ms-1, and 0.098 ms-1), the accuracy of 3D coordinates was compared for three forward-moving speeds and three camera angles (15°, 30°, and 90°). The mean average precision (mAP@0.5) values of YOLOv4, YOLOv5, YOLOv7, and EfficientDet were 0.84, 0.86, 0.905, and 0.775, respectively. The lowest root mean square error (RMSE) was 1.54 cm for the apples detected by EfficientDet at a 15° orientation and a speed of 0.098 ms-1. In terms of counting apples, YOLOv5 and YOLOv7 showed a higher number of detections in outdoor dynamic conditions, achieving a counting accuracy of 86.6%. We concluded that the EfficientDet deep learning algorithm at a 15° orientation in 3D coordinates can be employed for further robotic arm development while harvesting apples in a specially designed orchard.
Collapse
Affiliation(s)
- R. M. Rasika D. Abeyrathna
- Graduate School of Science and Technology, University of Tsukuba, Tennodai 1-1-1, Tsukuba 305-8577, Japan
- Department of Agricultural Engineering, University of Peradeniya, Kandy 20400, Sri Lanka
| | - Victor Massaki Nakaguchi
- Graduate School of Science and Technology, University of Tsukuba, Tennodai 1-1-1, Tsukuba 305-8577, Japan
| | - Arkar Minn
- Graduate School of Science and Technology, University of Tsukuba, Tennodai 1-1-1, Tsukuba 305-8577, Japan
- Department of Agricultural Engineering, Yezin Agricultural University, Nay Phi Taw 150501, Myanmar
| | - Tofael Ahamed
- Faculty of Life and Environmental Sciences, University of Tsukuba, Tennodai 1-1-1, Tsukuba 305-8577, Japan
| |
Collapse
|
4
|
Nondestructive Methods for the Quality Assessment of Fruits and Vegetables Considering Their Physical and Biological Variability. FOOD ENGINEERING REVIEWS 2022. [DOI: 10.1007/s12393-021-09300-0] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.5] [Reference Citation Analysis] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 01/08/2023]
|
5
|
Luo Y, Jiang X, Fu X. Spatial Frequency Domain Imaging System Calibration, Correction and Application for Pear Surface Damage Detection. Foods 2021; 10:foods10092151. [PMID: 34574261 PMCID: PMC8467129 DOI: 10.3390/foods10092151] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.3] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/27/2021] [Revised: 09/02/2021] [Accepted: 09/07/2021] [Indexed: 01/18/2023] Open
Abstract
Spatial frequency domain imaging (SFDI) is a non-contact wide-field optical imaging technique for optical property detection. This study aimed to establish an SFDI system and investigate the effects of system calibration, error analysis and correction on the measurement of optical properties. Optical parameter characteristic measurements of normal pears with three different damage types were performed using the calibrated system. The obtained absorption coefficient μa and the reduced scattering coefficient μ's were used for discriminating pears with different surface damage using a linear discriminant analysis model. The results showed that at 527 nm and 675 nm, the pears' quadruple classification (normal, bruised, scratched and abraded) accuracy using the SFDI technique was 92.5% and 83.8%, respectively, which has an advantage compared with the conventional planar light classification results of 82.5% and 77.5%. The three-way classification (normal, minor damage and serious damage) SFDI technique was as high as 100% and 98.8% at 527 nm and 675 nm, respectively, while the classification accuracy of conventional planar light was 93.8% and 93.8%, respectively. The results of this study indicated that SFDI has the potential to detect different damage types in fruit and that the SFDI technique has a promising future in agricultural product quality inspection in further research.
Collapse
|
6
|
Nimbkar S, Auddy M, Manoj I, Shanmugasundaram S. Novel Techniques for Quality Evaluation of Fish: A Review. FOOD REVIEWS INTERNATIONAL 2021. [DOI: 10.1080/87559129.2021.1925291] [Citation(s) in RCA: 3] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 01/01/2023]
Affiliation(s)
- Shubham Nimbkar
- Planning and Monitoring Cell, Indian Institute of Food Processing Technology (IIFPT), Ministry of Food Processing Industries, Govt. Of India, Thanjavur, Tamil Nadu, India
| | - Manoj Auddy
- Planning and Monitoring Cell, Indian Institute of Food Processing Technology (IIFPT), Ministry of Food Processing Industries, Govt. Of India, Thanjavur, Tamil Nadu, India
| | - Ishita Manoj
- Planning and Monitoring Cell, Indian Institute of Food Processing Technology (IIFPT), Ministry of Food Processing Industries, Govt. Of India, Thanjavur, Tamil Nadu, India
| | - S Shanmugasundaram
- Planning and Monitoring Cell, Indian Institute of Food Processing Technology (IIFPT), Ministry of Food Processing Industries, Govt. Of India, Thanjavur, Tamil Nadu, India
| |
Collapse
|
7
|
Gai R, Chen N, Yuan H. A detection algorithm for cherry fruits based on the improved YOLO-v4 model. Neural Comput Appl 2021. [DOI: 10.1007/s00521-021-06029-z] [Citation(s) in RCA: 28] [Impact Index Per Article: 9.3] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/29/2022]
|
8
|
Albiol A, Albiol A, Sánchez de Merás C. Fast 3D Rotation Estimation of Fruits Using Spheroid Models. SENSORS 2021; 21:s21062232. [PMID: 33806776 PMCID: PMC8004661 DOI: 10.3390/s21062232] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.3] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 01/21/2021] [Revised: 03/01/2021] [Accepted: 03/15/2021] [Indexed: 11/25/2022]
Abstract
Automated fruit inspection using cameras involves the analysis of a collection of views of the same fruit obtained by rotating a fruit while it is transported. Conventionally, each view is analyzed independently. However, in order to get a global score of the fruit quality, it is necessary to match the defects between adjacent views to prevent counting them more than once and assert that the whole surface has been examined. To accomplish this goal, this paper estimates the 3D rotation undergone by the fruit using a single camera. A 3D model of the fruit geometry is needed to estimate the rotation. This paper proposes to model the fruit shape as a 3D spheroid. The spheroid size and pose in each view is estimated from the silhouettes of all views. Once the geometric model has been fitted, a single 3D rotation for each view transition is estimated. Once all rotations have been estimated, it is possible to use them to propagate defects to neighbor views or to even build a topographic map of the whole fruit surface, thus opening the possibility to analyze a single image (the map) instead of a collection of individual views. A large effort was made to make this method as fast as possible. Execution times are under 0.5 ms to estimate each 3D rotation on a standard I7 CPU using a single core.
Collapse
Affiliation(s)
- Antonio Albiol
- ITEAM Research Institute, Universitat Politècnica de València, 46022 Valencia, Spain;
- Correspondence:
| | - Alberto Albiol
- ITEAM Research Institute, Universitat Politècnica de València, 46022 Valencia, Spain;
| | | |
Collapse
|
9
|
Identification of Common Skin Defects and Classification of Early Decayed Citrus Using Hyperspectral Imaging Technique. FOOD ANAL METHOD 2021. [DOI: 10.1007/s12161-020-01960-8] [Citation(s) in RCA: 3] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/22/2022]
|
10
|
Integration of Partial Least Squares Regression and Hyperspectral Data Processing for the Nondestructive Detection of the Scaling Rate of Carp ( Cyprinus carpio). Foods 2020; 9:foods9040500. [PMID: 32316086 PMCID: PMC7230713 DOI: 10.3390/foods9040500] [Citation(s) in RCA: 5] [Impact Index Per Article: 1.3] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 03/14/2020] [Revised: 04/08/2020] [Accepted: 04/09/2020] [Indexed: 11/17/2022] Open
Abstract
The scaling rate of carp is one of the most important factors restricting the automation and intelligence level of carp processing. In order to solve the shortcomings of the commonly-used manual detection, this paper aimed to study the potential of hyperspectral technology (400-1024.7 nm) in detecting the scaling rate of carp. The whole fish body was divided into three regions (belly, back, and tail) for analysis because spectral responses are different for different regions. Different preprocessing methods, including Savitzky-Golay (SG), first derivative (FD), multivariate scattering correction (MSC), and standard normal variate (SNV) were applied for spectrum pretreatment. Then, the successive projections algorithm (SPA), regression coefficient (RC), and two-dimensional correlation spectroscopy (2D-COS) were applied for selecting characteristic wavelengths (CWs), respectively. The partial least square regression (PLSR) models for scaling rate detection using full wavelengths (FWs) and CWs were established. According to the modeling results, FD-RC-PLSR, SNV-SPA-PLSR, and SNV-RC-PLSR were determined to be the optimal models for predicting the scaling rate in the back (the coefficient of determination in calibration set (RC2) = 96.23%, the coefficient of determination in prediction set (RP2) = 95.55%, root mean square error by calibration (RMSEC) = 6.20%, the root mean square error by prediction (RMSEP)= 7.54%, and the relative percent deviation (RPD) = 3.98), belly (RC2 = 93.44%, RP2 = 90.81%, RMSEC = 8.05%, RMSEP = 9.13%, and RPD = 3.07) and tail (RC2 = 95.34%, RP2 = 93.71%, RMSEC = 6.66%, RMSEP = 8.37%, and RPD = 3.42) regions, respectively. It can be seen that PLSR integrated with specific pretreatment and dimension reduction methods had great potential for scaling rate detection in different carp regions. These results confirmed the possibility of using hyperspectral technology in nondestructive and convenient detection of the scaling rate of carp.
Collapse
|
11
|
Automated apple defect detection using state-of-the-art object detection techniques. SN APPLIED SCIENCES 2019. [DOI: 10.1007/s42452-019-1393-4] [Citation(s) in RCA: 3] [Impact Index Per Article: 0.6] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/25/2022] Open
|
12
|
Sun Y, Xiao H, Tu S, Sun K, Pan L, Tu K. Detecting decayed peach using a rotating hyperspectral imaging testbed. Lebensm Wiss Technol 2018. [DOI: 10.1016/j.lwt.2017.08.086] [Citation(s) in RCA: 11] [Impact Index Per Article: 1.8] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/18/2022]
|
13
|
Monitoring and Optimization of the Process of Drying Fruits and Vegetables Using Computer Vision: A Review. SUSTAINABILITY 2017. [DOI: 10.3390/su9112009] [Citation(s) in RCA: 29] [Impact Index Per Article: 4.1] [Reference Citation Analysis] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 01/08/2023]
|
14
|
Sun Y, Wang Y, Xiao H, Gu X, Pan L, Tu K. Hyperspectral imaging detection of decayed honey peaches based on their chlorophyll content. Food Chem 2017; 235:194-202. [DOI: 10.1016/j.foodchem.2017.05.064] [Citation(s) in RCA: 41] [Impact Index Per Article: 5.9] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 10/31/2016] [Revised: 02/11/2017] [Accepted: 05/12/2017] [Indexed: 10/19/2022]
|
15
|
Zhang B, Dai D, Huang J, Zhou J, Gui Q, Dai F. Influence of physical and biological variability and solution methods in fruit and vegetable quality nondestructive inspection by using imaging and near-infrared spectroscopy techniques: A review. Crit Rev Food Sci Nutr 2017; 58:2099-2118. [DOI: 10.1080/10408398.2017.1300789] [Citation(s) in RCA: 39] [Impact Index Per Article: 5.6] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/19/2022]
Affiliation(s)
- Baohua Zhang
- College of Engineering, Nanjing Agricultural University, Nanjing, Jiangsu, PR China
| | - Dejian Dai
- College of Engineering, Nanjing Agricultural University, Nanjing, Jiangsu, PR China
| | - Jichao Huang
- College of Engineering, Nanjing Agricultural University, Nanjing, Jiangsu, PR China
| | - Jun Zhou
- College of Engineering, Nanjing Agricultural University, Nanjing, Jiangsu, PR China
| | - Qifa Gui
- College of Engineering, Nanjing Agricultural University, Nanjing, Jiangsu, PR China
| | - Fang Dai
- College of Engineering, Nanjing Agricultural University, Nanjing, Jiangsu, PR China
| |
Collapse
|
16
|
Blasco J, Munera S, Aleixos N, Cubero S, Molto E. Machine Vision-Based Measurement Systems for Fruit and Vegetable Quality Control in Postharvest. ADVANCES IN BIOCHEMICAL ENGINEERING/BIOTECHNOLOGY 2017; 161:71-91. [DOI: 10.1007/10_2016_51] [Citation(s) in RCA: 21] [Impact Index Per Article: 3.0] [Reference Citation Analysis] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 12/03/2022]
|