Orchard fruit maturity assessment and picking planning system based on intelligent image analysis

Through intelligent image analysis technology, combined with multispectral imaging and deep learning, it solves the problems of low efficiency of traditional fruit maturity assessment and inaccurate picking planning, achieves high-precision fruit maturity assessment and picking path optimization, and improves the efficiency of orchard management. scientific and economic benefits.

CN118628847BActive Publication Date: 2024-10-15LINYI AGRI TECH EXTENSION CENT
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411112368.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-10-15
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

Traditional fruit maturity assessment methods are inefficient, have large errors, and cannot be accurately managed in large-scale orchards. Moreover, the picking planning system lacks scientific integration of fruit maturity and environmental data, resulting in insufficient timeliness and accuracy.

Method used

A system based on intelligent image analysis is adopted, including an image acquisition module, an image processing module and a picking planning module. It utilizes multispectral imaging technology, deep learning algorithm and adaptive threshold segmentation technology, combined with environmental illumination compensation and texture direction standardization, to carry out fruit ripening. Degree evaluation and picking path optimization.

Benefits of technology

It achieves high-precision fruit maturity assessment in complex orchard environments, improves the timeliness of picking and the reliability of quality detection, optimizes picking paths and time arrangements, and reduces fruit losses and picking costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628847B_ABST
    Figure CN118628847B_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of fruit image analysis, and in particular to an orchard fruit maturity evaluation and picking planning system based on intelligent image analysis, comprising an image acquisition module, an image processing module, a maturity evaluation module and a picking planning module, wherein: the image acquisition module is used to acquire image data of fruits in an orchard; the image processing module is used to preprocess the image data acquired by the image acquisition module, including image enhancement, adaptive threshold segmentation, and texture direction standardization; the maturity evaluation module analyzes and evaluates the maturity of the fruit by using a deep learning algorithm based on the image data processed by the image processing module, and obtains the maturity grade of the fruit; the picking planning module generates a dynamic picking planning scheme according to the evaluation result of the maturity evaluation module. The invention ensures that the fruit is picked in an optimal maturity state, and effectively improves the detection accuracy and reliability of the fruit quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fruit image analysis, and in particular to an orchard fruit maturity evaluation and picking planning system based on intelligent image analysis. Background Art

[0002] With the continuous modernization of agricultural production, orchard management is gradually developing in the direction of intelligence and automation. Fruit maturity assessment and picking planning are key links in orchard management, which directly affect the quality and market value of the fruit. However, traditional fruit maturity assessment methods mainly rely on manual observation and empirical judgment, which are not only inefficient and have large errors, but also difficult to accurately manage in large-scale orchards. Existing fruit picking mostly relies on manual or semi-automatic operations, lacking scientific planning of fruit maturity, environmental conditions and picking routes, resulting in insufficient timeliness and accuracy of fruit picking, which can easily cause over-ripening or damage of fruits, thus affecting the economic benefits of the orchard.

[0003] In existing technologies, fruit maturity assessment is mostly based on simple external features such as color and shape, and is processed using ordinary RGB images, which cannot accurately reflect the internal quality of the fruit. Moreover, traditional image processing algorithms are easily disturbed when faced with uneven lighting and diverse fruit colors in complex orchard environments, resulting in inaccurate maturity assessment results. In addition, existing picking planning systems are mostly based on static data and cannot dynamically respond to environmental changes in orchards. They also fail to effectively integrate fruit maturity and environmental data, making it impossible to optimize picking routes and time arrangements. Summary of the invention

[0004] Based on the above objectives, the present invention provides an orchard fruit maturity assessment and picking planning system based on intelligent image analysis.

[0005] The orchard fruit maturity assessment and picking planning system based on intelligent image analysis includes an image acquisition module, an image processing module, a maturity assessment module and a picking planning module, wherein;

[0006] The image acquisition module is used to collect image data of fruits in the orchard, and uses multispectral imaging technology to collect the appearance, color, and texture characteristics of the fruits with high precision;

[0007] The image processing module is used to pre-process the image data collected by the image acquisition module, including image enhancement, adaptive threshold segmentation, and texture direction standardization to ensure the clarity and accuracy of the image; the image enhancement also includes adaptive brightness adjustment, which introduces the ambient light intensity based on the traditional histogram equalization. and fruit surface reflectivity As a regulating factor, the image enhancement process is dynamically adjusted according to the actual environment; the adaptive threshold segmentation is an adaptive segmentation based on regional features, calculating the local threshold When considering the gray mean At the same time, the complexity of the fruit surface texture is introduced As a regulating factor; the texture direction standardization introduces fruit shape characteristics As a reference for adjusting the grain direction, the grain direction standardization process can be adaptively adjusted according to the natural growth direction of the fruit;

[0008] The maturity assessment module uses deep learning algorithms to analyze and assess the maturity of the fruit based on the image data processed by the image processing module, and comprehensively considers the external characteristics and internal quality of the fruit to derive the maturity grade of the fruit. ;

[0009] The picking planning module generates a dynamic picking planning scheme based on the evaluation results of the maturity assessment module, optimizes the picking path and picking time, and realizes accurate picking of fruits.

[0010] Optionally, the image acquisition module includes a multispectral camera, an illumination compensation unit and an automatic focusing device;

[0011] The multispectral camera collects image data of fruits in the orchard under multiple spectral bands, and captures the appearance, color and texture characteristics of the fruits through the combination of different spectral bands;

[0012] The illumination compensation unit dynamically adjusts the light source intensity when the illumination condition is insufficient or uneven, so as to ensure that the brightness and contrast of the collected image meet the high-precision requirements;

[0013] The automatic focusing device adjusts the camera focal length in real time according to the distance and size of the fruit to obtain clear fruit image data.

[0014] Optionally, the adaptive brightness adjustment is expressed as:

[0015] ;

[0016] in, is the adjustment coefficient used to control the impact of light compensation. is the ambient light intensity, is the reflectivity of the fruit surface.

[0017] Optionally, the adaptive segmentation based on regional features is expressed as:

[0018] ;

[0019] in, is the grayscale standard deviation of the local area, which is used to measure the local contrast. is the local texture complexity, and is the adjustment coefficient, is the grayscale mean.

[0020] Optionally, the texture direction normalization is expressed as:

[0021] ;

[0022] in, By analyzing the outline shape and main axis direction of the fruit, is the adjustment coefficient of the shape feature, For the image at pixel points The normalized texture direction angle at is used to unify the direction of the fruit texture. It is the preset target texture direction angle, which is used to standardize the direction of the texture in the fruit image so that all textures are aligned with the target direction.

[0023] Optionally, the maturity assessment module includes a feature extraction submodule, a deep learning assessment submodule and a maturity level classification submodule, wherein;

[0024] The feature extraction submodule extracts features from the image data processed by the image processing module, including external features and internal quality features of the fruit. The external features include color, shape, and texture, and the internal quality features include spectral reflectance and internal tissue texture. For the external features, a convolutional neural network (CNN) is used to extract the feature vectors of the color histogram, shape contour, and texture complexity of the fruit. ,For the internal quality characteristics, the spectral feature vector reflecting the internal quality of the fruit is extracted by analyzing the multispectral image data;

[0025] The deep learning evaluation submodule generates an external feature vector generated by the feature extraction submodule. and the internal eigenvector Fusion to form a comprehensive feature vector , through the pre-trained deep neural network model DNN, the comprehensive feature vector Perform analysis to predict the maturity score of fruit ;

[0026] The maturity level classification submodule converts the maturity score generated by the deep learning assessment submodule into Compare with the preset maturity level threshold to finally determine the maturity level of the fruit .

[0027] Optionally, the maturity score Based on the activation value of the network output layer, it is calculated by the following formula: ,in, is the weight matrix of the deep neural network model, is the bias term, is the activation function.

[0028] Optionally, the maturity level Determined by the following classification criteria:

[0029] ;

[0030] in, and is the preset maturity level threshold.

[0031] Optionally, the picking planning module specifically includes:

[0032] Data integration submodule: receives the fruit maturity grade generated by the maturity assessment module , get geographic location information , forming a fruit distribution map, and identifying the fruit areas with high maturity and the areas that need to be picked first in the orchard by analyzing the integrated data;

[0033] Path optimization submodule: Based on the fruit distribution map generated by the data integration submodule, the path optimization algorithm is used to calculate the best picking path , the goal of path optimization is to minimize the length of the picking path and picking time , while ensuring that the quality of the fruit is not damaged, the objective function of the path optimization algorithm is as follows:

[0034] ;

[0035] in, For Fruit and The distance between is the terrain influence factor of the orchard environment on the picking path, including the terrain complexity, slipperiness, and the influence of obstacles on the picking path. The unit is dimensionless. For the best picking path;

[0036] Time scheduling submodule: The time scheduling submodule is based on the maturity level of the fruit. , dynamically adjust the picking time to ensure that the fruit is picked at the best maturity conditions, and the time scheduling is optimized by starting the picking and end time to achieve.

[0037] Optionally, the time scheduling process takes into account weather forecast, fruit maturity and availability of picking equipment, expressed as: ,in, Indicates at time The average maturity level of the fruit, For the harvesting time span, the optimization goal is to ensure that the fruit is picked in the shortest time at the highest maturity. Optimize the function for time.

[0038] Beneficial effects of the present invention:

[0039] The present invention, by introducing a number of improved algorithms such as multispectral imaging technology, ambient light compensation, adaptive threshold segmentation, texture direction standardization, etc., combined with a deep learning model, realizes a comprehensive analysis and evaluation of the external characteristics and internal quality of the fruit. In particular, through the improvement of algorithms such as image enhancement and adaptive threshold segmentation, the present invention can accurately evaluate the maturity of each fruit in a complex orchard environment, overcoming the limitations of traditional methods under conditions such as uneven lighting and diverse fruit colors. This high-precision evaluation method ensures that the fruit is picked in the optimally mature state, effectively improving the detection accuracy and reliability of the fruit quality.

[0040] In the present invention, the picking planning module generates a dynamic picking planning scheme by integrating the fruit maturity assessment results and real-time environmental monitoring data. Through the improved path optimization algorithm, environmental influencing factors such as terrain complexity, slippery degree and obstacle distribution are taken into account, which significantly improves the scientificity and practicality of picking path and time scheduling. Especially when the orchard terrain is complex and changeable, the optimization and dynamic scheduling of the picking path can effectively reduce the picking time and cost and improve the overall picking efficiency.

[0041] The present invention can intelligently identify areas in the orchard that need priority picking by comprehensively analyzing the maturity level of fruits in the orchard and environmental influencing factors, and optimize the picking path and time arrangement in combination with a deep learning algorithm. The present invention combines high-precision evaluation of fruit maturity with comprehensive analysis of real-time environmental data, so that the present invention can adapt to the complex and changeable conditions in the orchard, reasonably plan the picking order, and reduce the loss of fruits due to over-ripening or delayed picking. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1is a schematic diagram of an image processing module according to an embodiment of the present invention;

[0044] Figure 2 Schematic diagram of system function modules according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. At the same time, it is explained here that in order to make the embodiments more detailed, the following embodiments are the best and preferred embodiments, and those skilled in the art may also adopt other alternatives to implement some known technologies; and the accompanying drawings are only for more specific description of the embodiments, and are not intended to specifically limit the present invention.

[0046] It should be noted that the references to "one embodiment", "embodiment", "exemplary embodiments", "some embodiments" and the like in the specification indicate that the embodiments described may include specific features, structures or characteristics, but not every embodiment may include the specific features, structures or characteristics. In addition, when a specific feature, structure or characteristic is described in conjunction with an embodiment, it should be within the knowledge of a person skilled in the art to implement such feature, structure or characteristic in conjunction with other embodiments (whether or not explicitly described).

[0047] In general, a term can be understood, at least in part, from its use in context. For example, depending, at least in part, on the context, the term "one or more" as used herein can be used to describe any feature, structure, or characteristic in the singular sense, or can be used to describe a combination of features, structures, or characteristics in the plural sense. Additionally, the term "based on" can be understood as not necessarily intended to convey an exclusive set of factors, but can instead, depending, at least in part, on the context, allow for the presence of other factors that are not necessarily explicitly described.

[0048] like Figure 1-Figure 2 As shown, the orchard fruit maturity assessment and picking planning system based on intelligent image analysis includes an image acquisition module, an image processing module, a maturity assessment module and a picking planning module, wherein;

[0049] The image acquisition module is used to collect image data of fruits in the orchard, and uses multispectral imaging technology to collect the appearance, color, and texture characteristics of the fruits with high precision;

[0050] The image processing module is used to pre-process the image data collected by the image acquisition module, including image enhancement, adaptive threshold segmentation, and texture direction standardization to ensure the clarity and accuracy of the image; image enhancement also includes adaptive brightness adjustment, which introduces ambient light intensity based on traditional histogram equalization. and fruit surface reflectivity As a regulating factor, the image enhancement process is dynamically adjusted according to the actual environment; adaptive threshold segmentation is an adaptive segmentation based on regional features, calculating the local threshold When considering the gray mean At the same time, the complexity of the fruit surface texture is introduced As a regulating factor; Texture direction normalization introduces fruit shape characteristics As a reference for adjusting the grain direction, the grain direction standardization process can be adaptively adjusted according to the natural growth direction of the fruit;

[0051] In some fruit images, the texture direction may be affected by the shooting angle. Through standardization, the texture direction can be unified, making subsequent feature extraction more consistent and reliable;

[0052] Adaptive threshold segmentation technology is used to segment the fruit image so as to accurately extract the fruit area in the case of uneven lighting or diverse fruit colors.

[0053] The maturity assessment module uses deep learning algorithms to analyze and assess the maturity of the fruit based on the image data processed by the image processing module, and comprehensively considers the external characteristics and internal quality of the fruit to derive the maturity grade of the fruit. ;

[0054] The picking planning module generates a dynamic picking planning scheme based on the evaluation results of the maturity assessment module, optimizes the picking path and picking time, and realizes accurate picking of fruits.

[0055] The image acquisition module includes a multispectral camera, an illumination compensation unit and an automatic focusing device;

[0056] The multispectral camera collects image data of fruits in the orchard under multiple spectral bands, and captures the appearance, color and texture characteristics of the fruits through the combination of different spectral bands. The multispectral camera collects image data of fruits in the orchard under multiple spectral bands (visible light, near infrared, ultraviolet light), and obtains the reflection or absorption characteristics of fruits under different spectral conditions by setting different spectral band filters.

[0057] Set the band to , the image data collected in each band is , the final multispectral image data Is the combination of each band image:

[0058] , through the weighted combination of images of different bands, the specific appearance, color and texture characteristics of the fruit are highlighted, as shown below:

[0059] ,in, For band The weight coefficient can be adjusted according to the requirements of fruit characteristics to achieve the best feature extraction effect;

[0060] The light compensation unit dynamically adjusts the light intensity when the light conditions are insufficient or uneven to ensure that the brightness and contrast of the captured image meet high-precision requirements; the light compensation unit uses a light sensor to monitor the light intensity of the capture environment in real time. , when the light intensity is lower than the preset threshold When the light compensation unit starts the compensation light source, the final light intensity is within the standard range. :

[0061] ,in, ,and Ensure that it is within the preset range Inside;

[0062] The automatic focusing device adjusts the camera focus in real time according to the distance and size of the fruit to obtain clear fruit image data, thereby improving the accuracy of subsequent image processing and maturity assessment; the automatic focusing device calculates the distance between the camera and the fruit and the size of the fruit Adjust the camera focus in real time , the formula is as follows: ,in, is the aperture diameter of the camera, by adjusting the focal length , so that the captured fruit images maintain clarity in all bands.

[0063] Improved image enhancement algorithm In an orchard environment, the lighting conditions may be very complex and change rapidly. Traditional histogram equalization may not be able to adapt to such a changing environment. Therefore, the image enhancement algorithm will be improved as follows based on the ambient light intensity and the surface characteristics of the fruit:

[0064] Adaptive brightness adjustment is expressed as:

[0065] ;

[0066] in, is the adjustment coefficient used to control the impact of light compensation. is the ambient light intensity, is the reflectivity of the fruit surface.

[0067] The practical significance of this is that image enhancement no longer relies solely on the grayscale histogram of the image, but can automatically adjust the brightness according to the lighting conditions on site and the surface characteristics of the fruit, ensuring that clear fruit images can be obtained even when the lighting changes dramatically.

[0068] Ambient light intensity Determination of:

[0069] Ambient light intensity Real-time measurement is performed through light sensors set up in the orchard. The specific steps are as follows:

[0070] Sensor placement: Light sensors (such as photoresistors or photodiodes) are installed at multiple locations in the orchard. The sensors measure the intensity of sunlight or the brightness of ambient light sources. The sensors collect light intensity data and calculate the ambient light intensity at that location using a weighted average method based on the light sensor data at the location where the fruit is located. .

[0071] Fruit surface reflectivity Determination of: Fruit surface reflectivity It is determined by comparing the multispectral camera with a standard plate of known reflectivity. The specific steps are as follows:

[0072] Standard plate calibration: When photographing the fruit, place a standard plate with known reflectivity (usually a grayscale standard plate) near the fruit for photographing. Image analysis: Use a multispectral camera to capture images of the standard plate and the fruit, analyze the intensity of reflected light, and calculate the reflectivity: Calculate the actual reflectivity of the fruit surface by comparing the known reflectivity of the standard plate with the light intensity in the captured image. , the calculation formula is as follows:

[0073] ,in, and are the reflected light intensities of the fruit and the standard plate in the image, is the known reflectivity of the standard plate.

[0074] Improved adaptive threshold segmentation algorithm: The traditional adaptive threshold segmentation method may have unstable performance under complex lighting conditions in orchards. To this end, the following improvement scheme is proposed:

[0075] The adaptive segmentation based on regional features is expressed as:

[0076] ;

[0077] in, is the grayscale standard deviation of the local area, which is used to measure the local contrast. is the local texture complexity, and is the adjustment coefficient, is the grayscale mean.

[0078] By introducing the texture complexity factor, the algorithm can better adapt to the changes in the surface features of the fruit, thereby maintaining a stable segmentation effect under different lighting conditions and avoiding over-segmentation or under-segmentation. This improvement has significant practical significance for the segmentation of fruit images under complex backgrounds.

[0079] Complexity of fruit surface texture Determination of:

[0080] Complexity of fruit surface texture By calculating the gray level co-occurrence matrix (GLCM) of the fruit image, the specific steps are as follows:

[0081] Gray-level co-occurrence matrix generation: Extract specific regions (usually or Gray-level co-occurrence matrix of pixel block , representing the spatial relationship between different gray levels.

[0082] Texture complexity calculation: Based on the gray level co-occurrence matrix, the texture complexity indicators of the image are calculated, such as contrast, energy, entropy and uniformity. The texture complexity calculation is as follows: ,in, is the number of gray levels, are the elements of the gray-level co-occurrence matrix.

[0083] Texture complexity normalization: The calculated texture complexity is normalized to ensure comparability between different images.

[0084] Improved texture direction standardization algorithm: In order to address the problem of inconsistent texture directions of fruits in orchards due to different growth orientations, the improved texture direction standardization algorithm is as follows:

[0085] The normalized representation of the texture direction is:

[0086] ;

[0087] in, By analyzing the outline shape and main axis direction of the fruit, is the adjustment coefficient of the shape feature, For the image at pixel points The normalized texture direction angle at is used to unify the direction of the fruit texture. It is the preset target texture direction angle, which is used to standardize the direction of the texture in the fruit image so that all textures are aligned with the target direction.

[0088] This improvement makes the texture direction standardization more consistent with the natural shape of the fruit, reduces the problem of inconsistent texture direction caused by different growth directions of the fruit, and thus improves the accuracy of subsequent feature extraction and analysis.

[0089] Fruit shape characteristics Determination of:

[0090] Fruit shape characteristics It is determined by fruit contour analysis and main axis direction calculation. The specific steps are as follows:

[0091] Fruit contour extraction: Use Canny edge detection to extract the fruit contour from the binarized fruit image.

[0092] Calculation of the main axis: Perform principal component analysis (PCA) on the fruit contour to calculate the main axis direction of the fruit and secondary axis direction .

[0093] Shape feature calculation: The shape features of the fruit are calculated based on the length ratio of the main axis and the secondary axis, as well as the roundness and ellipticity of the fruit outline. , the shape feature calculation formula is as follows: ,in, is the roundness, calculated by the following formula: ,in, is the length of the main axis of the fruit outline, is the length of the minor axis of the fruit outline, is the area of ​​the fruit outline, in pixels squared.

[0094] The maturity assessment module includes a feature extraction submodule, a deep learning assessment submodule and a maturity level classification submodule, wherein;

[0095] The feature extraction submodule extracts features from the image data processed by the image processing module, including the external features and internal quality features of the fruit. The external features include color, shape, and texture, and the internal quality features include spectral reflectance and internal tissue texture. For external features, a convolutional neural network (CNN) is used to extract the feature vectors of the fruit's color histogram, shape contour, and texture complexity. ,For the internal quality characteristics, the spectral feature vector reflecting the internal quality of the fruit is extracted by analyzing the multispectral image data;

[0096] The deep learning evaluation submodule converts the external feature vector generated by the feature extraction submodule into and the internal eigenvector Fusion to form a comprehensive feature vector , through the pre-trained deep neural network model DNN, the comprehensive feature vector Perform analysis to predict the maturity score of fruit ;

[0097] The maturity level classification submodule converts the maturity scores generated by the deep learning assessment submodule into Compare with the preset maturity level threshold to finally determine the maturity level of the fruit .

[0098] CNN is used to extract the external color, shape and texture features of the fruit. The specific steps are as follows:

[0099] Input layer input image The size is ,in is the image height, is the image width, is the number of color channels (usually 3, i.e. RGB channels).

[0100] The convolution layer uses multiple convolution kernels / filters to perform convolution operations on the input image. The size is ,in and is the height and width of the convolution kernel, is the number of color channels.

[0101] For Convolutional layer, which outputs feature map (FeatureMap) It is expressed as:

[0102] ,in, represents the convolution operation, For the previous layer The feature map of the channel, For the The convolution kernel is The weight of the channel, For the The bias of the convolution kernel, is the ReLU activation function, which is defined as: .

[0103] The pooling layer is used to reduce the size of the feature map while retaining important features. Pooling methods include maximum pooling. The maximum pooling of the pooling layer , calculated as: ,in, is the pooling layer A feature map.

[0104] After multiple layers of convolution and pooling operations, the feature map is expanded into a one-dimensional vector and classified or feature fused through a fully connected layer. The output of the fully connected layer It is expressed as:

[0105] ,in, is the weight matrix, Flatten is the output of the expanded pooling layer, is the bias term, is the activation function.

[0106] Maturity Rating Based on the activation value of the network output layer, it is calculated by the following formula: ,in, is the weight matrix of the deep neural network model, is the bias term, is the activation function.

[0107] Maturity Level Determined by the following classification criteria:

[0108] ;

[0109] in, and is the preset maturity level threshold.

[0110] DNN is used to comprehensively evaluate the extracted external features and internal quality features and calculate the maturity score of the fruit as follows:

[0111] Input layer: input vector is a comprehensive feature vector, including the external feature vector and the internal eigenvector ;

[0112] DNN contains multiple hidden layers. The output of each layer is the result of the input of the previous layer passing through a nonlinear activation function. layer hidden layer, whose output It is expressed as:

[0113] ,in, is the output of the previous layer, For the The weight matrix of the layer, For the The bias vector of the layer, is the activation function.

[0114] The output layer calculates the final maturity score , use the Sigmoid activation function to map the result to the [0, 1] interval: ;

[0115] in, is the weight matrix of the output layer, is the output of the last hidden layer, is the bias of the output layer, is the Sigmoid activation function, defined as: .

[0116] The picking planning module specifically includes:

[0117] Data integration submodule: receives the fruit maturity grade generated by the maturity assessment module , get geographic location information , forming a fruit distribution map. By analyzing the integrated data, the fruit areas with high maturity and the areas that need to be picked first in the orchard are identified, and the fruit maturity data is mapped to the geographical location of the orchard to form a fruit distribution map. , where each position Corresponding to a maturity level , divide the orchard into several areas , each area contains a number of fruits, calculate the average maturity of the fruits in each area, sort all areas according to the average maturity, and get a list of areas with high maturity to low maturity. The areas with higher maturity have higher priority and need to be picked first;

[0118] Path optimization submodule: Based on the fruit distribution map generated by the data integration submodule, the path optimization algorithm is used to calculate the best picking path , the goal of path optimization is to minimize the length of the picking path and picking time , while ensuring that the quality of the fruit is not damaged, the objective function of the path optimization algorithm is as follows:

[0119] ;

[0120] in, For Fruit and The distance between is the terrain influence factor of the orchard environment on the picking path, including the terrain complexity, slipperiness, and the influence of obstacles on the picking path. The unit is dimensionless. For the best picking path;

[0121] Time scheduling submodule: The time scheduling submodule is based on the maturity level of the fruit. , dynamically adjust the picking time to ensure that the fruit is picked at the best maturity conditions, and the time scheduling is optimized by starting the picking and end time to achieve.

[0122] Topographic influence factors This is determined through a comprehensive analysis of environmental data at specific locations within the orchard, with the following steps:

[0123] 1. Terrain complexity analysis: Obtain terrain data: Use GPS equipment to obtain terrain information at various locations in the orchard and analyze the slope, undulations, and obstacle distribution of the terrain.

[0124] Calculate terrain complexity: Calculate terrain complexity index based on terrain data The higher the index is, the more complex the terrain is. For example, the terrain complexity index is higher in areas with large slopes and many obstacles.

[0125] 2. Slippery degree assessment: Use humidity sensors placed in the orchard to obtain ground humidity in each area data.

[0126] Slippery index calculation: Calculate the slippery index based on humidity data , indicating the degree of slipperiness of the ground. The higher the humidity, the higher the slipperiness index.

[0127] 3. Obstacle impact analysis: Use visual sensors (cameras) and lidar to detect and locate obstacles in the orchard and generate an obstacle distribution map.

[0128] Obstacle influence coefficient calculation: For each fruit position, calculate the obstacle density within a certain radius around it , and determine the obstacle influence coefficient according to the obstacle density .

[0129] 4. Comprehensive calculation of environmental impact factors:

[0130] The terrain complexity index , Slippery index and obstacle influence coefficient Perform weighted average to obtain comprehensive environmental impact factors :

[0131] ;

[0132] in, It is a weighting coefficient, which is set according to the specific conditions of the orchard to ensure that the impact of various environmental factors is properly balanced.

[0133] The time scheduling process takes into account weather forecast, fruit maturity and the availability of picking equipment and is expressed as:

[0134] ,in, Indicates at time The average maturity level of the fruit, For the harvesting time span, the optimization goal is to ensure that the fruit is picked in the shortest time at the highest maturity. Optimize the function for time.

[0135] The present invention covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present invention. In order to make the public have a thorough understanding of the present invention, specific details are described in detail in the following preferred embodiments of the present invention, but those skilled in the art can fully understand the present invention without the description of these details. In addition, in order to avoid unnecessary confusion about the essence of the present invention, well-known methods, processes, procedures, components and circuits are not described in detail.

[0136] 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. The orchard fruit maturity assessment and picking planning system based on intelligent image analysis is characterized by: It includes image acquisition module, image processing module, maturity assessment module and picking planning module, among which; The image acquisition module is used to collect image data of fruits in the orchard, and uses multispectral imaging technology to collect the appearance, color, and texture characteristics of the fruits; The image processing module is used to preprocess the image data collected by the image acquisition module. The preprocessing includes image enhancement, adaptive threshold segmentation, and texture direction standardization to ensure the clarity and accuracy of the image. The image enhancement also includes adaptive brightness adjustment. On the basis of traditional histogram equalization, the ambient light intensity is introduced. and fruit surface reflectivity As a regulating factor, the image enhancement process is dynamically adjusted according to the actual environment; the adaptive threshold segmentation is an adaptive segmentation based on regional features, calculating the local threshold When considering the gray mean At the same time, the complexity of the fruit surface texture is introduced As a regulating factor; the texture direction standardization introduces fruit shape characteristics As a reference for adjusting the grain direction, the grain direction standardization process can be adaptively adjusted according to the natural growth direction of the fruit; The maturity assessment module uses deep learning algorithms to analyze and assess the maturity of the fruit based on the image data processed by the image processing module, and comprehensively considers the external characteristics and internal quality of the fruit to derive the maturity grade of the fruit. ; The picking planning module generates a dynamic picking planning scheme based on the evaluation results of the maturity evaluation module to optimize the picking path and picking time; The adaptive brightness adjustment is expressed as: ; in, is the adjustment coefficient used to control the impact of light compensation. is the ambient light intensity, is the reflectance of the fruit surface; The adaptive segmentation based on regional features is expressed as: ; in, is the grayscale standard deviation of the local area, which is used to measure the local contrast. is the local texture complexity, and is the adjustment coefficient, is the grayscale mean; The texture direction is standardized as: ; in, By analyzing the outline shape and main axis direction of the fruit, is the adjustment coefficient of the shape feature, For the image at pixel points The normalized texture direction angle at is used to unify the direction of the fruit texture. is the preset target texture direction angle, which is used to standardize the direction of the texture in the fruit image so that all textures are aligned with the target texture direction angle; The maturity assessment module includes a feature extraction submodule, a deep learning assessment submodule and a maturity level classification submodule, wherein; The feature extraction submodule extracts features from the image data processed by the image processing module, including external features and internal quality features of the fruit. The external features include color, shape, and texture, and the internal quality features include spectral reflectance and internal tissue texture. For the external features, a convolutional neural network (CNN) is used to extract the feature vectors of the color histogram, shape contour, and texture complexity of the fruit. ,For the internal quality characteristics, the spectral feature vector reflecting the internal quality of the fruit is extracted by analyzing the multispectral image data; The deep learning evaluation submodule generates an external feature vector generated by the feature extraction submodule. and the internal eigenvector Fusion to form a comprehensive feature vector , through the pre-trained deep neural network model DNN, the comprehensive feature vector Perform analysis to predict the maturity score of fruit ; The maturity level classification submodule converts the maturity score generated by the deep learning assessment submodule into Compare with the preset maturity level threshold to finally determine the maturity level of the fruit ; The maturity rating Based on the activation value of the network output layer, it is calculated by the following formula: ,in, is the weight matrix of the deep neural network model, is the bias term, is the activation function.

2. The orchard fruit maturity assessment and picking planning system based on intelligent image analysis according to claim 1 is characterized in that: The image acquisition module includes a multi-spectral camera, an illumination compensation unit and an automatic focusing device; The multispectral camera collects image data of fruits in the orchard under multiple spectral bands, and captures the appearance, color and texture characteristics of the fruits through the combination of different spectral bands; The illumination compensation unit dynamically adjusts the light source intensity when the illumination condition is insufficient or uneven, so as to ensure that the brightness and contrast of the collected image meet the high-precision requirements; The automatic focusing device adjusts the camera focal length in real time according to the distance and size of the fruit to obtain clear fruit image data.

3. The orchard fruit maturity assessment and picking planning system based on intelligent image analysis according to claim 1 is characterized in that: The maturity level Determined by the following classification criteria: ; in, and is the preset maturity level threshold.

4. The orchard fruit maturity assessment and picking planning system based on intelligent image analysis according to claim 1 is characterized in that: The picking planning module specifically includes: Data integration submodule: receives the fruit maturity grade generated by the maturity assessment module , get geographic location information , forming a fruit distribution map, and identifying the fruit areas with high maturity and the areas that need to be picked first in the orchard by analyzing the integrated data; Path optimization submodule: Based on the fruit distribution map generated by the data integration submodule, the path optimization algorithm is used to calculate the best picking path , the goal of path optimization is to minimize the length of the picking path and picking time , while ensuring that the quality of the fruit is not damaged, the objective function of the path optimization algorithm is as follows: ; in, For Fruit and The distance between is the topographic influence factor of the orchard environment on the picking path, For the best picking path; Time scheduling submodule: The time scheduling submodule is based on the maturity level of the fruit. , dynamically adjust the picking time to ensure that the fruit is picked at the best maturity conditions, and the time scheduling is optimized by starting the picking and end time to achieve.

5. The orchard fruit maturity assessment and picking planning system based on intelligent image analysis according to claim 4 is characterized in that: The time scheduling process takes into account weather forecast, fruit maturity and the availability of picking equipment and is expressed as: ,in, Indicates at time The average maturity level of the fruit, For the harvesting time span, the optimization goal is to ensure that the fruit is picked in the shortest time at the highest maturity. Optimize the function for time.

Citation Information

Patent Citations

  • Fruit distinguishing and locating method with laser scanning and machine vision combined

    CN103544493A

  • Hyperspectral detection method for ripeness of camellia oleifera fruits based on deep learning and sorting equipment

    CN114112932A

  • Method and system for detecting maturity of actinidia arguta

    CN115719451A