Fruit maturity detection method based on frequency-selecting X-ray technology

By combining frequency-selective X-ray technology with near-infrared spectroscopy and thermal imaging technology, we build a deep learning model and introduce an adaptive learning algorithm, which solves the problems of strong subjectivity, low detection efficiency and insufficient adaptability in fruit ripeness detection, and achieves high Accurate and fast fruit ripeness detection.

CN118758978APending Publication Date: 2024-10-11HANGZHOU DIANZI UNIVERSTIY INFORMATION ENG SCHOOL
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410754312.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing fruit ripeness detection methods have problems such as strong subjectivity, low detection efficiency, destructive detection, inability to achieve real-time online detection, limited accuracy, and insufficient adaptability.

Method used

It uses frequency-selective X-ray technology combined with near-infrared spectroscopy and thermal imaging technology to build a deep learning model through multi-modal data collection, feature extraction and fusion, and introduces adaptive learning algorithms to achieve real-time online detection and model optimization.

Benefits of technology

It improves the comprehensiveness, accuracy, adaptability and universality of fruit ripeness detection, realizes fast, non-destructive and real-time detection, meets the needs of modern production and reduces economic losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118758978A_ABST
    Figure CN118758978A_ABST
Patent Text Reader

Abstract

The invention relates to the field of fruit maturity detection, and discloses a fruit maturity detection method based on a frequency-selecting X-ray technology, and the method comprises the following steps: S1, sample preparation: selecting a plurality of different types and varieties of fruits; s2, multi-modal data acquisition: acquiring fruit maturity information by using frequency selection X-ray acquisition, near infrared spectrum acquisition and thermal imaging data acquisition; s3, extracting data features; s4, carrying out multi-modal feature fusion; s5, establishing an evaluation model; s6, carrying out real-time online detection; and S7, data storage and analysis. Fruit internal structure information is obtained through a frequency-selecting X-ray technology, fruit chemical component information is obtained by combining a near infrared spectrum technology, fruit surface temperature distribution is obtained through a thermal imaging technology, a multi-modal data comprehensive detection method is formed, and the comprehensiveness and accuracy of fruit maturity detection are improved through multi-modal data fusion; compared with a single-mode detection method, more accurate and detailed maturity evaluation can be provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fruit maturity detection, in particular to a fruit maturity detection method using a frequency-selective X-ray technology. Background Art

[0002] Fruit maturity detection is of great significance in the fruit industry and has a direct impact on the harvesting, storage and sales of fruits. Existing fruit maturity detection methods mainly include sensory detection, physical and chemical index detection, and non-destructive detection technology based on image processing and spectral analysis. Although these methods can meet the needs to a certain extent, they still have the following shortcomings:

[0003] Sensory testing: It relies on manual experience, is highly subjective, is easily affected by human factors, and has unstable test results. It has low test efficiency, is difficult to achieve large-scale application, and cannot meet the needs of modern production.

[0004] Physical and chemical index testing: Sampling is required for destructive testing, and the samples can no longer be sold, resulting in certain economic losses. The testing cycle is long, and real-time online testing cannot be achieved, making it difficult to meet the requirements of rapid testing.

[0005] Image processing technology: Detection based on appearance features (such as color and shape) is easily affected by environmental factors such as lighting and background, and has limited accuracy. It is difficult to deeply understand the maturity information inside the fruit, and can only detect surface features, which cannot fully reflect the maturity of the fruit.

[0006] Spectral analysis technology: Near-infrared spectroscopy technology can obtain information on the chemical composition of fruits, but its accuracy and stability are limited when dealing with complex backgrounds and noise. Single-modal data analysis is insufficient when dealing with different fruit varieties and maturity levels, and cannot provide comprehensive detection information.

[0007] Based on the above-mentioned deficiencies of the prior art, the present invention proposes a fruit maturity detection method using frequency-selective X-ray technology. Summary of the invention

[0008] In view of the shortcomings of the prior art, the present invention provides a fruit maturity detection method using frequency-selective X-ray technology, which solves the problem of limited detection accuracy in the prior art.

[0009] To achieve the above object, the present invention is implemented by the following technical scheme: a fruit maturity detection method using frequency-selective X-ray technology, comprising the following steps:

[0010] S1. Sample preparation: Select a variety of different types and varieties of fruits to ensure wide sample coverage, and conduct basic physical and chemical property tests on each sample as baseline data;

[0011] S2. Multimodal data collection: Use frequency-selective X-ray collection, near-infrared spectrum collection, and thermal imaging data collection to obtain fruit maturity information;

[0012] S3, data feature extraction: perform corresponding preprocessing on the frequency-selective X-ray acquisition, near-infrared spectrum acquisition, and thermal imaging data acquisition data respectively;

[0013] S4, multimodal feature fusion: adopt decision-level fusion method to comprehensively process X-ray image features, spectral features and thermal imaging features;

[0014] S5. Build an evaluation model: Use deep learning algorithms to train a comprehensive maturity evaluation model based on multimodal features, and introduce adaptive learning algorithms to enable the model to automatically adjust parameters based on new data, thereby improving the adaptability and universality of the model;

[0015] S6. Real-time online detection: In the real-time processing and fusion process of multimodal data, it provides real-time adjustment of scanning parameters and strategies of frequency-selective X-ray equipment to optimize the detection process function;

[0016] S7. Data storage and analysis: Upload historical test data to the cloud for storage and management, use big data analysis technology to continuously explore potential patterns in large amounts of test data, and continuously optimize the maturity assessment model.

[0017] Preferably, in step S1, the basic physical and chemical property detection includes collecting data on the weight, sugar content and acidity of the fruit.

[0018] Preferably, the frequency-selective X-ray acquisition in step S2 performs multi-band and multi-angle X-ray scanning on the fruit through a frequency-selective X-ray device to obtain the internal structure information of the fruit; the near-infrared spectrum acquisition uses a near-infrared spectrometer to collect the chemical composition on the surface and inside of the fruit; and the thermal imaging data acquisition uses a thermal imager to obtain a temperature distribution map of the fruit surface to provide the internal maturity information of the fruit.

[0019] Preferably, in the step S3, the frequency-selective X-ray acquisition data preprocessing uses a deep learning algorithm to process the X-ray image to extract density distribution and internal structure information; the near-infrared spectrum acquisition data preprocessing uses denoising and normalization to extract characteristic band information.

[0020] Preferably, in the S4 decision-level fusion method, the frequency-selective X-ray acquisition data uses a convolutional neural network maturity assessment model; the near-infrared spectrum acquisition data uses a support vector machine maturity assessment model; and the thermal imaging data uses a random forest maturity assessment model.

[0021] Preferably, the decision-level fusion method comprises the following steps:

[0022] S41. Determine the weight of each modality in the overall evaluation, determined by its performance on the validation set;

[0023] S42. Calculate the weighted average score using the formula:

[0024] Comprehensive score = w1·X-ray score + w2·spectral score + w3·

[0025] Thermal imaging scoring

[0026] S43. Select appropriate weights w1, w2, w3 so that w1+w2+w3=1.

[0027] Preferably, in step S5, the deep learning algorithm specifically uses a long short-term memory network algorithm architecture.

[0028] Preferably, in the step S5, a multi-modal feature vector Ffused is obtained after multi-feature fusion of X-ray image feature extraction, near-infrared spectrum feature extraction, and thermal imaging data feature extraction.

[0029] Preferably, the steps for constructing the long short-term memory network algorithm architecture in S5 are:

[0030] S51, input layer: input the fused multimodal feature vector Ffused;

[0031] S52, LSTM layer: Use LSTM network to process time series data features and output hidden states;

[0032] S53, fully connected layer: Use the fully connected layer to map the output of the LSTM layer to the maturity score;

[0033] S54, loss function: set the mean square error loss function.

[0034] Preferably, the adaptive learning algorithm in step S5 is specifically transfer learning, and its expression is:

[0035]

[0036] Among them, θ new are the parameters of the new model, that is, the model parameters after fine-tuning; θ pretrained is the model parameters trained on the original dataset; η is the learning rate; Represents the gradient of the loss function with respect to the new model parameters; is the loss function; is the predicted value on the new data set; new is the true value on the new dataset.

[0037] The present invention provides a method for detecting fruit maturity using frequency-selective X-ray technology. It has the following beneficial effects:

[0038] 1. The present invention obtains the internal structure information of the fruit through the frequency-selective X-ray technology, obtains the chemical composition information of the fruit by combining the near-infrared spectroscopy technology, and obtains the surface temperature distribution of the fruit by thermal imaging technology, thereby forming a comprehensive detection method of multimodal data. The multimodal data fusion improves the comprehensiveness and accuracy of the fruit maturity detection, and can provide a more accurate and detailed maturity assessment compared with the single-modality detection method.

[0039] 2. The present invention adjusts the scanning parameters and strategies of the frequency-selective X-ray equipment in real time through the detection data to optimize the detection process. This not only improves the detection efficiency, but also dynamically adapts to different detection conditions, provides faster and more accurate maturity assessment, and meets the needs of modern production.

[0040] 3. By introducing deep learning algorithms and adaptive learning mechanisms, the model can automatically adjust parameters according to new data and continuously optimize, with strong adaptability and universality, and is suitable for the detection of fruits of different varieties and maturity. At the same time, non-destructive testing technology avoids sample destruction, reduces economic losses, and improves the economic benefits and application value of testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic diagram of the process steps of the present invention. DETAILED DESCRIPTION

[0042] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] Example:

[0044] Please refer to the attached Figure 1 The embodiment of the present invention provides a method for detecting fruit maturity using frequency-selective X-ray technology, comprising the following steps:

[0045] S1. Sample preparation: Select a variety of different types and varieties of fruits to ensure wide sample coverage, and conduct basic physical and chemical property tests on each sample as baseline data;

[0046] In step S1, basic physical and chemical property testing includes collecting data on the weight, sugar content, and acidity of the fruit.

[0047] By selecting a variety of fruits and their different varieties, we ensure that the samples are representative and diverse, covering different maturity levels and characteristics. This helps to build a model with strong universality. Testing each sample for basic physical (such as weight, volume) and chemical (such as sugar content, acidity) properties can provide reliable baseline data as a reference for model training and evaluation. These baseline data help calibrate the model to ensure its accuracy and consistency.

[0048] S2. Multimodal data collection: Use frequency-selective X-ray collection, near-infrared spectrum collection, and thermal imaging data collection to obtain fruit maturity information;

[0049] In step S2, the frequency-selective X-ray acquisition uses a frequency-selective X-ray device to perform multi-band and multi-angle X-ray scanning on the fruit to obtain the internal structure information of the fruit; the near-infrared spectrum acquisition uses a near-infrared spectrometer to collect the chemical composition on the surface and inside of the fruit; the thermal imaging data acquisition uses a thermal imager to obtain the temperature distribution map of the fruit surface and provide the internal maturity information of the fruit.

[0050] By using frequency-selective X-ray equipment to perform multi-band and multi-angle X-ray scanning on fruits, information about the internal structure of the fruits can be obtained. Near-infrared spectroscopy acquisition uses a near-infrared spectrometer to obtain the chemical composition of the surface and inside of the fruit. Thermal imaging data acquisition uses a thermal imager to obtain the temperature distribution map of the fruit surface and provide information on the internal maturity of the fruit. This multimodal data acquisition method can integrate different physical and chemical information, comprehensively reflect the maturity of the fruit, and improve the accuracy and reliability of detection.

[0051] S3, data feature extraction: perform corresponding preprocessing on the frequency-selective X-ray acquisition, near-infrared spectrum acquisition, and thermal imaging data acquisition data respectively;

[0052] In step S3, the frequency-selective X-ray acquisition data preprocessing uses a deep learning algorithm to process the X-ray image and extract density distribution and internal structure information; the near-infrared spectrum acquisition data preprocessing uses denoising and normalization to extract characteristic band information.

[0053] For frequency-selective X-ray acquisition data, deep learning algorithms are used to process X-ray images and extract density distribution and internal structure information. For near-infrared spectral data, denoising, normalization and other methods are used to extract characteristic band information. For thermal imaging data, temperature distribution features are obtained through image processing technology. The process of data feature extraction can improve the quality and effectiveness of data, extract key features, reduce noise and redundant information, and ensure the effectiveness of subsequent model training.

[0054] S4, multimodal feature fusion: adopt decision-level fusion method to comprehensively process X-ray image features, spectral features and thermal imaging features;

[0055] In the S4 decision-level fusion method, the convolutional neural network maturity assessment model is used for frequency-selective X-ray acquisition data; the support vector machine maturity assessment model is used for near-infrared spectroscopy acquisition data; and the random forest maturity assessment model is used for thermal imaging data.

[0056] The decision-level fusion method includes the following steps:

[0057] S41. Determine the weight of each modality in the overall evaluation, determined by its performance on the validation set;

[0058] S42. Calculate the weighted average score using the formula:

[0059] Comprehensive score = w1·X-ray score + w2·spectral score + w3·

[0060] Thermal imaging scoring

[0061] S43. Select appropriate weights w1, w2, w3 so that w1+w2+w3=1.

[0062] The features from different modalities are processed comprehensively through the decision-level fusion method. Specifically, the X-ray image features can use the convolutional neural network (CNN) model, the near-infrared spectrum features can use the support vector machine (SVM) model, and the thermal imaging features can use the random forest (RF) model. Then, the output results of each model are fused by weighted averaging or voting. This method can make full use of the complementarity of different modal features and improve the accuracy and robustness of the comprehensive model.

[0063] S5. Build an evaluation model: Use deep learning algorithms to train a comprehensive maturity evaluation model based on multimodal features, and introduce adaptive learning algorithms to enable the model to automatically adjust parameters based on new data, thereby improving the adaptability and universality of the model;

[0064] In step S5, the deep learning algorithm specifically uses the long short-term memory network algorithm architecture.

[0065] In step S5, the multi-modal feature vector Ffused is obtained after multi-feature fusion of X-ray image feature extraction, near-infrared spectrum feature extraction, and thermal imaging data feature extraction.

[0066] The steps to build the long short-term memory network algorithm architecture in S5 are:

[0067] S51, input layer: input the fused multimodal feature vector Ffused;

[0068] S52, LSTM layer: Use LSTM network to process time series data features and output hidden states;

[0069] S53, fully connected layer: Use the fully connected layer to map the output of the LSTM layer to the maturity score;

[0070] S54, loss function: set the mean square error loss function.

[0071] The adaptive learning algorithm in step S5 is specifically transfer learning, and its expression is:

[0072]

[0073] Among them, θ new are the parameters of the new model, that is, the model parameters after fine-tuning; θ pretrained is the model parameters trained on the original dataset; η is the learning rate; Represents the gradient of the loss function with respect to the new model parameters; is the loss function; is the predicted value on the new data set; new is the true value on the new dataset.

[0074] Using deep learning algorithms such as long short-term memory networks (LSTM) to train comprehensive maturity assessment models on multimodal features can handle complex time series data and nonlinear relationships. The introduction of adaptive learning algorithms enables the model to automatically adjust parameters based on new data through online learning and transfer learning, and continuously optimizes to improve the adaptability and universality of the model in different scenarios and data sets. This helps the model maintain high accuracy and stability in practical applications.

[0075] S6. Real-time online detection: In the real-time processing and fusion process of multimodal data, it provides real-time adjustment of scanning parameters and strategies of frequency-selective X-ray equipment to optimize the detection process function;

[0076] Through real-time online detection, the scanning parameters and strategies of the frequency-selective X-ray equipment, such as scanning frequency, angle, etc., can be adjusted in real time according to the actual detection situation. Real-time adjustment can optimize the detection process and ensure the best detection effect under different conditions. This not only improves the detection efficiency, but also responds to changes in a timely manner, providing more accurate and timely maturity assessment results.

[0077] S7. Data storage and analysis: Upload historical test data to the cloud for storage and management, use big data analysis technology to continuously explore potential patterns in large amounts of test data, and continuously optimize the maturity assessment model.

[0078] Uploading historical test data to the cloud can facilitate data storage and management, and ensure data security and accessibility. Using big data analysis technology, massive historical data can be mined to discover potential rules and patterns, and the maturity assessment model can be continuously optimized. This continuous optimization can improve the performance of the model, enabling it to better cope with various situations in actual applications and provide more accurate and reliable test results.

[0079] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for detecting fruit maturity using frequency-selective X-ray technology. It is characterized in that The following steps are involved: S1. Sample preparation: Select a variety of different types and varieties of fruits to ensure wide sample coverage, and conduct basic physical and chemical property tests on each sample as baseline data; S2. Multimodal data collection: Use frequency-selective X-ray collection, near-infrared spectrum collection, and thermal imaging data collection to obtain fruit maturity information; S3, data feature extraction: respectively pre-process the frequency-selective X-ray acquisition, near-infrared spectrum acquisition, and thermal imaging data acquisition data; S4, multimodal feature fusion: adopt decision-level fusion method to comprehensively process X-ray image features, spectral features and thermal imaging features; S5. Build an evaluation model: Use deep learning algorithms to train a comprehensive maturity evaluation model based on multimodal features, and introduce adaptive learning algorithms to enable the model to automatically adjust parameters based on new data, thereby improving the adaptability and universality of the model; S6. Real-time online detection: In the real-time processing and fusion process of multimodal data, it provides real-time adjustment of scanning parameters and strategies of frequency-selective X-ray equipment to optimize the detection process function; S7. Data storage and analysis: Upload historical test data to the cloud for storage and management, use big data analysis technology to continuously explore potential patterns in large amounts of test data, and continuously optimize the maturity assessment model.

2. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 1, It is characterized in that In the step S1, the basic physical and chemical property detection includes collecting data on the weight, sugar content, and acidity of the fruit.

3. The fruit maturity detection method using frequency-selective X-ray technology according to claim 1, It is characterized in that The frequency-selective X-ray acquisition in step S2 performs multi-band and multi-angle X-ray scanning on the fruit through a frequency-selective X-ray device to obtain the internal structure information of the fruit; the near-infrared spectrum acquisition uses a near-infrared spectrometer to collect the chemical composition on the surface and inside of the fruit; and the thermal imaging data acquisition uses a thermal imager to obtain a temperature distribution map of the fruit surface to provide the internal maturity information of the fruit.

4. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 1, It is characterized in that In the step S3, the frequency-selective X-ray acquisition data preprocessing uses a deep learning algorithm to process the X-ray image and extract density distribution and internal structure information; the near-infrared spectrum acquisition data preprocessing uses denoising and normalization to extract characteristic band information.

5. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 1, It is characterized in that In the S4 decision-level fusion method, the frequency-selective X-ray acquisition data uses a convolutional neural network maturity assessment model; the near-infrared spectrum acquisition data uses a support vector machine maturity assessment model; and the thermal imaging data uses a random forest maturity assessment model.

6. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 5, It is characterized in that The decision-level fusion method comprises the following steps: S41. Determine the weight of each modality in the overall evaluation, determined by its performance on the validation set; S42. Calculate the weighted average score using the formula: Overall score = w 1 X-ray score +w 2 Spectral score +w 3 · Thermal imaging scoring S43. Select appropriate weight w 1 , w 2 , w 3 , so that w 1 +w 2 +w 3 =1.

7. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 1, It is characterized in that In step S5, the deep learning algorithm specifically uses a long short-term memory network algorithm architecture.

8. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 1, It is characterized in that In the step S5, the multi-modal feature vector Ffused is obtained after multi-feature fusion of X-ray image feature extraction, near infrared spectrum feature extraction, and thermal imaging data feature extraction.

9. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 8, It is characterized in that The steps for building the long short-term memory network algorithm architecture in S5 are as follows: S51, input layer: input the fused multimodal feature vector Ffused; S52, LSTM layer: Use LSTM network to process time series data features and output hidden states; S53, fully connected layer: Use the fully connected layer to map the output of the LSTM layer to the maturity score; S54, loss function: set the mean square error loss function.

10. The method for detecting fruit maturity using frequency-selective X-ray technology according to claim 1, It is characterized in that The adaptive learning algorithm in step S5 is specifically transfer learning, and its expression is: Among them, θ new are the parameters of the new model, that is, the model parameters after fine-tuning; θ pretrained is the model parameters trained on the original dataset; η is the learning rate; Represents the gradient of the loss function with respect to the new model parameters; is the loss function; is the predicted value on the new data set; new is the true value on the new dataset.

Citation Information

Cited By

  • Macadamia nut maturity evaluation system

    CN119827487A

  • Kiwi fruit maturity nondestructive testing method and device combined with near infrared spectrum

    CN122612531A