Method for constructing equivalent dynamic model of nut green peel fruits

Through deep reinforcement learning and the improved LSTM neural network model, combined with the radar chart similarity algorithm, the problem of automatic positioning and identification of nut green peel fruit picking equipment has been solved, the picking efficiency and identification accuracy have been improved, and the rapid and efficient identification of nut green peel fruit has been achieved. harvest.

CN118710787APending Publication Date: 2024-09-27GUILIN UNIV OF TECH AT NANNING
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410812957.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-23
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing nut green peel fruit picking equipment lacks automatic positioning and identification functions, resulting in low picking efficiency and affecting the growth and yield of fruit trees.

Method used

Deep reinforcement learning is used to establish an equivalent dynamic model. By obtaining the three-dimensional data of the nut green peel fruit and the mutual occlusion data of branches and leaves, combined with the radar image similarity algorithm and the improved LSTM neural network model, the rapid identification and positioning of the nut green peel fruit is achieved. .

Benefits of technology

It improves the identification accuracy and picking efficiency of nut green peel fruits, reduces picking costs, and ensures the income of fruit farmers and the sustainable development of the industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710787A
    Figure CN118710787A
Patent Text Reader

Abstract

The invention provides a method for constructing an equivalent dynamic model of nut green-peel fruits, and belongs to the technical field of model construction.The method comprises the following steps that three-dimensional data of single nut green-peel fruits and data of mutual shielding of the nut green-peel fruits and branches and leaves of nuts are obtained, a similarity algorithm is constructed based on a radar map, and a preliminary recognition model is constructed; and inputting the collected data into a random process model to carry out random data prediction and increase a data set, and designing an improved efficient LSTM neural network model to carry out data identification. Three-dimensional model data of nut green peel fruits and nut branches and leaves are obtained, then the nut green peel fruits and the nut branches and leaves are fused into a three-dimensional coordinate, an actual scene graph of the nut green peel fruits is simulated through random variation, a training data set in the early stage is increased, the accuracy of the model is improved, and the real-time performance of the nut green peel fruits is improved. The radar map similarity algorithm and the improved LSTM neural network model are set for recognition, the recognition precision is improved, the LSTM neural network model can effectively avoid data gradient explosion, and the data processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of model construction, and in particular to a method for constructing an equivalent dynamic model of a nut green-skinned fruit. Background Art

[0002] Macadamia nuts are generally harvested manually or by mechanical vibration. Manual harvesting is when the fruit is ripe, using fruit hooks to peel off the involucres one by one. When mechanical harvesting is used, the fruit trees are sprayed with ethephon two weeks before harvesting to accelerate ripening, and then the branches are mechanically vibrated to make the ripe fruits fall off. The use of ethephon will cause the leaves to fall off early, which will affect the growth of the fruit trees and the yield of the following year.

[0003] At present, most of the methods used in China are mechanical vibration, or manipulators are used for assisted harvesting, but these picking devices do not have the function of automatically locating and identifying green-skinned fruits of nuts. The picking efficiency is low, the speed is slow, and the effect is not good. Therefore, how to achieve rapid fruit harvesting and reduce picking costs is an urgent problem to be solved in the nut planting industry. This application designs an equivalent dynamic model construction method for assisting the picking of green-skinned fruits of nuts to achieve rapid identification of green-skinned fruits of nuts. Summary of the invention

[0004] The purpose of the present invention is to provide a method for constructing an equivalent dynamic model of green-skinned nuts, so as to solve the technical problem that the existing green-skinned nuts have poor recognition and positioning effects.

[0005] When macadamia nuts are picked, their fruit color is mostly turquoise, which is very similar to the color of the background leaves, making it difficult to find key features. Deep reinforcement learning is used to establish an equivalent dynamic model and scene features of turquoise fruit.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0007] A method for constructing an equivalent dynamic model of a nut green-skinned fruit, the method comprising the following steps:

[0008] Step 1: Obtain the three-dimensional data of a single nut green peel fruit;

[0009] Step 2: Obtain data in all directions where the green skin of the nut and the branches and leaves of the nut block each other;

[0010] Step 3: Build a preliminary recognition model based on the radar chart using a similarity algorithm;

[0011] Step 4: Input the collected data into the stochastic process model to perform random data prediction to increase the data set;

[0012] Step 5: Design an improved and efficient LSTM neural network model for data recognition to avoid data gradient explosion;

[0013] Step 6: Design the data acquisition input end, connect the data acquisition input end to the preliminary identification model and the random process model respectively, and connect the output end of the random process model to the improved and efficient LSTM neural network model to complete the model construction.

[0014] Furthermore, the specific process of step 1 is: picking nuts of different sizes, using a video acquisition device to collect 360° stereo video data of the nuts and green-skinned fruits, and establishing three-dimensional coordinates, placing the acquired stereo video data of the nuts and green-skinned fruits on the three-dimensional coordinates, and adding three-dimensional coordinate annotations to the stereo video data of the nuts and green-skinned fruits, and then extracting the stereo video data according to the frame to obtain a full-range feature coordinate image set of the nuts and green-skinned fruits.

[0015] Furthermore, the specific process of step 2 is: the nut branches and leaves are composed of several leaf branches, and each leaf branch has at least 2 leaves. According to the principle of step 1, the three-dimensional coordinate image set of each branch leaf and the characteristic coordinate image set of the nut green fruit are collected, and the three-dimensional coordinate images of several branch leaves and the characteristic coordinate images of the nut green fruit are put into the same three-dimensional coordinate, an end face is selected, and then the characteristic coordinate image of the nut green fruit and the three-dimensional coordinate images of several branches and leaves are randomly moved and rotated to simulate the scene of nut green fruit hanging on the tree, provided that the characteristic coordinate image of the nut green fruit can be seen on the end face or the coordinates of the characteristic coordinate image of the nut green fruit are not completely blocked, and each changed scene is used as the data source and case data source for the actual scene training of the nut green fruit.

[0016] Furthermore, the specific process of step 3 is:

[0017] The feature data of each case data source is identified, and the feature data of each case data source is represented as a case. The feature data is standardized and the case is visualized. The specific process is as follows:

[0018] Step 3.1: For feature data X o After standardization, the formula is as follows:

[0019]

[0020] Where o = 1, 2, ..., θ, X o ′ represents the normalized data, X o Represents the original value of each feature data;

[0021] Step 3.2: Consider each scene image as an evaluation index, and make each index evenly distributed on the radar chart, with X o ′ is used as the evaluation index value to construct a radar chart, o = 1, 2, ..., θ;

[0022] Step 3.3: Summarize the feature data to obtain a case library. Use the statistical method to first count the frequency of each feature in the case library, then generate the order of scene image indicators in the radar chart in descending order of frequency, and then draw the features of each scene image in a counterclockwise uniform arrangement to obtain the scene image radar chart;

[0023] Step 3.4, grayscale the generated radar image based on OpenCV, denoted as I (i) , the formula is as follows:

[0024] I (i) (px,py)=0.299×R(px,py)+0.587×G(px,py)+0.114×B(px,py)

[0025] Where (px,py) represents the pixel position, R(px,py), G(px,py), and B(px,py) represent the pixel values ​​of the red channel, green channel, and blue channel at the position (px,py), respectively;

[0026] Step 3.5: Use Otsu's adaptive thresholding method to binarize the image, denoted as Here’s how:

[0027] Calculate the normalized histogram of a grayscale image:

[0028] h(i′)=n i′ / N′

[0029] Where i′ represents the gray level 0, 1, 2, ..., L-1, L represents the gray level, the default is 256; n i′ is the number of pixels with gray value i′ in the image, N′ is the total number of pixels, that is, N′ is equal to N×N;

[0030] The mean grayscale value of the image foreground is u1, and the background is u2:

[0031]

[0032] Where t is the threshold, w1(t) and w2(t) are the weights of the foreground and background categories, respectively, and are defined as follows:

[0033]

[0034] Calculate the inter-class variance of the image foreground and background, that is, the square of the difference between the means of the two categories:

[0035] σ 2 (t)=w1(t)·w2(t)·(μ1(t)-μ2(t)) 2

[0036] Select the optimal threshold, among all possible gray levels i′, so that the between-class variance σ 2 (t) The maximum gray level is taken as the optimal threshold t:

[0037] t=argmax(σ 2 (t))

[0038] Use the optimal threshold t to transform the grayscale image I (i) Perform binarization to obtain a binary image

[0039]

[0040] in, Represents the pixel value at the position (px,py) in the binary image, I (i) (px,py) represents the pixel value at the corresponding position in the original grayscale image, and t is the selected threshold;

[0041] Step 3.6: Calculate the final difference between the two scene image radar images. Suppose any two binary scene image radar images are The difference is calculated as:

[0042]

[0043] Step 3.7: Generate a binary scene image radar map image from the collected image, and then compare it with the scene image radar map in the model library to obtain a comparison result.

[0044] Furthermore, the specific process of step 4 is: the collected data enters the random process model, and a number of extended data are predicted and expanded according to the linear principle, and then a mapping relationship is established between the extended data and the collected data, and then the extended data and the collected data are summarized as the data to be identified, and the result weight of each data is set.

[0045] Furthermore, in step 5, the LSTM neural network model includes a data input module, a data processing module, a data output module and an output data feature recognition module. The output end of the data input module is connected to the data processing module, the output end of the data processing module is connected to the data output module, the data output module is connected to the data processing module of t+1, the data output module is connected to the output data feature recognition module, and the input end of the output data feature recognition module is connected to the data processing module of t+2. The data processing module is used to memorize and forget information, and the output data feature recognition module is used to extract eigenvalues ​​from the output vector of the data processing module at time t, and then input it into the data processing module of t+2 to realize the re-memory of the processed data and improve the data processing efficiency.

[0046] Furthermore, in step 6, the data acquisition input terminal is connected to the image acquisition terminal of the nut green fruit picking device to obtain the collected data in real time.

[0047] The present invention has the following beneficial effects due to the adoption of the above technical solution:

[0048] (1) The present invention obtains the three-dimensional model data of the green-skinned fruit of the nut and the branches and leaves of the nut, and then integrates the green-skinned fruit of the nut and the branches and leaves of the nut into a three-dimensional coordinate, and then randomly changes to simulate the actual scene diagram of the green-skinned fruit of the nut, thereby increasing the early training data set and improving the accuracy of the model. At the same time, a radar chart similarity algorithm and an improved LSTM neural network model are set for recognition to improve the recognition accuracy. At the same time, the LSTM neural network model can effectively avoid data gradient explosion and improve data processing efficiency.

[0049] (2) Overcome the technical difficulties of nut picking target detection, realize rapid fruit identification and harvesting, improve nut picking efficiency, ensure increased income for fruit farmers, improve the overall benefits of the industry, and achieve sustainable development of the macadamia nut industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a flow chart of the method of the present invention;

[0051] Figure 2 It is a schematic diagram of the structure of the improved and efficient LSTM neural network model of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many details listed in the specification are only for the purpose of enabling the reader to have a thorough understanding of one or more aspects of the present invention, and these aspects of the present invention can be implemented even without these specific details.

[0053] like Figure 1 As shown, a method for constructing an equivalent dynamic model of a nut green-skinned fruit comprises the following steps:

[0054] Step 1: Obtain the three-dimensional data of a single nut green-skinned fruit. Pick nut green-skinned fruits of different sizes, use a video acquisition device to collect 360° stereo video data of the nut green-skinned fruits, and establish three-dimensional coordinates. Put the acquired stereo video data of the nut green-skinned fruit on the three-dimensional coordinates, add three-dimensional coordinate annotations to the stereo video data of the nut green-skinned fruit, and then extract the stereo video data in accordance with the zhen to obtain a full range of characteristic coordinate image sets of the nut green-skinned fruit. By obtaining the three-dimensional data of multiple nut green-skinned fruits, when obtaining nut green-skinned fruits, try to obtain nut green-skinned fruits of different sizes and structures, so as to achieve richer data and provide an accurate data source for later identification.

[0055] Step 2: Obtain data from all directions where the nuts and green peel fruits and the leaves of the nuts branches and leaves block each other. The leaves of the nuts branches and leaves are composed of several leaf branches, and each leaf branch has at least 2 leaves. According to the principle of step 1, collect the three-dimensional coordinate image set of each branch leaf and the characteristic coordinate image set of the nuts and green peel fruits, put several three-dimensional coordinate images of branch leaves and the characteristic coordinate image of the nuts and green peel fruits into the same three-dimensional coordinate, select an end face, and then randomly move and rotate the characteristic coordinate image of the nuts and green peel fruits and several three-dimensional coordinate images of branch leaves to simulate the scene of the nuts and green peel fruits hanging on the tree, provided that the characteristic coordinate image of the nuts and green peel fruits can be seen on the end face or the coordinates of the characteristic coordinate image of the nuts and green peel fruits are not completely blocked, and use each changing scene as the data source and case data source for the actual scene training of the nuts and green peel fruits.

[0056] In the leaves of nut branches, generally a leaf is obtained separately. There are generally more than two leaves on the branches, for example, one part contains two leaves, one part contains three leaves, and one part contains four leaves, etc. The leaves are obtained according to the actual situation of the nut leaves, and the three-dimensional model data of multiple branches and leaves with different numbers of leaves are obtained. Then, the data of each different nut green fruit model in step 1 is used with the model data of all nut branches and leaves to simulate the actual situation of the nut green fruit hanging on the branch, so that the initial training and case data are increased by computer, and the scene image is quickly acquired, which greatly reduces the workload of manual actual image collection. At the same time, through data transformation simulation, the data source is enriched, providing more data sources for the later stage, which is incomparable to manual collection.

[0057] Step 3: Build a preliminary recognition model based on the radar chart by constructing a similarity algorithm. Perform feature recognition on each case data source, represent the feature data of each case data source as a case, standardize the feature data, and visualize the case. The specific process is as follows:

[0058] Step 3.1: For feature data X o After standardization, the formula is as follows:

[0059]

[0060] Where o = 1, 2, ..., θ, X o ′ represents the normalized data, X o Represents the original value of each feature data;

[0061] Step 3.2: Consider each scene image as an evaluation index, and make each index evenly distributed on the radar chart, with X o ′ is used as the evaluation index value to construct a radar chart, o = 1, 2, ..., θ;

[0062] Step 3.3: Summarize the feature data to obtain a case library. Use the statistical method to first count the frequency of each feature in the case library, then generate the order of scene image indicators in the radar chart in descending order of frequency, and then draw the features of each scene image in a counterclockwise uniform arrangement to obtain the scene image radar chart;

[0063] Step 3.4, grayscale the generated radar image based on OpenCV, denoted as I (i) , the formula is as follows:

[0064] I (i) (px,py)=0.299×R(px,py)+0.587×G(px,py)+0.114×B(px,py)

[0065] Where (px,py) represents the pixel position, R(px,py), G(px,py), and B(px,py) represent the pixel values ​​of the red channel, green channel, and blue channel at the position (px,py), respectively;

[0066] Step 3.5: Use Otsu's adaptive thresholding method to binarize the image, denoted as Here’s how:

[0067] Calculate the normalized histogram of a grayscale image:

[0068] h(i′)=n i′ / N′

[0069] Where i′ represents the gray level 0, 1, 2, ..., L-1, L represents the gray level, the default is 256; n i′ is the number of pixels with gray value i′ in the image, N′ is the total number of pixels, that is, N′ is equal to N×N;

[0070] The mean grayscale value of the image foreground is u1, and the background is u2:

[0071]

[0072] Where t is the threshold, w1(t) and w2(t) are the weights of the foreground and background categories, respectively, and are defined as follows:

[0073]

[0074] Calculate the inter-class variance of the image foreground and background, that is, the square of the difference between the means of the two categories:

[0075] σ 2 (t)=w1(t)·w2(t)·(μ1(t)-μ2(t)) 2

[0076] Select the optimal threshold, among all possible gray levels i′, so that the between-class variance σ 2 (t) The maximum gray level is taken as the optimal threshold t:

[0077] t=argmax(σ 2 (t))

[0078] Use the optimal threshold t to transform the grayscale image I (i) Perform binarization to obtain a binary image

[0079]

[0080] in, Represents the pixel value at the position (px,py) in the binary image, I (i) (px,py) represents the pixel value at the corresponding position in the original grayscale image, and t is the selected threshold;

[0081] Step 3.6: Calculate the final difference between the two scene image radar images. Suppose any two binary scene image radar images are The difference is calculated as:

[0082]

[0083] Step 3.7: Generate a binary scene image radar map image from the collected image, and then compare it with the scene image radar map in the model library to obtain a comparison result.

[0084] The preliminary identification model is a fast preliminary identification of the collected data in the form of case comparison. The comparison speed is fast and the results are accurate. The overall result data is compared as a whole to achieve rapid output of comparison results.

[0085] Step 4: Input the collected data into the random process model to perform random data prediction and increase the data set. The collected data enters the random process model, and according to the linear principle, it is predicted to expand several extended data, and then the extended data and the collected data are mapped. The extended data and the collected data are then summarized as the data to be identified, and the result weight of each data is set. The collected data is amplified to make the comparison results uniform, so as to avoid a special feature recognition falling into a special recognition result. By amplifying the recognition data, the output result data is homogenized, making the results more accurate, and can effectively filter out the situation where the green leaves block the green skin of the nuts.

[0086] Step 5: Design an improved and efficient LSTM neural network model for data recognition to avoid data gradient explosion. Figure 2 As shown, the LSTM neural network model includes a data input module, a data processing module, a data output module and an output data feature recognition module. The output end of the data input module is connected to the data processing module, the output end of the data processing module is connected to the data output module, the data output module is connected to the data processing module of t+1, the data output module is connected to the output data feature recognition module, and the input end of the output data feature recognition module is connected to the data processing module of t+2. The data processing module is used to memorize and forget information, and the output data feature recognition module is used to extract feature values ​​from the output vector of the data processing module at time t, and then input it into the data processing module of t+2 to realize the re-memory of the processed data and improve the data processing efficiency.

[0087] The calculation process of the data processing module is:

[0088]

[0089] h t =o t *tanh(c t ) (6)

[0090] Among them, x t represents the input at time t, h t represents the hidden state value at time t, W with different subscripts represents the weights of different input values, and b with different subscripts represents the bias of different inputs. represents the cell state of the current input memory information, σ represents the gated activation function sigmoid, h′ t-2 Represents the feature of the hidden unit value at time t-2, W h-2 、b h-2 They represent the parameters and bias of the hidden unit value at time t-2 respectively. The improved LSTM neural network model can prevent the gradient from disappearing, has a faster convergence speed, and has stronger feature extraction and representation capabilities.

[0091] Step 6: Design the data acquisition input terminal, which is connected to the preliminary recognition model and the random process model respectively, and the output terminal of the random process model is connected to the improved and efficient LSTM neural network model to complete the model construction. The data acquisition input terminal is connected to the image acquisition terminal of the nut and green fruit picking equipment to obtain the collected data in real time.

[0092] By obtaining the three-dimensional model data of the green-skinned nuts and the branches and leaves of the nuts, and then integrating the green-skinned nuts and the branches and leaves of the nuts into a three-dimensional coordinate, and then randomly changing them to imitate the actual scene diagram of the green-skinned nuts, the early training data set is increased to improve the accuracy of the model. At the same time, the radar chart similarity algorithm and the improved LSTM neural network model are set for recognition to improve the recognition accuracy. At the same time, the LSTM neural network model can effectively avoid data gradient explosion and improve data processing efficiency.

[0093] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for constructing an equivalent dynamic model of green-skinned nuts, characterized in that: The method comprises the following steps: Step 1: Obtain the three-dimensional data of a single nut green peel fruit; Step 2: Obtain data in all directions where the green skin of the nut and the branches and leaves of the nut block each other; Step 3: Build a preliminary recognition model based on the radar chart using a similarity algorithm; Step 4: Input the collected data into the stochastic process model to perform random data prediction to increase the data set; Step 5: Design an improved and efficient LSTM neural network model for data recognition to avoid data gradient explosion; Step 6: Design the data acquisition input end, connect the data acquisition input end to the preliminary identification model and the random process model respectively, and connect the output end of the random process model to the improved and efficient LSTM neural network model to complete the model construction.

2. The method for constructing an equivalent dynamic model of a nut green-skinned fruit according to claim 1, characterized in that: The specific process of step 1 is: pick nuts of different sizes, use a video acquisition device to collect 360° stereo video data of the nuts and green-skinned fruits, and establish three-dimensional coordinates, put the acquired stereo video data of the nuts and green-skinned fruits on the three-dimensional coordinates, and add three-dimensional coordinate annotations to the stereo video data of the nuts and green-skinned fruits, and then extract the stereo video data according to the frame to obtain a full-range feature coordinate image set of the nuts and green-skinned fruits.

3. The method for constructing an equivalent dynamic model of a nut green-skinned fruit according to claim 1, characterized in that: The specific process of step 2 is: the nut branches and leaves are composed of several leaf branches, and each leaf branch has at least 2 leaves. According to the principle of step 1, the three-dimensional coordinate image set of each branch leaf and the characteristic coordinate image set of the nut green fruit are collected, and several three-dimensional coordinate images of branch leaves and the characteristic coordinate image of the nut green fruit are put into the same three-dimensional coordinate, and an end face is selected. Then, the characteristic coordinate image of the nut green fruit and the three-dimensional coordinate images of several branches and leaves are randomly moved and rotated to simulate the scene of nut green fruit hanging on the tree, provided that the characteristic coordinate image of the nut green fruit can be seen on the end face or the coordinates of the characteristic coordinate image of the nut green fruit are not completely blocked, and each changed scene is used as the data source and case data source for the actual scene training of the nut green fruit.

4. The method for constructing an equivalent dynamic model of a nut green-skinned fruit according to claim 3, characterized in that: The specific process of step 3 is: The feature data of each case data source is identified, and the feature data of each case data source is represented as a case. The feature data is standardized and the case is visualized. The specific process is as follows: Step 3.1: For feature data X o The standardized formula is as follows: Where o = 1, 2, ..., θ, X o ′ represents the normalized data, X o Represents the original value of each feature data; Step 3.2: Consider each scene image as an evaluation index, and make each index evenly distributed on the radar chart, with X o ′ is used as the evaluation index value to construct a radar chart, o = 1, 2, ..., θ; Step 3.3: Summarize the feature data to obtain a case library. Use the statistical method to first count the frequency of each feature in the case library, then generate the order of scene image indicators in the radar chart in descending order of frequency, and then draw the features of each scene image in a counterclockwise uniform arrangement to obtain the scene image radar chart; Step 3.4, grayscale the generated radar image based on OpenCV, denoted as I (i) , the formula is as follows: I (i) (px,py)=0.299×R(px,py)+0.587×G(px,py)+0.114×B(px,py) Where (px,py) represents the pixel position, R(px,py), G(px,py), and B(px,py) represent the pixel values ​​of the red channel, green channel, and blue channel at the position (px,py), respectively; Step 3.5: Use Otsu's adaptive thresholding method to binarize the image, denoted as Here’s how: Calculate the normalized histogram of a grayscale image: h(i′)=n i′ / N′ Where i′ represents the gray level 0, 1, 2, ..., L-1, L represents the gray level, the default is 256; n i′ is the number of pixels with gray value i′ in the image, N′ is the total number of pixels, that is, N′ is equal to N×N; The mean grayscale value of the image foreground is u1, and the background is u2: Where t is the threshold, w1(t) and w2(t) are the weights of the foreground and background categories, respectively, and are defined as follows: Calculate the inter-class variance of the image foreground and background, that is, the square of the difference between the means of the two categories: σ 2 (t)=w1(t)·w2(t)·(μ1(t)-μ2(t)) 2 Select the optimal threshold, among all possible gray levels i′, so that the between-class variance σ 2 (t) The maximum gray level is taken as the optimal threshold t: t=argmax(σ 2 (t)) Use the optimal threshold t to transform the grayscale image I (i) Perform binarization to obtain a binary image in, Represents the pixel value at the position (px,py) in the binary image, I (i) (px,py) represents the pixel value at the corresponding position in the original grayscale image, and t is the selected threshold; Step 3.6: Calculate the final difference between the two scene image radar images. Suppose any two binary scene image radar images are The difference is calculated as: Step 3.7: Generate a binary scene image radar map image from the collected image, and then compare it with the scene image radar map in the model library to obtain a comparison result.

5. The method for constructing an equivalent dynamic model of a nut green-skinned fruit according to claim 1, characterized in that: The specific process of step 4 is: the collected data enters the random process model, and a number of extended data are predicted and expanded according to the linear principle, and then a mapping relationship is established between the extended data and the collected data, and then the extended data and the collected data are summarized as the data to be identified, and the result weight of each data is set.

6. The method for constructing an equivalent dynamic model of a nut green-skinned fruit according to claim 1, characterized in that: In step 5, the LSTM neural network model includes a data input module, a data processing module, a data output module and an output data feature recognition module. The output end of the data input module is connected to the data processing module, the output end of the data processing module is connected to the data output module, the data output module is connected to the data processing module of t+1, the data output module is connected to the output data feature recognition module, and the input end of the output data feature recognition module is connected to the data processing module of t+2. The data processing module is used to memorize and forget information, and the output data feature recognition module is used to extract eigenvalues ​​from the output vector of the data processing module at time t, and then input it into the data processing module of t+2 to realize the re-memory of the processed data and improve the data processing efficiency.

7. The method for constructing an equivalent dynamic model of a nut green-skinned fruit according to claim 1, characterized in that: In step 6, the data acquisition input terminal is connected to the image acquisition terminal of the nut green fruit picking equipment to obtain the collected data in real time.

Citation Information

Cited By

  • Nut green peel fruit recognition positioning and automatic picking control method based on image recognition and picking device

    CN119741478A