Unmanned aerial vehicle custard apple disease and insect pest identification method and system based on machine vision

Through the drone system based on machine vision, image enhancement algorithm and deep learning technology are used to achieve accurate identification and precise spraying of sugar apple diseases and insect pests, solving the problem of inaccurate traditional manual identification and improving the effect of pest control and planting efficiency.

CN118736445APending Publication Date: 2024-10-01KUNMING UNIV OF SCI & TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410869126.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional sugar apple plant protection work relies on manual observation and empirical judgment, resulting in inaccurate identification of pests and diseases, frequent misjudgments and missed identifications, unable to meet the needs of large-scale planting, and is time-consuming and has limited effects.

Method used

A drone system based on machine vision is used to collect and analyze sugar apple plant images through a visual recognition system. Image enhancement algorithms and genetic algorithms are used to segment and identify pest and disease areas. The Faster DR-IACNN detection algorithm is combined with deep learning to accurately determine pests and diseases. type, and precisely control the spraying liquid.

Benefits of technology

It achieves accurate identification and precise spraying of sugar apple diseases and insect pests, improves the effect of pest control, reduces agricultural costs, and increases planting efficiency and yield.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736445A_ABST
    Figure CN118736445A_ABST
Patent Text Reader

Abstract

The invention provides a machine vision-based unmanned aerial vehicle custard apple disease and insect pest identification method and system, the method is applied to an identification system, the identification system comprises an unmanned aerial vehicle and a workstation, and the unmanned aerial vehicle is provided with a visual identification system. The unmanned aerial vehicle annona squamosa plant disease and insect pest identification method comprises the following steps: acquiring an annona squamosa plant image acquired and identified by a visual identification system; processing the image data based on an image enhancement algorithm to obtain a pre-processed image, performing image segmentation on the pre-processed image, and identifying a pest image area in the pre-processed image; and extracting feature optimization data in the disease and insect pest image area, inputting the feature optimization data into a preset custard apple disease and insect pest database, and identifying a target disease and insect pest type in the disease and insect pest image area. The annona squamosa plant image in the target area is collected based on the unmanned aerial vehicle, the pest and disease damage type of the annona squamosa plant in the area is judged through machine vision processing of the image, the pesticide liquid is accurately selected according to the pest and disease damage type, the better pest and disease damage control effect is achieved, and the agricultural cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of agricultural plant protection, and in particular to a method and system for identifying sugar-apple pests and diseases by an unmanned aerial vehicle based on machine vision. Background Art

[0002] Sugar-apple is a famous fruit in tropical areas. The fruit is edible, and the fruit and root also have certain medicinal value. In addition to being planted as a tropical fruit tree, it is also suitable for planting in gardens and green spaces for viewing. It has good results when planted alone or in groups, and has good economic value. Sugar-apple may suffer from various diseases and insect pests such as anthrax, stem rot, red spiders, and scale insects. In order to ensure the yield and quality of sugar-apple, many growers will take pesticide control measures.

[0003] Traditional sugar-apple plant protection work mainly relies on manual observation and experience judgment to spray the liquid medicine. Since sugar-apple is a deciduous small tree, 3-5 meters high, the human eye cannot accurately observe the specific cause of the crop damage, and can only rely on experience to judge, which is prone to misjudgment and omission. In addition, the process of manual observation and judgment is time-consuming and has limited effect, which cannot meet the plant protection needs of large-scale plantings. Summary of the invention

[0004] The main purpose of the present invention is to provide a method for identifying pests and diseases of sugar-apple fruits using a drone based on machine vision. The method uses machine vision technology to collect and analyze image data to determine the cause of the damage to the sugar-apple plants, thereby achieving accurate spraying of the liquid medicine and improving the effect of pest and disease control.

[0005] To achieve the above-mentioned object, the first aspect of the present invention provides a method for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision, which is applied to a system for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision. The system comprises a drone and a workstation, and a visual recognition system is provided on the drone. The method for identifying pests and diseases of sugar-apple fruit by using a drone comprises the following steps:

[0006] First, obtain the images of the sugar-apple plant collected and identified by the visual recognition system, including:

[0007] Obtain image data collected by a visual recognition system;

[0008] Comparing the image data with a reference Custard-apple plant image to determine whether the image data is a Custard-apple plant image;

[0009] When it is determined that the image data is an image of a Custard Apple plant, the image data is marked.

[0010] Secondly, the image data is processed based on the image enhancement algorithm to obtain a preprocessed image, wherein the preprocessed image is a weighted fusion image of image A(i, j) and image B(i, j), image A(i, j) is a histogram equalization image of the image data, and image B(i, j) is an enhanced color image of the image data;

[0011] Based on the image enhancement algorithm, the image data is processed to obtain the preprocessed image including:

[0012] Calculate the initial histogram of the image data;

[0013] Calculate the normalized histogram and the cumulative histogram based on the initial histogram;

[0014] The balanced mapping relationship is calculated based on the cumulative histogram to obtain the enhanced image A(i,j);

[0015] And, decomposing the image data into R, G, B images, converting them into double data, and integrating them to obtain an enhanced color image B(i, j);

[0016] The image A(i,j) and image B(i,j) are weightedly fused to obtain the preprocessed image.

[0017] Next, perform image segmentation on the preprocessed image to identify the pest image area in the preprocessed image, including:

[0018] Use the automatic threshold image segmentation method to obtain the initial value;

[0019] For a given parameter Θv, calculate the probability that the next step point x belongs to the i-th category;

[0020] For a given classification membership probability function, calculate the minimum point of the energy function and obtain new parameters through the variational formula;

[0021] Repeat the above steps until the algorithm converges, and achieve segmentation of the pest image area in the preprocessed image based on the parameter set and probability.

[0022] Finally, the feature optimization data in the pest and disease image area is extracted and input into the preset sugar-apple pest and disease database to identify the target pest and disease type in the pest and disease image area. The feature optimization data is realized based on the genetic algorithm.

[0023] The feature optimization data extracted from the pest image area includes:

[0024] Use normalized features to calculate the fitness of each individual and initialize the population;

[0025] Use the roulette algorithm to select individuals according to their fitness;

[0026] Perform adaptive crossover and mutation operations to generate a new population for the next generation;

[0027] When the number of iterations reaches the maximum number of genetic iterations, or the fitness of the optimal individual and the fitness of the population no longer increase, the feature optimization data is obtained.

[0028] Among them, the Faster DR-IACNN detection algorithm based on deep learning of the preset sugar-apple pest and disease database is used to detect and identify the types of pests and diseases, including the Inception-v1 module, Inception-ResNet-v2 module and SE-block module.

[0029] Among them, the target pests and diseases include anthracnose, stem rot, scorch rot, red spider pests, scale insect pests, and moth pests.

[0030] In one embodiment of the first aspect, the method for identifying pests and diseases of sugar-apple fruit by using a drone further comprises the following steps:

[0031] Based on the target pest and disease type, determine the target liquid medicine corresponding to the target pest and disease type;

[0032] Add the target liquid medicine to the spraying device of the drone and spray the liquid medicine on the area of ​​the pest image.

[0033] The second aspect of the present invention provides a system for identifying pests and diseases of sugar-apple fruit using a drone based on machine vision, which is used in the method for identifying pests and diseases of sugar-apple fruit using a drone based on machine vision in the first aspect, comprising:

[0034] The drone is provided with a visual recognition system, wherein the visual recognition system includes a visual image acquisition module and a visual image processing module, and is used to acquire and output the recognized Custard Apple plant image;

[0035] The workstation is used to obtain images of sugar-apple plants, process image data based on an image enhancement algorithm to obtain a preprocessed image, perform image segmentation on the preprocessed image, and identify pest and disease image areas in the preprocessed image; extract feature optimization data in the pest and disease image areas, input the feature optimization data into a preset sugar-apple pest and disease database, and identify target pest and disease types in the pest and disease image areas.

[0036] In one embodiment of the second aspect, the drone body also includes a variable spraying module, which includes a medicine box, which is connected to the atomizing nozzle through a medicine pipe and is used to spray the area of ​​the pest image. A diaphragm pump, a pressure sensor, a flow sensor, and a liquid level sensor are arranged in the medicine box, and an electromagnetic valve is arranged on the medicine pipe. The diaphragm pump, the pressure sensor, the flow sensor, the liquid level sensor, and the electromagnetic valve are connected to the central control device.

[0037] The embodiment of the present invention provides a method and system for identifying sugar-apple pests and diseases by drone based on machine vision. The method collects images of sugar-apple plants in a target area by drone, processes the images by machine vision to determine the types of pests and diseases of the sugar-apple plants in the area, and accurately selects liquid medicine according to the types of pests and diseases, thereby achieving better pest and disease control effects and reducing agricultural costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a flow chart of a method for identifying pests and diseases of sugar-apple fruit using a drone based on machine vision according to the first embodiment of the present invention;

[0039] Figure 2 This is a structural schematic diagram of the drone body of the machine vision-based drone sugar-apple pest identification system involved in Example 4 of the present invention.

[0040] In the figure,

[0041] 1- centrifugal atomizing nozzle, 2- spray rod, 3- central control device, 4- drone body, 5- medicine tube, 6- medicine box, 7- drone landing gear, 8- digital camera.

[0042] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0044] Embodiment 1:

[0045] like Figure 1 The method for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision is applied to a system for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision, and includes the following steps:

[0046] S101, obtaining an image of a Custard Apple plant collected and identified by a visual recognition system.

[0047] The visual image acquisition module in the UAV sugar-apple pest and disease identification system collects data of the target area to obtain a number of image data, and then the image data is compared with the reference sugar-apple plant image through the visual image processing module to determine whether the image data is a sugar-apple plant image. When the image data is determined to be a sugar-apple plant image, the image data is marked and wirelessly transmitted to the workstation PC.

[0048] S102: Process the image data based on an image enhancement algorithm to obtain a preprocessed image.

[0049] After the workstation PC receives the image data, the HEMSRCR image enhancement algorithm is used to process the corresponding image. The steps of the HEMSRCR image enhancement algorithm are as follows:

[0050] S1021. Calculate an initial histogram (a histogram is an important means of statistically analyzing the grayscale distribution of an image) and record the number of times each pixel appears.

[0051] S1022, calculating a normalized histogram and a cumulative histogram from the initial histogram;

[0052] The initial histogram counts the number of occurrences of each pixel with different gray levels in the image, and is achieved by counting the gray values ​​of each pixel in the image. The pixel counts of each gray level are recorded in the histogram, and after the histogram is formed, the initial histogram is obtained. The normalized histogram normalizes each pixel count in the initial histogram to a relative frequency, and obtains the relative frequency by dividing each pixel count by the total number of pixels in the image, ensuring that the sum of all gray level pixels in the normalized histogram is equal to 1. The cumulative histogram refers to the cumulative summation of the relative frequency of each gray level pixel in the normalized histogram, and is achieved by calculating the cumulative sum of each gray level pixel in the normalized histogram.

[0053] S1023, according to the formula 0≤rj≤1,k=0,1,…,L-1,(where rj is the normalized grayscale before transformation, T(rk) is the transformation function, sk is the normalized grayscale after transformation, nj is the number of pixels with the kth grayscale in the original image, n is the total number of pixels in the image, pr(rj) is the probability of the image taking the kth grayscale value before transformation), find the balanced mapping relationship and get the enhanced image A(i,j).

[0054] S1024, decompose the input color image Ii(x,y) into three images of R, G, and B, and convert their data types to double type in turn. Perform the following steps on each image:

[0055] S10241, according to formula R i (x,y)=logI i (x,y)-log[F(x,y)I i (x,y)] and Determine the Gaussian surround function to calculate the corresponding Gaussian template and select the value of the scale C.

[0056] S10242, according to the formula Calculate the weighted average of the results obtained at each scale and select the value of weight W. (Where Ri(x,y) represents the output of the i-th channel, i∈R,G,B represents three color bands; Fn(x,y) represents the Gaussian surround function, Wn represents the weight coefficient related to Fn(x,y); N represents the number of scales)

[0057] S10243, according to the formula Japanese style Calculate the color restoration factor and substitute it into the formula calculate

[0058] (Where Ci represents the color restoration factor of the i-th channel, which is used to adjust the ratio of the colors of the three channels; f[…] represents the mapping function of the color space; β is the gain constant; α is the controlled nonlinear intensity)

[0059] IV According to the formula get (where parameters G and O depend on the algorithm in the software) and stretch it linearly.

[0060] S10244. Perform S1024 on the three channels R, G, and B respectively, and finally integrate the complete enhanced color image B(i, j).

[0061] S1025. Perform weighted fusion on the obtained images A(i,j) and B(i,j) using the formula F(i,j)=λA(i,j)+(1-λ)B(i,j), where λ is a weighting coefficient and the best value is in the range of 0.65-0.8.

[0062] Since sugar-apple has many types of diseases and pests, and different types of diseases and pests have similar effects, but different pesticides need to be sprayed for prevention and control, it is necessary to further improve the identification of pests and diseases. For example, when preventing and controlling diseases, both anthracnose and scorch rot can cause sugar-apple to turn black, but scorch rot is a fungal disease. In the early stage, nearly circular lesions grow on the sugar-apple, and in the later stage, they turn dark brown to black, with wrinkled skin, and finally the whole fruit turns black. Anthracnose is also a disease caused by fungal infection, but it mainly manifests as black circular lesions on the leaf surface, and black sporangia are produced to cause black fruit. The two diseases require different agents for prevention and control, so after detecting black fruit, it is necessary to further identify the lesions and whether the fruit grows sporangia to determine the medication. Incorrect medication will not only fail to improve the treatment of diseases and pests, but will also delay the sugar-apple and cause a reduction in production.

[0063] In S102, the preprocessing of the enhanced image data can improve the contrast and dynamic range of the image, making the details in the image more prominent. This helps to improve the accuracy of image segmentation and pest and disease area identification, making the problem area easier to detect and segment.

[0064] By enhancing the image data separately, we obtain image A(i,j) and image B(i,j), and use different enhancement methods and parameters to highlight different types of features. The image A(i,j) obtained by the normalized balanced mapping relationship focuses on the details and texture features of the pest area, while the image B(i,j) focuses on the color information of the pest area. By weighted fusion of these two enhanced images, their advantages are comprehensively utilized to improve the detection and recognition effect of the pest area.

[0065] The weighted fused preprocessed images can provide more comprehensive and richer information, and can better capture the characteristics and texture information of the problem area during subsequent image segmentation and pest and disease area identification, thereby improving accuracy and robustness.

[0066] S103: performing image segmentation on the pre-processed image to identify the pest image region in the pre-processed image.

[0067] The image processed by the image enhancement algorithm in S102 is segmented to separate the images with pests and diseases from those without pests and diseases. The pixel value of a pixel in a color image can be regarded as the realization of a random variable, which obeys the mixed Gaussian distribution:

[0068] in, It is a three-dimensional Gaussian distribution density function with vector μi∈R3 as expectation, 3*3 matrix Σi as variance matrix, i=1,2, αi as weight, satisfying Let Θ = {α1, α2, μ1, μ2, ∑1, ∑2} be the parameter set to be determined. In order to determine the parameter set, the maximum likelihood function of the mixed Gaussian distribution can be solved by the EM algorithm. The image segmentation steps of the EM algorithm are as follows:

[0069] S1031, using the automatic threshold image segmentation method to obtain the initial value μ1 0 and μ2 0 .

[0070] S1032. For the given parameter Θv, calculate the probability that the next step point x belongs to the i-th category:

[0071]

[0072] S1033. For the membership probability function pv+1(i,x) of a given classification, calculate the energy function The minimum point Θ. The new parameter Θv+1 is obtained by the variational formula:

[0073] S1034, repeat S1032 and S1033 until the algorithm converges, that is, |Θv -Θ v+1 | and |p v (i,x)-p v+1 (i,x)|is sufficiently small. Using the parameter set Θ and probability p(i,x) calculated by the above EM algorithm, the leaf Ω can be divided into two regions Ω1 = {x; p(1,x) ≥ p(2,x)}, Ω2 = Ω-Ω1, which means that the segmentation of the diseased area is achieved.

[0074] S104, extracting feature optimization data from the pest image area, inputting the feature optimization data into a preset sugar-apple pest database, identifying the target pest type in the pest image area, and realizing the feature optimization data based on a genetic algorithm.

[0075] After image segmentation, the genetic algorithm is used to extract the optimal features in the pest image area. The genetic algorithm (GA) is a global optimization algorithm and a random search algorithm that draws on the natural selection and evolution mechanism of the biological world. It has the characteristics of high parallelism, randomness and adaptive search. The process of the genetic optimization feature algorithm is as follows:

[0076] S1041, calculating the fitness of each individual using normalized features;

[0077] Let the feature vector p of the image be i ={p i1 ,p i2 ,…,p in}, the normalized eigenvector p i 'for:

[0078]

[0079] The smaller the distance within the same category and the larger the distance between different categories, the better the classification effect. The fitness function used is:

[0080] Among them, n is the total number of original features; k is the expected number of selected features; α is the weighting coefficient; sb is the distance between different pest and disease features; sw is the intra-class distance of the same pest and disease features.

[0081] S1042. Initialize the population; use binary coding. If a gene in an individual is 1, it means that the feature corresponding to the gene is selected; otherwise, if it is 0, it means that the feature is not selected. Randomly generate N (20 < N < 100) individuals of length L to form a population.

[0082] S1043, using the roulette algorithm to select individuals according to the fitness; the roulette algorithm process is as follows:

[0083] I Calculate the probability of each individual being selected p(x i):

[0084] II Calculate the cumulative probability q(x i ):

[0085] III Randomly generate an array m, the elements in the array range between 0 and 1, and sort them from small to large. If the cumulative probability q(xi) is greater than the element m[i] in the array, the individual x(i) is selected. If it is less than m[i], the next individual x(i+1) is compared until an individual is selected.

[0086] If you need to transfer N individuals, just repeat step Ⅲ N times.

[0087] S1044, performing adaptive crossover and mutation operations to generate a new population of the next generation;

[0088] S1045. When the number of iterations reaches the maximum number of genetic iterations, or the fitness of the optimal individual and the fitness of the population no longer increase, the algorithm ends; otherwise, return to S1043 to continue the loop execution.

[0089] Data training is conducted on the database of sugar-apple pests and diseases to find out the consequences of different pests and diseases, whether they are caused by bacteria, fungi, physiological pests and diseases, or due to the growth environment or sunlight. Different drugs should be sprayed to solve different problems according to the disasters caused by different situations.

[0090] The Custard Apple Pest and Disease Database contains an information decision module, which contains the Faster DR-IACNN detection algorithm based on deep learning for detecting and identifying the types of pests and diseases. The Inception-v1 module, Inception-ResNet-v2 module and SE-block module are introduced to improve the detection performance. DR-IA is a two-layer RPN with an Inception module and an Attention structure, which contains all the features of the model.

[0091] Faster DR-IACNN includes: (1) A front-end network for extracting disease image features. The front-end network, INSE-ResNet, includes a residual structure, an Inception module, and a SE-block. The backbone Res Net is used to extract feature information from the image, while the inception module and SE-block are designed to broaden the receptive field and obtain multi-scale features. (2) A region proposal network (RPN) for locating objects. After being processed by the front-end network, the feature map is fed into the RPN, where the lesions are located and predicted using bounding boxes.

[0092] Embodiment 2:

[0093] On the basis of the first embodiment, the method for identifying pests and diseases of sugar-apple fruit by drone further includes:

[0094] Based on the target pest and disease type, determine the target liquid medicine corresponding to the pest and disease type;

[0095] Add the target liquid medicine to the spraying device of the drone and spray the liquid medicine on the area of ​​the pest image.

[0096] Faster DR-IACNN also includes: fully connected layers for classification and regression. In this part, the categories and scores are calculated through the fully connected layers. All information is fused in the cascade layer. The detector detects and identifies the results of pests and diseases, sprays the areas that need spraying, stops spraying where spraying is not needed, and continues spraying the next area. The results of pests and diseases detected and identified by the detector are transmitted to the drone, and the corresponding area is sprayed with liquid.

[0097] Embodiment 3

[0098] A system for identifying pests and diseases of sugar-apple fruits by drone based on machine vision, which is used in the method for identifying pests and diseases of sugar-apple fruits by drone as shown in the first embodiment, comprises:

[0099] The drone body is provided with a visual recognition system, which includes a visual image acquisition module and a visual image processing module, and is used for acquiring and outputting the recognized images of the sugar-apple plant.

[0100] The workstation is used to obtain images of sugar-apple plants, process image data based on an image enhancement algorithm to obtain a preprocessed image, perform image segmentation on the preprocessed image, and identify pest and disease image areas in the preprocessed image; extract feature optimization data in the pest and disease image areas, input the feature optimization data into a preset sugar-apple pest and disease database, and identify target pest and disease types in the pest and disease image areas.

[0101] Embodiment 4

[0102] A system for identifying pests and diseases of sugar-apple fruits by drone based on machine vision, which is used in the method for identifying pests and diseases of sugar-apple fruits by drone as shown in the second embodiment, comprises:

[0103] like Figure 2The drone body 4 shown in the figure is provided with a centrifugal atomizing nozzle 1, a spray rod 2, a central control device 3, a medicine tube 5, a medicine box 6, a drone landing gear 7, and a digital camera 8. The medicine box 6 is connected to the centrifugal atomizing nozzle 1 through the medicine tube 5, and the spray rod 2 is used to set up the medicine tube 5. A liquid level sensor and a diaphragm pump are provided in the medicine box 6. The liquid level sensor is used to monitor the amount of liquid medicine in the medicine box 6. The medicine tube 5 is provided with a solenoid valve for controlling its on and off. According to different requirements, the opening and closing of the solenoid valve is controlled by the variable spraying controller to control the spraying amount of the drone nozzle and the switch of the nozzle.

[0104] The workstation is used to obtain images of sugar-apple plants, process image data based on an image enhancement algorithm to obtain a preprocessed image, perform image segmentation on the preprocessed image, and identify pest and disease image areas in the preprocessed image; extract feature optimization data in the pest and disease image areas, input the feature optimization data into a preset sugar-apple pest and disease database, and identify target pest and disease types in the pest and disease image areas.

[0105] The system is equipped with at least two drones. The first drone is equipped with a digital camera 8 to shoot video images over the sugar apple. The central control device 3 of the second drone obtains the spraying instruction from the workstation PC, adds the target liquid medicine to the spraying device of the second drone, and sprays the liquid medicine on the area of ​​the pest image. During the spraying process, the diaphragm pump in the medicine box 6 draws the medicine from the medicine box 6, and sprays it through the spray pipe 5 spray rod 2 to the centrifugal atomizing nozzle 1.

[0106] Among them, the harmful symptoms of anthracnose disease are: black circular spots appear on the leaf surface, and black sporangia are produced, causing leaf fall, black fruit, and rotten fruit.

[0107] Spraying method: add 500 times of 50% carbendazim wettable powder or 800-1000 times of 70% thiophanate wettable powder into the medicine box 6 and spray.

[0108] The harmful symptoms of stem rot disease are: causing seedling death, branch dryness and fruit rot.

[0109] Spraying method: add 500 times liquid of 50% carbendazim wettable powder or 0.5% Bordeaux mixture into the medicine box 6 and spray.

[0110] The harmful symptoms of scorch rot are: the fruit turns black and becomes dry and stiff, mainly occurring on the fruit, fungal disease, and the lesions are nearly round. Spraying method: add 800 times of 50% thiophanate wettable powder or 800-1000 times of 75% Houjunqing in the medicine box 6 and spray.

[0111] Red spider pest

[0112] Spraying method: add 2000 times of 1.8% avermectin emulsifiable concentrate or 1500-2000 times of 15% pyridabenzane or 3000-5000 times of 24% spiroclofonate suspension into the medicine box 6 and spray.

[0113] Scale insect pests

[0114] Spraying method: add 2.5% cypermethrin 3000 times liquid into the medicine box 6 and spray.

[0115] Moth pests

[0116] Add 90% Diprotozoa 800 times solution or 20% Kung Fu 2000-3000 times solution to the medicine box 6 and spray.

[0117] According to other pests and diseases types in the sugar-apple pests and diseases database, other medicines are added into the medicine box 6, and according to the prevention and control needs, the medicines are sprayed once or multiple times at different growth stages of the sugar-apple.

[0118] It should be noted that since the storage medium provided in the embodiment of the present application is the storage medium used to implement the method of the embodiment of the present application, based on the method introduced in the embodiment of the present application, the person skilled in the art can understand the specific structure and deformation of the storage medium, so it is not repeated here. All storage media used in the method of the embodiment of the present application belong to the scope of protection of this application.

[0119] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0121] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0122] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for identifying pests and diseases of sugar-apple fruit using drones based on machine vision. It is characterized in that The invention is applied to a sugar-apple pest identification system using a drone based on machine vision, the system comprising a drone and a workstation, the drone being provided with a visual identification system, and the sugar-apple pest identification method using a drone comprising the following steps: Acquire the Custard Apple plant image collected and identified by the visual recognition system; Processing the image data based on an image enhancement algorithm to obtain a preprocessed image, wherein the preprocessed image is a weighted fusion image of image A(i, j) and image B(i, j), the image A(i, j) is a histogram equalization image of the image data, and the image B(i, j) is an enhanced color image of the image data; Performing image segmentation on the preprocessed image to identify the pest image area in the preprocessed image; Extracting feature optimization data from the pest image area, inputting the feature optimization data into a preset sugar-apple pest database, identifying the target pest type in the pest image area, wherein the feature optimization data is implemented based on a genetic algorithm.

2. The method for identifying pests and diseases of sugar apples by using a drone based on machine vision as claimed in claim 1, It is characterized in that The unmanned aerial vehicle sugar-apple fruit pest identification method also includes: Based on the target pest type, determining a target liquid medicine corresponding to the target pest type; The target liquid medicine is added to the spraying device of the drone, and the liquid medicine is sprayed on the area of ​​the pest image.

3. The method for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision as claimed in claim 1, It is characterized in that The step of obtaining the Custard Apple plant image collected and identified by the visual recognition system comprises: Acquiring image data collected by the visual recognition system; Comparing the image data with a reference sugar-apple plant image to determine whether the image data is a sugar-apple plant image; When it is determined that the image data is the image of the Custard Apple plant, the image data is marked.

4. The method for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision as claimed in claim 1, It is characterized in that Processing the image data based on an image enhancement algorithm to obtain a preprocessed image comprises: Calculating an initial histogram of the image data; Calculating a normalized histogram and a cumulative histogram based on the initial histogram; Calculating the balanced mapping relationship based on the cumulative histogram to obtain an enhanced image A(i, j); And, decomposing the image data into R, G, B images, converting them into double data, and integrating them to obtain an enhanced color image B(i, j); The image A(i,j) and the image B(i,j) are weightedly fused to obtain the preprocessed image.

5. The method for identifying pests and diseases of sugar apples by using a drone based on machine vision as claimed in claim 1, It is characterized in that The performing image segmentation on the preprocessed image to identify the pest image region in the preprocessed image comprises: Use the automatic threshold image segmentation method to get the initial value μ 1 0 and μ 2 0 ; For a given parameter Θv, calculate the probability that the next step point x belongs to the i-th category; For a given classification membership probability function, calculate the minimum point of the energy function and obtain new parameters through the variational formula; The above steps are repeated until the algorithm converges, and the segmentation of the pest image area in the pre-processed image is achieved based on the parameter set and probability.

6. The method for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision as claimed in claim 1, It is characterized in that The extracting of the feature optimization data in the pest image area comprises: Use normalized features to calculate the fitness of each individual and initialize the population; Use the roulette algorithm to select individuals according to their fitness; Perform adaptive crossover and mutation operations to generate a new population for the next generation; When the number of iterations reaches the maximum number of genetic iterations, or the fitness of the optimal individual and the fitness of the population no longer increase, the feature optimization data is obtained.

7. The method for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision as claimed in claim 1, It is characterized in that The target pests and diseases types include anthracnose, stem rot, scorch rot, red spider pests, scale insect pests, and moth pests.

8. The method for identifying pests and diseases of sugar-apple fruit by using a drone based on machine vision as claimed in claim 1, It is characterized in that The preset sugar-apple pest and disease database is based on the Faster DR-IACNN detection algorithm of deep learning for detecting and identifying the types of pests and diseases, including an Inception-v1 module, an Inception-ResNet-v2 module and an SE-block module.

9. A system for identifying pests and diseases of sugar-apple fruits by drones based on machine vision, used in the method for identifying pests and diseases of sugar-apple fruits by drones based on machine vision as claimed in any one of claims 1 to 8, It is characterized in that include: The drone body is provided with a visual recognition system, wherein the visual recognition system comprises a visual image acquisition module and a visual image processing module, and is used to acquire and output the recognized Custard Apple plant image; The workstation is used to obtain the image of the sugar-apple plant, process the image data based on an image enhancement algorithm to obtain a pre-processed image, perform image segmentation on the pre-processed image, and identify the pest and disease image area in the pre-processed image; extract feature optimization data in the pest and disease image area, input the feature optimization data into a preset sugar-apple pest and disease database, and identify the target pest and disease type in the pest and disease image area.

10. The machine vision-based UAV Custard Apple pest and disease identification system as claimed in claim 9, It is characterized in that The drone body also includes a variable spraying module, which includes a medicine box, which is connected to an atomizing nozzle through a medicine pipe and is used to spray the area of ​​the pest image. A diaphragm pump, a pressure sensor, a flow sensor, and a liquid level sensor are arranged in the medicine box, and an electromagnetic valve is arranged on the medicine pipe. The diaphragm pump, pressure sensor, flow sensor, liquid level sensor, and electromagnetic valve are connected to the central control device.

Citation Information

Patent Citations

  • Method and system for enhancing low-illumination image

    CN115809966A

  • Unmanned aerial vehicle intelligent citrus disease detection method and system

    CN116109948A

  • Automated surface area assessment for dermatologic lesions

    US20190053750A1