An agricultural materials information monitoring system based on the Internet
Through the Internet-based agricultural information monitoring system, the combination of cluster analysis and verification modules is used to calculate fitting representation parameters based on the chromaticity difference value, contour similarity and morphological similarity of crop pictures, divide the clustered picture sets and determine the categories Tags solve the problem of low efficiency in crop image analysis and achieve efficient crop information monitoring.
Patent Information
- Application Number
- CN202410319403.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-03-20
AI Technical Summary
There are a huge number of crop pictures in the existing technology, which leads to the problem that each crop picture needs to be analyzed in sequence, which consumes too much computing power and has low efficiency.
Design an agricultural information monitoring system based on the Internet. Crop pictures are obtained through the data collection module. The cluster analysis module calculates the fitting representation parameters based on the crop color difference value, contour similarity and morphological similarity, and divides the cluster picture set. The verification module determines whether it meets the predetermined standards, and the comparison module determines crop type labels randomly or one by one to improve analysis efficiency.
While ensuring the reliability of analysis, it reduces the data volume and computing power consumption of crop image analysis, and improves the analysis efficiency of the agricultural information monitoring system.
Smart Images

Figure CN118196444B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of agricultural material information technology, and in particular to an agricultural material information monitoring system based on the Internet. Background Art
[0002] With the development of computer technology and Internet technology, various online monitoring platforms have emerged. Terminal information is aggregated through online platforms to realize information interaction, verification and other functions. For example, in the agricultural field, agricultural product related information can be aggregated through online platforms, and agricultural practitioners and agricultural managers can be provided with crop-related information, and audit and verification can be carried out, which promotes the scientific, intelligent and sustainable development of agricultural production.
[0003] However, the prior art still has the following problems:
[0004] In actual situations, the number of crop images received by the data collection end is huge. When verifying the crop images, it is necessary to first identify the crop types in the crop images, and then analyze each crop image in turn, which consumes too much computing power and has low efficiency. Summary of the invention
[0005] To this end, the present invention provides an Internet-based agricultural information monitoring system to overcome the problem in the prior art that there are a huge number of crop pictures, each crop picture is analyzed in turn, the computing power consumed is too large, and there is a low efficiency.
[0006] To achieve the above object, the present invention provides an Internet-based agricultural information monitoring system, comprising:
[0007] A data collection module, which is used to obtain a number of crop pictures uploaded by the user;
[0008] a cluster analysis module connected to the cluster analysis module, used to obtain a plurality of the crop pictures, calculate fitting characterization parameters between the crop pictures according to the crop chromaticity difference values, crop contour similarities and morphological similarities between the crop pictures, and determine whether the crop pictures are of the same category according to the fitting characterization parameters, so as to divide the crop pictures into a plurality of cluster picture sets;
[0009] A verification module, which is connected to the data collection module and the cluster analysis module respectively, and is used to determine whether the cluster picture set meets the predetermined standard according to the average fitting characterization parameter of each crop picture in the cluster picture set;
[0010] A comparison module, which is connected to the verification module, is used to select a processing method for the clustered picture set according to the determination result of the verification module, including:
[0011] adjusting the screening ratio according to the average fitting characterization parameter, randomly screening crop pictures corresponding to the screening ratio from the clustered picture set to determine the crop category labels, and setting the same crop category labels for the remaining crop pictures;
[0012] Or, determine the crop types of the crop images one by one from the clustered image set, and set corresponding crop type labels;
[0013] and determining sample verification features according to the crop type labels of the crop images, extracting verification features from the crop images and comparing them with the sample verification features to determine whether the crops meet the predetermined standards;
[0014] A display module is connected to the comparison module and is used to display the determination result of the comparison module.
[0015] Furthermore, the cluster analysis module calculates the fitting characterization parameters according to formula (1):
[0016]
[0017] In formula (1), E represents the fitting characterization parameter, L represents the crop chromaticity difference value, L0 represents the preset crop chromaticity difference value threshold, S represents the crop outline similarity, S0 represents the preset crop outline similarity threshold, X represents the morphological similarity, and X0 represents the preset morphological similarity threshold.
[0018] Furthermore, the cluster analysis module compares the fitting characterization parameter with a preset fitting characterization parameter comparison threshold.
[0019] If the fitting characterization parameter is greater than the preset fitting characterization parameter comparison threshold, the cluster analysis module determines that the crop images are not of the same category;
[0020] If the fitting characterization parameter is less than or equal to the preset fitting characterization parameter comparison threshold, the cluster analysis module determines that the crop images are of the same category.
[0021] Furthermore, the verification module obtains the average fitting characterization parameter of each crop image of the same category, and compares the average fitting characterization parameter with a preset average fitting characterization parameter comparison threshold.
[0022] If the average fitting characterization parameter is less than the preset average fitting characterization parameter comparison threshold, the verification module determines that the clustered image set meets the predetermined standard;
[0023] If the average fitting characterization parameter is greater than or equal to the preset average fitting characterization parameter comparison threshold, the verification module determines that the clustered picture set does not meet the predetermined standard.
[0024] Furthermore, the comparison module selects a processing method for the clustered image set according to the determination result of the verification module, wherein:
[0025] If the clustered picture set meets the predetermined standard, the comparison module adjusts the screening ratio according to the average fitting characterization parameter, randomly screens crop pictures corresponding to the screening ratio from the clustered picture set to determine the crop type label, and sets the same crop type label for the remaining crop pictures;
[0026] If the clustered image set does not meet the predetermined standard, the comparison module determines the crop types of the crop images one by one from the clustered image set and sets corresponding crop type labels.
[0027] Furthermore, the comparison module adjusts the screening ratio according to the average fitting characterization parameter, wherein the average fitting characterization parameter is negatively correlated with the screening ratio.
[0028] Furthermore, the comparison module determines sample verification features according to the crop type label of the crop image, and the sample verification features include a standard color value of the harvested product and a standard size of the harvested product.
[0029] Furthermore, the comparison module extracts each sub-feature of the verification feature of the crop image and compares them with the corresponding standard verification feature in sequence, and calculates the difference ratio of each sub-feature.
[0030] Furthermore, the comparison module compares each of the difference ratios with a preset ratio value comparison threshold.
[0031] If the difference ratio of any sub-feature is greater than a preset ratio comparison threshold, the comparison module determines that the crop image does not meet the predetermined standard.
[0032] Furthermore, the display module is also used to mark the crop pictures that do not meet the predetermined standards.
[0033] Compared with the prior art, the present invention obtains a number of crop pictures through a data collection module, the cluster analysis module calculates the fitting characterization parameters between each crop picture according to the crop chromaticity difference value, the crop contour similarity and the morphological similarity to divide a number of cluster picture sets, the verification module determines whether the cluster picture set meets the predetermined standard according to the average fitting characterization parameter, the comparison module randomly screens the crop pictures to determine the crop type label, or determines the crop type of the crop picture one by one, the comparison module determines the sample verification feature according to the crop type label of the crop picture, extracts the verification feature in the crop picture and compares it with the sample verification feature to determine whether the crop meets the predetermined standard, and the display module displays the judgment result of the comparison module. The present invention improves the analysis efficiency of the agricultural information monitoring system while ensuring the reliability of the crop picture analysis by dividing the cluster picture sets.
[0034] In particular, the cluster analysis module of the present invention calculates the fitting characterization parameters between each crop image according to the crop chromaticity difference value, crop outline similarity and morphological similarity between the crop images. The crop chromaticity difference value, crop outline similarity and morphological similarity are important comparison parameters in the crop image comparison. When the crop chromaticity difference value is small, and the crop outline similarity and morphological similarity are high, the similarity of the crop images is relatively high. In particular, the above parameters are parameters that are easy to collect and analyze in image analysis, and have a certain data characterization, characterize the similarity of crops, and provide data support for subsequent analysis of crop images. Compared with the traditional method of traversing images using image recognition algorithms or neural network models to identify the types of crops therein, it saves computing power and has a certain reliability.
[0035] In particular, the clustering analysis module of the present invention determines whether the crop images are of the same category based on the fitting characterization parameters. A small fitting characterization parameter can characterize to a certain extent that the crop images have a high degree of similarity, so that the crop images with a high degree of similarity can be classified into the same category, reducing the amount of data for subsequent analysis of the crop images, thereby improving data analysis efficiency.
[0036] In particular, the verification module of the present invention determines whether the clustered picture set meets the predetermined standard based on the average fitting characterization parameters of each crop picture in the clustered picture set. By obtaining the average fitting characterization parameters, it can make a further judgment on whether the crop pictures belong to the same category, thereby improving the reliability of the classification of crop pictures.
[0037] In particular, the comparison module of the present invention adaptively selects the processing method for the clustered picture set. When the clustered picture set meets the predetermined standard, the detailed analysis of local features is replaced by the analysis structure for the entire clustered picture set. Under the premise of ensuring reliability, computing power is saved and the system analysis efficiency is improved.
[0038] In particular, the comparison module of the present invention determines sample verification features based on the crop type labels of the crop images, extracts verification features in the crop images and compares them with the sample verification features to determine whether the crops meet predetermined standards, and by determining the verification features and comparing the verification features, determines whether there is any abnormality in the growth of crops in the crop images, thereby improving the efficiency of analyzing the crop images. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a structural diagram of the agricultural information monitoring system based on the Internet according to an embodiment of the invention;
[0040] Figure 2 A logical determination diagram of whether the crop images of the embodiment of the invention are of the same category;
[0041] Figure 3 A logical decision diagram of whether a clustered picture set of an embodiment of the invention meets a predetermined standard;
[0042] Figure 4 This is a logical decision diagram for determining whether the crops in an embodiment of the invention meet predetermined standards. DETAILED DESCRIPTION
[0043] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0044] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0045] See also Figure 1-Figure 4 As shown, Figure 1 This is a structural diagram of an Internet-based agricultural information monitoring system according to an embodiment of the invention. Figure 2 This is a logical determination diagram of whether the crop images of the embodiment of the invention are of the same category. Figure 3 This is a logical decision diagram of whether a clustered picture set of an embodiment of the invention meets a predetermined standard. Figure 4 The invention embodiment is a logic determination diagram of whether the crops meet the predetermined standard. The Internet-based agricultural information monitoring system of the invention includes:
[0046] A data collection module, which is used to obtain a number of crop pictures uploaded by the user;
[0047] a cluster analysis module connected to the cluster analysis module, used to obtain a plurality of the crop pictures, calculate fitting characterization parameters between the crop pictures according to the crop chromaticity difference values, crop contour similarities and morphological similarities between the crop pictures, and determine whether the crop pictures are of the same category according to the fitting characterization parameters, so as to divide the crop pictures into a plurality of cluster picture sets;
[0048] A verification module, which is connected to the data collection module and the cluster analysis module respectively, and is used to determine whether the cluster picture set meets the predetermined standard according to the average fitting characterization parameter of each crop picture in the cluster picture set;
[0049] A comparison module, which is connected to the verification module, is used to select a processing method for the clustered picture set according to the determination result of the verification module, including:
[0050] adjusting the screening ratio according to the average fitting characterization parameter, randomly screening crop pictures corresponding to the screening ratio from the clustered picture set to determine the crop category labels, and setting the same crop category labels for the remaining crop pictures;
[0051] Or, determine the crop types of the crop images one by one from the clustered image set, and set corresponding crop type labels;
[0052] and determining sample verification features according to the crop type labels of the crop images, extracting verification features from the crop images and comparing them with the sample verification features to determine whether the crops meet the predetermined standards;
[0053] A display module is connected to the comparison module and is used to display the determination result of the comparison module.
[0054] Specifically, the present invention does not limit the specific structure of the data collection module. It can be a data interaction terminal that establishes a communication protocol with the user end in advance, and can receive crop pictures uploaded by the user end. For example, it can be applied to crop sample review and verification. The user end uploads the crop sample pictures to the data collection module for subsequent analysis.
[0055] Specifically, the present invention does not limit the specific structures of the clustering analysis module, verification module, comparison module, and comparison module, which can all be composed of logical components. The logical components can be field programmable components, computers, and microprocessors in computers, etc., which will not be repeated here.
[0056] Specifically, the cluster analysis module calculates the fitting characterization parameters according to formula (1):
[0057]
[0058] In formula (1), E represents the fitting characterization parameter, L represents the crop chromaticity difference value, L0 represents the preset crop chromaticity difference value threshold, S represents the crop outline similarity, S0 represents the preset crop outline similarity threshold, X represents the morphological similarity, and X0 represents the preset morphological similarity threshold.
[0059] In this embodiment, L0 is selected in the range of [0, 5], S0 is selected in the range of [90%, 95%], and X0 is selected in the range of [80%, 85%].
[0060] Specifically, in this embodiment, the average chromaticity value of the crop picture is obtained through image processing software, which is a prior art and will not be described in detail.
[0061] Specifically, in this embodiment, the contours of crops in crop images and the textures of crops are extracted through a deep learning model to compare the morphological similarities of crops, and the similarities of features are calculated to obtain the similarities of crop contours and morphological similarities of crops in two crop images. This is a prior art and will not be described in detail.
[0062] Specifically, the cluster analysis module of the present invention calculates the fitting characterization parameters between each crop picture according to the crop chromaticity difference value, crop outline similarity and morphological similarity between the crop pictures. The crop chromaticity difference value, crop outline similarity and morphological similarity are important comparison parameters in the comparison of crop pictures. When the crop chromaticity difference value is small and the crop outline similarity and morphological similarity are high, the similarity of the crop pictures is relatively high. In particular, the above parameters are parameters that are easy to collect and analyze in image analysis and have a certain data characterization, characterize the similarity of crops, and provide data support for subsequent analysis of crop pictures. Compared with the traditional method of traversing pictures using image recognition algorithms or neural network models to identify the types of crops therein, it saves computing power and has a certain reliability.
[0063] Specifically, the cluster analysis module compares the fitting characterization parameters with the preset fitting characterization parameter comparison threshold.
[0064] If the fitting characterization parameter is greater than the preset fitting characterization parameter comparison threshold, the cluster analysis module determines that the crop images are not of the same category;
[0065] If the fitting characterization parameter is less than or equal to the preset fitting characterization parameter comparison threshold, the cluster analysis module determines that the crop images are of the same category.
[0066] In this embodiment, the preset fitting characterization parameter comparison threshold is selected within the range of [0.9, 1].
[0067] Specifically, the cluster analysis module of the present invention determines whether the crop images are of the same category based on the fitting characterization parameters. A small fitting characterization parameter can characterize to a certain extent that the crop images have a high degree of similarity, so that the crop images with a high degree of similarity can be classified into the same category, reducing the amount of data for subsequent analysis of the crop images, thereby improving data analysis efficiency.
[0068] Specifically, the verification module obtains the average fitting characterization parameter of each crop image of the same category, and compares the average fitting characterization parameter with a preset average fitting characterization parameter comparison threshold.
[0069] If the average fitting characterization parameter is less than the preset average fitting characterization parameter comparison threshold, the verification module determines that the clustered image set meets the predetermined standard;
[0070] If the average fitting characterization parameter is greater than or equal to the preset average fitting characterization parameter comparison threshold, the verification module determines that the clustered picture set does not meet the predetermined standard.
[0071] In this embodiment, the preset average fitting characterization parameter comparison threshold is selected within the range of [0.9, 1].
[0072] Specifically, the verification module of the present invention determines whether the clustered picture set meets the predetermined standard based on the average fitting characterization parameters of each crop picture in the clustered picture set. By obtaining the average fitting characterization parameters, it can make a further judgment on whether the crop pictures belong to the same category, thereby improving the reliability of classifying the crop pictures.
[0073] Specifically, the comparison module selects a processing method for the clustered image set according to the determination result of the verification module, wherein:
[0074] If the clustered picture set meets the predetermined standard, the comparison module adjusts the screening ratio according to the average fitting characterization parameter, randomly screens crop pictures corresponding to the screening ratio from the clustered picture set to determine the crop type label, and sets the same crop type label for the remaining crop pictures;
[0075] If the clustered image set does not meet the predetermined standard, the comparison module determines the crop types of the crop images one by one from the clustered image set and sets corresponding crop type labels.
[0076] Specifically, the comparison module of the present invention adaptively selects the processing method for the clustered picture set. When the clustered picture set meets the predetermined standard, the detailed analysis of local features is replaced by the analysis structure for the entire clustered picture set. Under the premise of ensuring reliability, computing power is saved and the system analysis efficiency is improved.
[0077] In this embodiment, the crop type of the crop image is determined by using a pre-trained image recognition algorithm or model import logic component. This is a prior art and will not be described in detail.
[0078] Specifically, the comparison module adjusts the screening ratio according to the average fitting characterization parameter m, wherein the average fitting characterization parameter is negatively correlated with the screening ratio.
[0079] In this embodiment, optionally,
[0080] 90%<m<95%, the screening ratio is 10%;
[0081] 95%≤m<100%, the screening ratio is 5%.
[0082] Specifically, the comparison module determines sample verification features according to the crop type label of the crop image, and the sample verification features include a standard color value of the harvested product and a standard size of the harvested product.
[0083] In this embodiment, the standard color value of the harvested product can be obtained by identifying the average color value in the crop outline, and the standard size of the harvested product can be obtained by identifying the area of the crop outline.
[0084] Specifically, the comparison module extracts each sub-feature of the verification feature of the crop image and compares them with the corresponding standard verification feature in turn, and calculates the difference ratio of each sub-feature.
[0085] Specifically, the sample library stores standard verification features corresponding to each type of crop. Those skilled in the art can pre-set the standard verification features corresponding to each type of crop, which will not be described in detail here.
[0086] Specifically, the comparison module compares each of the difference ratios with a preset ratio value comparison threshold.
[0087] If the difference ratio of any sub-feature is greater than a preset ratio comparison threshold, the comparison module determines that the crop image does not meet the predetermined standard.
[0088] In this embodiment, the preset ratio value comparison threshold is selected within the range of [0.1, 0.3].
[0089] Specifically, the comparison module of the present invention determines the sample verification features according to the crop type label of the crop image, extracts the verification features in the crop image and compares them with the sample verification features to determine whether the crops meet the predetermined standards. By determining the verification features and comparing the verification features, it is determined whether there is any abnormality in the growth of crops in the crop image, thereby improving the efficiency of analyzing the crop images.
[0090] Specifically, the display module is also used to mark the crop pictures that do not meet the predetermined standards.
[0091] Specifically, the present invention does not limit the specific structure of the display module. It only needs to mark the crop picture. The marking method can be to enlarge the crop picture, add a border to the crop picture, etc. This is the existing technology and will not be repeated.
[0092] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. An Internet-based agricultural information monitoring system, characterized in that: include: A data collection module, which is used to obtain a number of crop pictures uploaded by the user; a cluster analysis module connected to the data collection module, for obtaining a plurality of the crop pictures, calculating fitting characterization parameters between the crop pictures according to the crop chromaticity difference values, crop contour similarities and morphological similarities between the crop pictures, and determining whether the crop pictures are of the same category according to the fitting characterization parameters, so as to divide the crop pictures into a plurality of cluster picture sets; A verification module, which is connected to the data collection module and the cluster analysis module respectively, and is used to determine whether the cluster picture set meets the predetermined standard according to the average fitting characterization parameter of each crop picture in the cluster picture set; A comparison module, which is connected to the verification module and is used to select a processing method for the clustered picture set according to the determination result of the verification module, including: adjusting the screening ratio according to the average fitting characterization parameter, randomly screening crop pictures corresponding to the screening ratio from the clustered picture set to determine the crop category labels, and setting the same crop category labels for the remaining crop pictures; Or, determine the crop types of the crop images one by one from the clustered image set, and set corresponding crop type labels; and determining sample verification features according to the crop type labels of the crop images, extracting verification features from the crop images and comparing them with the sample verification features to determine whether the crops meet the predetermined standards; A display module is connected to the comparison module and is used to display the determination result of the comparison module.
2. The Internet-based agricultural information monitoring system according to claim 1 is characterized in that: The cluster analysis module calculates the fitting characterization parameters according to formula (1). In formula (1), E represents the fitting characterization parameter, L represents the crop chromaticity difference value, L0 represents the preset crop chromaticity difference value threshold, S represents the crop outline similarity, S0 represents the preset crop outline similarity threshold, X represents the morphological similarity, and X0 represents the preset morphological similarity threshold.
3. The Internet-based agricultural information monitoring system according to claim 2 is characterized in that: The cluster analysis module compares the fitting characterization parameters with the preset fitting characterization parameter comparison threshold. If the fitting characterization parameter is greater than the preset fitting characterization parameter comparison threshold, the cluster analysis module determines that the crop images are not of the same category; If the fitting characterization parameter is less than or equal to the preset fitting characterization parameter comparison threshold, the cluster analysis module determines that the crop images are of the same category.
4. The Internet-based agricultural information monitoring system according to claim 1 is characterized in that: The verification module obtains the average fitting characterization parameters of each crop image of the same category, and compares the average fitting characterization parameters with a preset average fitting characterization parameter comparison threshold. If the average fitting characterization parameter is less than the preset average fitting characterization parameter comparison threshold, the verification module determines that the clustered image set meets the predetermined standard; If the average fitting characterization parameter is greater than or equal to the preset average fitting characterization parameter comparison threshold, the verification module determines that the clustered picture set does not meet the predetermined standard.
5. The Internet-based agricultural information monitoring system according to claim 1 is characterized in that: The comparison module selects a processing method for the clustered image set according to the determination result of the verification module, wherein: If the clustered picture set meets the predetermined standard, the comparison module adjusts the screening ratio according to the average fitting characterization parameter, randomly screens crop pictures corresponding to the screening ratio from the clustered picture set to determine the crop type label, and sets the same crop type label for the remaining crop pictures; If the clustered image set does not meet the predetermined standard, the comparison module determines the crop types of the crop images one by one from the clustered image set and sets corresponding crop type labels.
6. The Internet-based agricultural information monitoring system according to claim 1 is characterized in that: The comparison module determines sample verification features according to the crop type label of the crop image, and the sample verification features include a standard color value of the harvested product and a standard size of the harvested product.
7. The Internet-based agricultural information monitoring system according to claim 6 is characterized in that: The comparison module extracts each sub-feature of the verification feature of the crop image and compares them with the corresponding standard verification feature in turn, and calculates the difference ratio of each sub-feature.
8. The Internet-based agricultural information monitoring system according to claim 1 is characterized in that: The comparison module compares each of the difference ratios with a preset ratio value comparison threshold, If the difference ratio of any sub-feature is greater than a preset ratio comparison threshold, the comparison module determines that the crop image does not meet the predetermined standard.
9. The Internet-based agricultural information monitoring system according to claim 1, characterized in that: The display module is also used to mark the crop pictures that do not meet the predetermined standards.
