Blueberry disease identification method based on computer vision technology

By collecting and analyzing blueberry plant image data through computer vision technology, the problem of accuracy in identifying the health status of blueberry plants in blueberry planting areas has been solved, efficient identification and monitoring of blueberry diseases has been achieved, and the level of agricultural intelligence has been improved.

CN118644777APending Publication Date: 2024-09-13CHANGCHUN NORMAL UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410743309.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing technology cannot accurately identify the health status of each blueberry plant in the blueberry planting area, and blueberry plant disease management relies on manual inspection, which has poor accuracy and cannot accurately identify blueberry diseases.

Method used

Using methods based on computer vision technology, we collect blueberry plant image data through aerial photography equipment, build a database, extract blueberry fruit and leaf images, conduct similarity comparisons, evaluate the health status performance value of blueberry plants, identify whether blueberry plants are healthy, and realize blueberry Accurate identification of diseases.

Benefits of technology

It achieves high-precision health status monitoring of blueberry plants in blueberry planting areas, reduces manual management costs, ensures blueberry planting capacity, and improves agricultural intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644777A
    Figure CN118644777A
Patent Text Reader

Abstract

The invention relates to the technical field of machine vision, in particular to a blueberry disease identification method based on a computer vision technology, which comprises the following steps: acquiring blueberry plant distribution parameters in a blueberry planting area, acquiring blueberry plant image data above the blueberry planting area through aerial photography equipment based on the blueberry plant distribution parameters, and constructing a database, the application database stores blueberry plant image data; the method comprises the following steps: acquiring blueberry plant image data, calling blueberry plant image data stored in a database, and extracting a blueberry fruit image and a blueberry leaf image from the blueberry plant image data, thereby further extracting the blueberry leaf image and the blueberry fruit image from the blueberry plant image data through acquisition of the blueberry plant image data; through comprehensive analysis of the images of the blueberry leaves and the blueberry fruits, the blueberry plant health state monitoring effect with relatively high precision and more pertinence is brought to each blueberry plant in the blueberry planting area, so that blueberry disease identification is realized, and comprehensive safety monitoring is brought to blueberry planting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine vision, and in particular to a method for identifying blueberry diseases based on computer vision technology. Background Art

[0002] Blueberries are a delicious and nutritious berry.

[0003] Blueberries are usually dark blue or purple-black in appearance, covered with a layer of white fruit powder. In terms of nutrition, blueberries are rich in antioxidants, such as anthocyanins, which have many benefits for human health, such as helping to protect the eyes, enhance immunity, and improve memory.

[0004] The invention patent with application number 202310240973.1 discloses a method for predicting the spread of blueberry diseases through spatial pattern changes, characterized in that the method specifically includes the following steps: S1: constructing a simulated data set; S2: first judging the spatial distribution through the spatial point distance scale characteristics, and then calculating three autocorrelation dimensions, and judging the degree of spatial point occupancy, the amount of information, and the utilization rate of space between spatial points through the autocorrelation dimensions; finally, the spatial pattern of the initial state of blue is obtained through spatial point distance scale and autocorrelation analysis;

[0005] S3: Under the premise of a given initial infection rate, the pathological transmission law of blueberry berry blight is used to obtain the starting time of primary infection, the starting time of secondary infection and the end time of blueberry berry blight disease transmission; S4: The self-similarity coefficient is used to combine the blueberry disease to summarize the law: S5: According to the disease occurrence time and the obtained spatial pattern, the infection rate of blueberry berry blight at each stage is predicted to change over time.

[0006] The application aims to address the problem that "most studies focus on the spatial distribution of viruses, without further predicting the spread of diseases from the perspective of plant disease transmission. Most spatial patterns may be caused by various ecological processes, so pattern analysis alone is usually not sufficient to determine the pattern generation process. In the field of blueberry diseases, there is no complete set of solutions available for disease prediction."

[0007] However, during the current blueberry planting process, due to the large planting area, disease management of blueberry plants cannot be carried out through manual inspections. Instead, it can only rely on technical solutions such as those mentioned above to predict the spread of diseases in blueberry plants and other related disease management. However, such technologies have poor pertinence and accuracy and cannot accurately identify the health status of each blueberry plant in the blueberry planting area.

[0008] To this end, we proposed a method for blueberry disease identification based on computer vision technology. Summary of the invention

[0009] In view of the above shortcomings of the prior art, the present invention provides a method for identifying blueberry diseases based on computer vision technology, which solves the technical problems raised in the above background technology.

[0010] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0011] The method for identifying blueberry diseases based on computer vision technology includes:

[0012] Obtaining distribution parameters of blueberry plants in a blueberry planting area, using an aerial photography device to fly over the blueberry planting area, collecting blueberry plant image data based on the blueberry plant distribution parameters, building a database, and using the database to store the blueberry plant image data;

[0013] Retrieving blueberry plant image data stored in a database, extracting blueberry fruit images and blueberry leaf images from the blueberry plant image data, further distinguishing and marking the blueberry fruit images and the blueberry leaf images, and distinguishing the blueberry fruit images and the blueberry leaf images to obtain a blueberry fruit image set and a blueberry leaf image set;

[0014] Pick up healthy blueberry fruit images and blueberry leaf images from the blueberry fruit image set and the blueberry leaf image set, respectively, and compare the picked blueberry fruit images and blueberry leaf images with the remaining blueberry fruit images and blueberry leaf images to identify whether the blueberry plant image data from which the blueberry fruit images and blueberry leaf images are derived is healthy;

[0015] Before identifying whether the blueberry plant is healthy, the health status performance value of the blueberry plant is evaluated. The evaluation logic is expressed as follows:

[0016]

[0017] Where, k1 and k2 are the comprehensive similarity between the blueberry fruit image picked up in the blueberry fruit image set and the remaining blueberry fruit images picked up, and the comprehensive similarity between the blueberry leaf image picked up in the blueberry leaf image set and the remaining blueberry leaf images picked up; m is the remaining blueberry fruit image picked up in the blueberry fruit image set; n is the blueberry fruit image picked up in the blueberry fruit image set; sim(a j ,b i ) is the similarity between the blueberry fruit images picked up in the i-th group and the remaining blueberry fruit images picked up in the j-th group; q is the remaining blueberry leaf images picked up in the blueberry leaf image set; p is the blueberry leaf image picked up in the blueberry leaf image set; sim(a u ,b v ) is the similarity between the blueberry leaf images picked up by the vth group and the remaining blueberry leaf images picked up by the uth group; ω1 and ω2 are weights; f is the health status performance value of the blueberry plant;

[0018] in, represents the mean similarity between the blueberry fruit images picked by the i-th group and the remaining blueberry fruit images picked by each group, It represents the mean similarity between the blueberry leaf images picked by the vth group and the remaining blueberry leaf images picked by each group. The weights ω1 and ω2 are set by the system and are both greater than zero, and the sum is 1. express The minimum value of each summation item in corresponds to the blueberry fruit image, and The minimum value of each summation item in corresponds to the distance between the blueberry leaf images.

[0019] Furthermore, the blueberry plant distribution parameters of the blueberry planting area include: blueberry plant planting location information, blueberry plant growth radius, and when the blueberry plant image data is collected by an aerial photography device, the blueberry plant growth area is determined based on the blueberry plant distribution parameters, and blueberry plant image data is collected in each blueberry plant growth area;

[0020] Among them, the blueberry plant growth area is a circle drawn with the blueberry plant planting location information as the center, and the blueberry plant growth radius is the radius of the blueberry plant growth area to form a closed area, which is recorded as the blueberry plant growth area. When the aerial photography equipment collects blueberry plant image data in the blueberry plant growth area, the size of the collected blueberry plant image data is not less than one third of the blueberry plant growth area.

[0021] Furthermore, the blueberry planting area is the collection of all blueberry plant growth areas;

[0022] After the blueberry plant growth area is determined, a set of spiral lines is synchronously determined in the blueberry plant growth area, so that the center of the collected blueberry plant image data always falls on the spiral line, and the boundary of a set of blueberry plant image data collected farthest from the center of the blueberry plant growth area coincides with the boundary of the blueberry plant growth area;

[0023] The database performs a storage phase for the collected blueberry plant image data, performs a distinguishing mark on the synchronized blueberry plant image data, and then performs a storage operation on the blueberry plant image data, wherein the distinguishing mark content of the blueberry plant image data is: the center coordinates of the blueberry plant growth area where the blueberry plant image data is sourced, and the coordinates of the location where the blueberry plant image data is collected;

[0024] The center coordinates of the blueberry plant growth area are the planting position information of the blueberry plant, and the blueberry plant image data collection position coordinates are any point on the spiral line determined in the blueberry plant growth area.

[0025] Furthermore, a blueberry plant image data acquisition cycle is set, and the blueberry plant image data acquisition operation is repeatedly executed based on the blueberry plant image data acquisition cycle, and the location of the blueberry plant image data collected each time is different, and the operation of sending to the database and storing in the database is executed synchronously. When the blueberry plant image data is stored in the database, it is differentiated and stored based on the blueberry plant image data source acquisition cycle.

[0026] Furthermore, each time the operation of retrieving blueberry plant image data from the database is executed, a set of blueberry plant image data in the earliest distinguishing storage interval of the blueberry plant image data collection cycle stored in the database is retrieved, and the distinguishing marks of the blueberry fruit images and blueberry leaf images follow the distinguishing marks of the blueberry plant image data from which they are derived.

[0027] Furthermore, when extracting the blueberry fruit image and the blueberry leaf image from the blueberry plant image data, the following is followed:

[0028] Acquire blueberry plant image data, perform pixel-level segmentation on the blueberry plant image data to obtain a plurality of groups of pixel blocks, set a hue determination threshold and a saturation determination threshold for a blueberry fruit image, set a hue determination threshold and a saturation determination threshold for a blueberry leaf image, calculate the hue and saturation of each group of pixel blocks, and compare them with the hue determination threshold and the saturation determination threshold for the blueberry fruit image, and the hue determination threshold and the saturation determination threshold for the blueberry leaf image;

[0029] Pixel blocks that meet the hue determination threshold and saturation determination threshold of the blueberry fruit image are determined as blueberry fruit pixel blocks, and pixel blocks that meet the hue determination threshold and saturation determination threshold of the blueberry leaf image are determined as blueberry leaf pixel blocks, and pixel blocks that have not been determined in the blueberry plant image data are discarded, and the remaining pixel blocks that have not been discarded are adjacently reorganized to obtain a plurality of groups of sub-images, and the sub-images are distinguished based on the determination result of any group of pixel blocks in each sub-image to obtain a blueberry fruit image set and a blueberry leaf image set;

[0030] The adjacent determination condition of the pixel blocks is: the distance between two groups of pixel blocks is zero.

[0031] Furthermore, the calculation formula of the hue and saturation of the pixel block is:

[0032]

[0033] Where: H is the hue of the pixel block; R, G, B are the values ​​of the red, green, and blue color channels of the pixel block; S J is the saturation of the pixel block; J max J is the channel value with the maximum pixel value based on the three color channels of the pixel block; min It is the channel value with the minimum pixel value based on the three color channels of the pixel block.

[0034] Furthermore, the smaller the blueberry plant health status performance value f is, the worse the blueberry plant health status is, and vice versa, the better the blueberry plant health status is;

[0035] The logic for identifying whether a blueberry plant is healthy is:

[0036] f1≥f2≥f3;

[0037] Where: f1, f2, f3 are the latest three groups of blueberry plant health status performance values ​​obtained continuously;

[0038] Among them, if the above formula is true, it means that the blueberry plant is healthy, otherwise, it means that the blueberry plant is unhealthy.

[0039] Furthermore, the similarity between the two sets of images is calculated by the following formula:

[0040]

[0041] Where: sim(a,b) is the similarity between two sets of images; M a is the total number of pixel blocks in image a; M b is the total number of pixel blocks in image b; γ is the correction; a∩b is the maximum intersection area of ​​the two sets of images; is the color feature vector of the pixel block in image a corresponding to position g in the intersection area; is the color feature vector of the pixel block in image b corresponding to position g in the intersection area;

[0042] Among them, correction>0, the larger sim(a,b) is, the higher the similarity between the two groups of images is, and vice versa, the lower the similarity between the two groups of images is.

[0043] Furthermore, when the identification result of whether the blueberry plant is healthy is unhealthy, the blueberry fruit image set and the blueberry leaf image set which are the sources of the blueberry plant health status performance value f are obtained, and the corresponding distinguishing marks are further identified based on the obtained blueberry fruit image set and the blueberry leaf image set, and then the position of the unhealthy blueberry plant in the obtained blueberry planting area is determined by the distinguishing marks.

[0044] Compared with the known public technology, the technical solution provided by the present invention has the following advantages:

[0045] Beneficial effects:

[0046] The present invention provides a method for identifying blueberry diseases based on computer vision technology. During the execution of the method, blueberry plant image data is collected, and blueberry leaf and blueberry fruit images are further extracted from the blueberry plant image data, so that a high-precision and more targeted blueberry plant health status monitoring effect is brought to each blueberry plant in a blueberry planting area through comprehensive analysis of the blueberry leaf and blueberry fruit images, and blueberry disease identification is achieved in this way, which brings comprehensive safety monitoring for blueberry planting, ensures blueberry planting capacity, improves the degree of agricultural intelligence, promotes the development of agricultural intelligent technology, and reduces labor cost expenditure in the blueberry planting process. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 It is a flowchart of a method for identifying blueberry diseases based on computer vision technology;

[0049] Figure 2 This is a schematic diagram of the source area of ​​blueberry plant image data collection in the present invention;

[0050] The numbers in the figure represent: 1. Blueberry plant growth area; 2. Spiral line; 3. Area corresponding to the collected blueberry plant image data; 4. Radius of the blueberry plant growth area; 5. Radius of the area corresponding to the collected blueberry plant image data. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] The present invention will be further described below in conjunction with the embodiments.

[0053] Embodiment 1:

[0054] The method for identifying blueberry diseases based on computer vision technology in this embodiment is as follows: Figure 1 As shown, including:

[0055] Obtaining distribution parameters of blueberry plants in a blueberry planting area, using an aerial photography device to fly over the blueberry planting area, collecting blueberry plant image data based on the blueberry plant distribution parameters, building a database, and using the database to store the blueberry plant image data;

[0056] The blueberry plant distribution parameters in the blueberry planting area include: blueberry plant planting location information, blueberry plant growth radius, and when the blueberry plant image data is collected by the aerial photography equipment, the blueberry plant growth area is determined based on the blueberry plant distribution parameters, and the blueberry plant image data is collected in each blueberry plant growth area;

[0057] The blueberry plant growth area is a circle formed by drawing a circle with the blueberry plant planting location information as the center and the blueberry plant growth radius as the radius of the blueberry plant growth area, which is recorded as the blueberry plant growth area. When the aerial photography equipment collects blueberry plant image data in the blueberry plant growth area, the size of the collected blueberry plant image data is not less than one third of the blueberry plant growth area.

[0058] Retrieving blueberry plant image data stored in a database, extracting blueberry fruit images and blueberry leaf images from the blueberry plant image data, further distinguishing and marking the blueberry fruit images and the blueberry leaf images, and distinguishing the blueberry fruit images and the blueberry leaf images to obtain a blueberry fruit image set and a blueberry leaf image set;

[0059] Pick up healthy blueberry fruit images and blueberry leaf images from the blueberry fruit image set and the blueberry leaf image set, respectively, and compare the picked blueberry fruit images and blueberry leaf images with the remaining blueberry fruit images and blueberry leaf images to identify whether the blueberry plant image data from which the blueberry fruit images and blueberry leaf images are derived is healthy;

[0060] Before identifying whether the blueberry plant is healthy, the health status performance value of the blueberry plant is evaluated. The evaluation logic is expressed as follows:

[0061]

[0062] Where, k1 and k2 are the comprehensive similarity between the blueberry fruit image picked up in the blueberry fruit image set and the remaining blueberry fruit images picked up, and the comprehensive similarity between the blueberry leaf image picked up in the blueberry leaf image set and the remaining blueberry leaf images picked up; m is the remaining blueberry fruit image picked up in the blueberry fruit image set; n is the blueberry fruit image picked up in the blueberry fruit image set; sim(a j ,b i ) is the similarity between the blueberry fruit images picked up in the i-th group and the remaining blueberry fruit images picked up in the j-th group; q is the remaining blueberry leaf images picked up in the blueberry leaf image set; p is the blueberry leaf image picked up in the blueberry leaf image set; sim(au ,b v ) is the similarity between the blueberry leaf images picked up by the vth group and the remaining blueberry leaf images picked up by the uth group; ω1 and ω2 are weights; f is the health status performance value of the blueberry plant;

[0063] in, represents the mean similarity between the blueberry fruit images picked by the i-th group and the remaining blueberry fruit images picked by each group, It represents the mean similarity between the blueberry leaf images picked by the vth group and the remaining blueberry leaf images picked by each group. The weights ω1 and ω2 are set by the system and are both greater than zero, and the sum is 1. express The minimum value of each summation item in corresponds to the blueberry fruit image, and The minimum value of each summation item in corresponds to the distance between the blueberry leaf images;

[0064] The smaller the blueberry plant health status performance value f is, the worse the blueberry plant health status is, and vice versa, the better the blueberry plant health status is;

[0065] The logic for identifying whether a blueberry plant is healthy is:

[0066] f1≥f2≥f3;

[0067] Where: f1, f2, f3 are the latest three groups of blueberry plant health status performance values ​​obtained continuously;

[0068] If the above equation is true, it means the blueberry plant is healthy, otherwise, it means the blueberry plant is unhealthy;

[0069] The similarity between two sets of images is calculated using the following formula:

[0070]

[0071] Where: sim(a,b) is the similarity between two sets of images; M a is the total number of pixel blocks in image a; M b is the total number of pixel blocks in image b; γ is the correction; a∩b is the maximum intersection area of ​​the two sets of images; is the color feature vector of the pixel block in image a corresponding to position g in the intersection area; is the color feature vector of the pixel block in image b corresponding to position g in the intersection area;

[0072] Among them, correction>0, the larger sim(a,b) is, the higher the similarity between the two groups of images is, and vice versa, the lower the similarity between the two groups of images is.

[0073] In this embodiment, by executing the method in the above embodiment, the image data of each blueberry plant in the blueberry planting area is collected in a specified logic, so as to provide a prerequisite for identifying the health status of the blueberry plants, thereby identifying the health status of the blueberry plants and determining the blueberry diseases, and effectively, accurately and comprehensively monitoring the growth of each blueberry plant in the blueberry planting area, ensuring the stable growth and development of the blueberry plants, ensuring the production capacity, and reducing the demand and cost of manual management of blueberry planting.

[0074] See also Figure 2 As shown, based on the marks in the figure, the source and collection logic of the blueberry plant image data are further demonstrated. According to this logic, in the process of collecting blueberry plant image data to identify the health status of the blueberry plant, for the same blueberry plant, image data at different positions can be used to participate in the step execution to identify the health status of the blueberry plant, making the process of determining the health status of the blueberry plant more comprehensive, accurate and efficient.

[0075] Embodiment 2:

[0076] In terms of specific implementation, based on Example 1, this example refers to Figure 1 The method for identifying blueberry diseases based on computer vision technology in Example 1 is further described in detail:

[0077] The blueberry growing area is the collection of all blueberry plant growing areas;

[0078] After the blueberry plant growth area is determined, a set of spiral lines is synchronously determined in the blueberry plant growth area, so that the center of the collected blueberry plant image data always falls on the spiral line, and the boundary of a set of blueberry plant image data collected farthest from the center of the blueberry plant growth area coincides with the boundary of the blueberry plant growth area;

[0079] The database performs a storage phase for the collected blueberry plant image data, synchronizes the blueberry plant image data for distinguishing marks, and then performs a storage operation for the blueberry plant image data. The distinguishing marks of the blueberry plant image data include: the center coordinates of the blueberry plant growth area where the blueberry plant image data comes from, and the coordinates of the location where the blueberry plant image data is collected;

[0080] The center coordinates of the blueberry plant growth area are the planting position information of the blueberry plant, and the blueberry plant image data collection position coordinates are any point on the spiral line determined in the blueberry plant growth area.

[0081] Through the above settings, the blueberry plant growth area used in the collection of blueberry plant image data is further determined by the logic setting, and the blueberry plant growth area corresponds to the blueberry plant growth area in the attached drawings of the specification. Figure 2The collected blueberry plant image data pointed to by the reference numeral in the figure corresponds to area 3.

[0082] like Figure 1 As shown, a blueberry plant image data acquisition cycle is set, and the blueberry plant image data acquisition operation is repeatedly performed based on the blueberry plant image data acquisition cycle, and the position of the blueberry plant image data collected each time is different, and the operation of sending to the database and storing in the database is synchronously performed. When the blueberry plant image data is stored in the database, it is differentiated and stored based on the blueberry plant image data source acquisition cycle;

[0083] The operation of retrieving blueberry plant image data from the database retrieves the blueberry plant image data in the earliest set of distinguishing storage intervals stored in the database each time it is executed, and the distinguishing marks of the blueberry fruit images and blueberry leaf images follow the distinguishing marks of the blueberry plant image data from which they are derived.

[0084] In this embodiment, through the above settings, a differentiated storage logic is further provided for the blueberry plant image data to ensure that the execution of the steps of the method in Example 1 has the necessary execution data source, and the blueberry fruit image and blueberry leaf image in the blueberry plant image data are further marked to facilitate the method in Example 1 to finally obtain the location of the unhealthy blueberry plant in the blueberry planting area.

[0085] Embodiment 3:

[0086] In terms of specific implementation, based on Example 1, this example refers to Figure 1 The method for identifying blueberry diseases based on computer vision technology in Example 1 is further described in detail:

[0087] When extracting blueberry fruit images and blueberry leaf images from blueberry plant image data, the following is followed:

[0088] Acquire blueberry plant image data, perform pixel-level segmentation on the blueberry plant image data to obtain a plurality of groups of pixel blocks, set a hue determination threshold and a saturation determination threshold for a blueberry fruit image, set a hue determination threshold and a saturation determination threshold for a blueberry leaf image, calculate the hue and saturation of each group of pixel blocks, and compare them with the hue determination threshold and the saturation determination threshold for the blueberry fruit image, and the hue determination threshold and the saturation determination threshold for the blueberry leaf image;

[0089] Pixel blocks that meet the hue determination threshold and saturation determination threshold of the blueberry fruit image are determined as blueberry fruit pixel blocks, and pixel blocks that meet the hue determination threshold and saturation determination threshold of the blueberry leaf image are determined as blueberry leaf pixel blocks, and pixel blocks that have not been determined in the blueberry plant image data are discarded, and the remaining pixel blocks that have not been discarded are adjacently reorganized to obtain a plurality of groups of sub-images, and the sub-images are distinguished based on the determination result of any group of pixel blocks in each sub-image to obtain a blueberry fruit image set and a blueberry leaf image set;

[0090] Among them, the adjacent determination condition of pixel blocks is: the distance between two groups of pixel blocks is zero;

[0091] The calculation formula for the hue and saturation of a pixel block is:

[0092]

[0093] Where: H is the hue of the pixel block; R, G, B are the values ​​of the red, green, and blue color channels of the pixel block; S J is the saturation of the pixel block; J max J is the channel value with the maximum pixel value based on the three color channels of the pixel block; min It is the channel value with the minimum pixel value based on the three color channels of the pixel block.

[0094] Through the above settings, the logic for obtaining the hue and saturation of the pixel block is further limited.

[0095] like Figure 1 As shown, when the identification result of whether the blueberry plant is healthy is unhealthy, the blueberry fruit image set and the blueberry leaf image set, which are the sources of the blueberry plant health status performance value f, are obtained, and corresponding distinguishing marks are further identified based on the obtained blueberry fruit image set and the blueberry leaf image set, and then the position of the unhealthy blueberry plant in the obtained blueberry planting area is determined by the distinguishing marks.

[0096] Through the above settings, the identification and acquisition logic of the planting locations of unhealthy blueberry plants in the blueberry planting area, that is, blueberry plants with disease problems, are further limited.

[0097] In summary, during the execution of the method in the above embodiment, through the collection of blueberry plant image data, blueberry leaf and blueberry fruit images are further extracted from the blueberry plant image data, so as to bring a more accurate and targeted blueberry plant health status monitoring effect to each blueberry plant in the blueberry planting area through comprehensive analysis of the blueberry leaf and blueberry fruit images, and thereby realize blueberry disease identification, bring comprehensive safety monitoring to blueberry planting, ensure blueberry planting capacity, improve the degree of agricultural intelligence, promote the development of agricultural intelligent technology, and reduce labor cost expenditure in the blueberry planting process.

[0098] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for identifying blueberry diseases based on computer vision technology, characterized in that: include: Obtaining distribution parameters of blueberry plants in a blueberry planting area, using an aerial photography device to fly over the blueberry planting area, collecting blueberry plant image data based on the blueberry plant distribution parameters, building a database, and using the database to store the blueberry plant image data; Retrieving blueberry plant image data stored in a database, extracting blueberry fruit images and blueberry leaf images from the blueberry plant image data, further distinguishing and marking the blueberry fruit images and the blueberry leaf images, and distinguishing the blueberry fruit images and the blueberry leaf images to obtain a blueberry fruit image set and a blueberry leaf image set; Pick up healthy blueberry fruit images and blueberry leaf images from the blueberry fruit image set and the blueberry leaf image set, respectively, and compare the picked blueberry fruit images and blueberry leaf images with the remaining blueberry fruit images and blueberry leaf images to identify whether the blueberry plant image data from which the blueberry fruit images and blueberry leaf images are derived is healthy; Before identifying whether the blueberry plant is healthy, the health status performance value of the blueberry plant is evaluated. The evaluation logic is expressed as follows: Where, k1 and k2 are the comprehensive similarity between the blueberry fruit image picked up in the blueberry fruit image set and the remaining blueberry fruit images picked up, and the comprehensive similarity between the blueberry leaf image picked up in the blueberry leaf image set and the remaining blueberry leaf images picked up; m is the remaining blueberry fruit image picked up in the blueberry fruit image set; n is the blueberry fruit image picked up in the blueberry fruit image set; sim(a j ,b i ) is the similarity between the blueberry fruit images picked up in the i-th group and the remaining blueberry fruit images picked up in the j-th group; q is the remaining blueberry leaf images picked up in the blueberry leaf image set; p is the blueberry leaf image picked up in the blueberry leaf image set; sim(a u ,b v ) is the similarity between the blueberry leaf images picked up by the vth group and the remaining blueberry leaf images picked up by the uth group; ω1 and ω2 are weights; f is the health status performance value of the blueberry plant; in, represents the mean similarity between the blueberry fruit images picked by the i-th group and the remaining blueberry fruit images picked by each group, It represents the mean similarity between the blueberry leaf images picked by the vth group and the remaining blueberry leaf images picked by each group. The weights ω1 and ω2 are set by the system and are both greater than zero, and the sum is 1. express The minimum value of each summation item in corresponds to the blueberry fruit image, and The minimum value of each summation item in corresponds to the distance between the blueberry leaf images.

2. The method for identifying blueberry diseases based on computer vision technology according to claim 1, characterized in that: The blueberry plant distribution parameters in the blueberry planting area include: blueberry plant planting location information, blueberry plant growth radius, and when blueberry plant image data is collected by an aerial photography device, the blueberry plant growth area is determined based on the blueberry plant distribution parameters, and blueberry plant image data is collected in each blueberry plant growth area; Among them, the blueberry plant growth area is a circle drawn with the blueberry plant planting location information as the center, and the blueberry plant growth radius is the radius of the blueberry plant growth area to form a closed area, which is recorded as the blueberry plant growth area. When the aerial photography equipment collects blueberry plant image data in the blueberry plant growth area, the size of the collected blueberry plant image data is not less than one third of the blueberry plant growth area.

3. The method for identifying blueberry diseases based on computer vision technology according to claim 2, characterized in that: The blueberry planting area is the collection of all blueberry plant growth areas; After the blueberry plant growth area is determined, a set of spiral lines is synchronously determined in the blueberry plant growth area, so that the center of the collected blueberry plant image data always falls on the spiral line, and the boundary of a set of blueberry plant image data collected farthest from the center of the blueberry plant growth area coincides with the boundary of the blueberry plant growth area; The database performs a storage phase for the collected blueberry plant image data, performs a distinguishing mark on the synchronized blueberry plant image data, and then performs a storage operation on the blueberry plant image data, wherein the distinguishing mark content of the blueberry plant image data is: the center coordinates of the blueberry plant growth area where the blueberry plant image data is sourced, and the coordinates of the location where the blueberry plant image data is collected; The center coordinates of the blueberry plant growth area are the planting position information of the blueberry plant, and the blueberry plant image data collection position coordinates are any point on the spiral line determined in the blueberry plant growth area.

4. The method for identifying blueberry diseases based on computer vision technology according to claim 1 or 3, characterized in that: A blueberry plant image data acquisition cycle is set, and the blueberry plant image data acquisition operation is repeatedly performed based on the blueberry plant image data acquisition cycle, and the location of the blueberry plant image data collected each time is different, and the operation of sending to the database and storing in the database is synchronously performed. When the blueberry plant image data is stored in the database, it is differentiated and stored based on the blueberry plant image data source acquisition cycle.

5. The method for identifying blueberry diseases based on computer vision technology according to claim 1 or 4, characterized in that: The operation of retrieving blueberry plant image data from the database retrieves the blueberry plant image data in the earliest set of distinguishing storage intervals stored in the database each time it is executed, and the distinguishing marks of the blueberry fruit images and blueberry leaf images follow the distinguishing marks of the blueberry plant image data from which they are derived.

6. The method for identifying blueberry diseases based on computer vision technology according to claim 1, characterized in that: When extracting blueberry fruit images and blueberry leaf images from blueberry plant image data, the following is followed: Acquire blueberry plant image data, perform pixel-level segmentation on the blueberry plant image data to obtain a plurality of groups of pixel blocks, set a hue determination threshold and a saturation determination threshold for a blueberry fruit image, set a hue determination threshold and a saturation determination threshold for a blueberry leaf image, calculate the hue and saturation of each group of pixel blocks, and compare them with the hue determination threshold and the saturation determination threshold for the blueberry fruit image, and the hue determination threshold and the saturation determination threshold for the blueberry leaf image; Pixel blocks that meet the hue determination threshold and saturation determination threshold of the blueberry fruit image are determined as blueberry fruit pixel blocks, and pixel blocks that meet the hue determination threshold and saturation determination threshold of the blueberry leaf image are determined as blueberry leaf pixel blocks, and pixel blocks that have not been determined in the blueberry plant image data are discarded, and the remaining pixel blocks that have not been discarded are adjacently reorganized to obtain a plurality of groups of sub-images, and the sub-images are distinguished based on the determination result of any group of pixel blocks in each sub-image to obtain a blueberry fruit image set and a blueberry leaf image set; The adjacent determination condition of the pixel blocks is: the distance between two groups of pixel blocks is zero.

7. The method for identifying blueberry diseases based on computer vision technology according to claim 6, characterized in that: The calculation formula of the hue and saturation of the pixel block is: Where: H is the hue of the pixel block; R, G, B are the values ​​of the red, green, and blue color channels of the pixel block; S J is the saturation of the pixel block; J max J is the channel value with the maximum pixel value based on the three color channels of the pixel block; min It is the channel value with the minimum pixel value based on the three color channels of the pixel block.

8. The method for identifying blueberry diseases based on computer vision technology according to claim 1, characterized in that: The smaller the blueberry plant health status performance value f is, the worse the blueberry plant health status is, and vice versa, the better the blueberry plant health status is; The logic for identifying whether a blueberry plant is healthy is: f1≥f2≥f3; Where: f1, f2, f3 are the latest three groups of blueberry plant health status performance values ​​obtained continuously; Among them, if the above formula is true, it means that the blueberry plant is healthy, otherwise, it means that the blueberry plant is unhealthy.

9. The method for identifying blueberry diseases based on computer vision technology according to claim 1, characterized in that: The similarity between two groups of images is calculated using the following formula: Where: sim(a,b) is the similarity between two sets of images; M a is the total number of pixel blocks in image a; M b is the total number of pixel blocks in image b; γ is the correction; a∩b is the maximum intersection area of ​​the two sets of images; is the color feature vector of the pixel block in image a corresponding to position g in the intersection area; is the color feature vector of the pixel block in image b corresponding to position g in the intersection area; Among them, correction>0, the larger sim(a,b) is, the higher the similarity between the two groups of images is, and vice versa, the lower the similarity between the two groups of images is.

10. The method for identifying blueberry diseases based on computer vision technology according to claim 8, characterized in that: When the identification result of whether the blueberry plant is healthy is unhealthy, the blueberry fruit image set and the blueberry leaf image set, which are the sources of the blueberry plant health status performance value f, are obtained, and corresponding distinguishing marks are further identified based on the obtained blueberry fruit image set and the blueberry leaf image set, and then the position of the unhealthy blueberry plant in the obtained blueberry planting area is determined by the distinguishing marks.

Citation Information

Cited By

  • Grape gas burning disease degree intelligent detection method and system based on image processing

    CN121616586A

  • Image processing-based intelligent detection method and system for grape esca disease degree

    CN121616586B