Automatic supervision method for tea garden harvesting forbidding period
By constructing a tea garden supervision model during the forbidden period and using technologies such as YOLOv8 and ShuffleNet for tea garden image processing, automatic monitoring and early warning of spraying and picking operations in the tea garden were realized, solving the problem of the high manpower investment and lack of real-time monitoring of existing tea garden supervision methods during the forbidden period. problems and improve tea quality, safety and supervision efficiency.
Patent Information
- Application Number
- CN202410875463.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-01
AI Technical Summary
The existing monitoring methods for tea gardens during the no-harvest period require a lot of manpower investment, and lack real-time monitoring and management methods for excessive pesticide residues in tea. It is impossible to promptly detect and deal with non-compliance between spraying operations and picking operations in tea gardens.
By acquiring tea garden image information, we build a tea garden supervision model during the prohibited harvest period, use the YOLOv8 model and ShuffleNet network for image processing and feature extraction, and combine the attention mechanism and category weighted loss function to realize automatic monitoring and early warning of tea garden spraying operations and picking operations. Generate electronic files that cannot be tampered with.
It has realized automatic monitoring and early warning of the tea garden's harvesting ban period, improved supervision efficiency and accuracy, reduced manpower investment, ensured the quality and safety of tea, timely discovered and dealt with non-compliant picking behavior, and prevented excessive pesticide residues.
Smart Images

Figure CN118736492A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to an automatic supervision method for a tea garden's forbidden picking period. Background Art
[0002] Tea is recognized as a healthy drink in the world, and my country's tea production accounts for nearly half of the world's tea production. Since tea trees mostly grow in tropical and subtropical areas, and are often planted in single plots, tea gardens are prone to diseases and pests. Tea tree diseases and pests have a serious impact on tea garden yields and tea quality, and can even lead to the destruction of the entire tea garden. Although today's emphasis is on protecting the ecological environment, vigorously implementing integrated pest and disease control, and reducing the use of pesticides, chemical control is still an important part of the current integrated pest and disease control, especially for serious diseases and insect pests. If they cannot be cured in time by relying solely on manual and physical methods, or even biological control methods, pesticides must be used. Tea garden spraying is the most common operation method for tea garden management. It is mainly used for spraying pesticides, foliar fertilizers and plant growth regulators, which helps prevent pests and pathogens, promote the growth of tea trees, and ensure the quality of tea. There must be a certain number of days between the application of various pesticides, foliar fertilizers or plant growth regulators in the tea garden and the tea picking. This is formulated based on the maximum allowable residue limit of pesticides and other ingredients in tea and the degradation rate of the pesticides on tea trees, to ensure that the residue of pesticides and other substances in the picked tea does not exceed the allowable residue standard. Only by mastering the reasonable use technology of chemical pesticides in tea gardens according to the prevention and control indicators and strictly implementing the reasonable use guidelines of chemical pesticides can the pesticide residue in tea be reduced and the quality and safety of tea be guaranteed.
[0003] However, at present, most tea gardens adopt the operation mode of "company + farmers", "company + base + farmers", "park + base + farmers", etc. The administrators supervise the scattered farmers, and the supervision of whether the tea gardens strictly implement the ban period requirements is mainly through policy publicity, manual dynamic inspections, manual sampling and other means. Although these means can supervise and manage the ban period requirements of tea to a certain extent, there are also some problems:
[0004] 1. The existing supervision methods require a lot of manpower input, which greatly increases the workload of supervisors;
[0005] 2. Most of the existing regulatory methods rely on prior publicity and post-inspection measures, and lack effective monitoring and management methods for key behaviors that cause excessive pesticide residues in tea (such as failure to strictly implement tea ban period management requirements). Summary of the invention
[0006] The invention provides an automatic supervision method for a tea garden's forbidden picking period.
[0007] An automatic supervision method for a tea garden's forbidden picking period, comprising:
[0008] Acquire tea garden image information; the tea garden image information includes: tea garden image, category, time, and location corresponding to the tea garden image; the categories include: tea picking and tea garden spraying operation;
[0009] Constructing a tea garden ban-picking period supervision model according to the tea garden image information, and obtaining a constructed tea garden ban-picking period supervision model;
[0010] The image information of the tea garden to be supervised is input into the tea garden banned period supervision model, and the model is used to automatically monitor the spraying operation and picking operation in the tea garden.
[0011] Furthermore, in the above-mentioned automatic supervision method for the tea garden banned period, the step of inputting the image information of the tea garden to be supervised into the tea garden banned period supervision model, and using the model to automatically monitor the spraying operation and picking operation in the tea garden includes:
[0012] Obtain image information of tea gardens to be supervised;
[0013] According to the category corresponding to the tea garden image to be supervised, determining the time interval corresponding to the category; and comparing the time interval with a preset time interval, and determining the automatic supervision result according to the comparison result;
[0014] The preset time interval is a safe interval between the spraying operation in the tea garden and the picking of tea leaves.
[0015] Furthermore, according to the automatic supervision method for the tea garden's banned period as described above, when the automatic supervision result is that non-compliant picking operations have occurred in the tea garden, tea garden management monitoring and early warning information is generated, and the information is released to the tea garden manager. At the same time, a tamper-proof tea garden operation record is automatically formed and recorded in the tea garden's electronic file for external supervisors to review.
[0016] Furthermore, in the automatic supervision method for the tea garden closed-picking period as described above, the tea garden closed-picking period supervision model is constructed using the YOLOv8 model.
[0017] Furthermore, in the above-mentioned automatic supervision method for the tea garden banned period, the construction of a tea garden banned period supervision model based on the tea garden image information comprises:
[0018] The tea garden image is enhanced, and the tea garden ban-harvest period supervision model is constructed using the enhanced image; the enhancement process includes: rotation, cropping, scaling, and flipping.
[0019] Furthermore, the automatic supervision method for the tea garden banned period as described above utilizes the ShuffleNet network as the original feature extraction network of the YOLOv8 model.
[0020] Furthermore, in the automatic supervision method for the tea garden closed-picking period as described above, the tea garden closed-picking period supervision model includes an attention mechanism CBAM module, and the attention mechanism CBAM module is used to extract target feature information of the tea garden image.
[0021] Furthermore, in the automatic supervision method for the tea garden closed-picking period as described above, the tea garden closed-picking period supervision model adopts a category-weighted loss function to deal with the category label imbalance problem in the tea garden behavior recognition task.
[0022] Furthermore, in the above-mentioned automatic supervision method for the tea garden closed-picking period, the tea garden closed-picking period supervision model cuts the large image into multiple small images for separate processing during the inference stage, and then splices the processing results together, performing only one NMS operation to obtain the final inference result;
[0023] The NMS operation adopts the SoftNMS method to gently process overlapping target frames and retain frames with higher scores.
[0024] The automatic supervision method for the tea garden forbidden picking period provided by the present invention, starting from the need to ensure the quality and safety of tea raw materials, constructs a tea garden forbidden picking period supervision model, and combines the interval requirements from the tea garden spraying operation to tea picking set by the green tea garden management technical regulations to realize the automatic monitoring and alarm of the tea garden forbidden picking period management. The method can timely discover and capture the tea garden spraying operation and picking operation behaviors from the tea garden video images collected from the tea garden, and automatically analyze and judge whether the intervals of the two types of operations of the tea garden spraying operation and tea picking meet the requirements of the green tea garden management technical regulations; if it is found that there is non-compliant picking operation in the tea garden, the tea garden management monitoring and early warning information is immediately generated and released to the tea garden manager, and at the same time, an unalterable tea garden operation record is automatically formed and recorded in the tea garden electronic file for external supervisors to consult. Therefore, the method provided by the present invention can timely and accurately identify the two agricultural activities of tea garden spraying operation and tea picking, and provide an effective solution to prevent the problem of excessive pesticide residues in tea products. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 A flow chart of the automatic supervision method for the tea garden banned period provided by the present invention;
[0027] Figure 2 This is a diagram of the tea picking interface;
[0028] Figure 3 This is a diagram of the tea picking interface identified by the model;
[0029] Figure 4 This is a cross-sectional diagram of the tea picking results identified by the model;
[0030] Figure 5 This is the interface diagram of the spray operation in the tea garden;
[0031] Figure 6 This is the tea garden spray operation interface diagram identified by the model;
[0032] Figure 7 Cross-sectional view of the identification results of spray operation in tea garden identified by the model. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0034] Figure 1 The flowchart of the automatic supervision method for the tea garden forbidden period provided by the present invention is as follows: Figure 1 As shown, the method comprises the following steps:
[0035] Step 101: Acquire tea garden image information; the tea garden image information includes: tea garden image, category, time, and location corresponding to the tea garden image; the categories include: tea picking and tea garden spraying operations.
[0036] Specifically, Figure 2 As shown, the categories corresponding to the tea garden images include: tea garden spray operation images and tea picking images.
[0037] Step 102: constructing a tea garden ban-picking period supervision model according to the tea garden image information to obtain a constructed tea garden ban-picking period supervision model;
[0038] Step 103: input the image information of the tea garden to be supervised into the tea garden banned period supervision model, and use the model to automatically monitor the spraying operation and picking operation in the tea garden.
[0039] The results of automatic monitoring include: compliant picking operations and non-compliant picking operations in the tea garden. When the automatic monitoring result shows that non-compliant picking operations occur in the tea garden, tea garden management monitoring and early warning information is generated and released to the tea garden manager. At the same time, an unalterable tea garden operation record is automatically generated and recorded in the tea garden electronic file for external supervisors to review.
[0040] The method provided by the present invention can analyze the image recognition output results of tea garden spraying and picking operations, and judge whether the tea garden picking operation arrangement complies with the ban period regulations. When a tea garden picking operation event that violates the ban period regulations occurs, an early warning message is immediately generated and released, realizing automatic monitoring of tea garden picking operation events that violate the ban period regulations. Management personnel can view the image recognition results of tea garden spraying and picking operations at any time, and receive and view the tea garden ban period analysis early warning results in a timely manner.
[0041] Furthermore, the step of inputting the image information of the tea garden to be supervised into the tea garden banned period supervision model, and using the model to automatically monitor the spraying operation and picking operation in the tea garden includes:
[0042] Obtain image information of tea gardens to be supervised;
[0043] According to the category corresponding to the tea garden image to be supervised, determining the time interval corresponding to the category; and comparing the time interval with a preset time interval, and determining the automatic supervision result according to the comparison result;
[0044] The preset time interval is a safe interval between the spraying operation in the tea garden and the picking of tea leaves.
[0045] The method provided by the present invention compares the time interval with the preset time interval, thereby realizing the early warning function of automatic monitoring of the tea garden's banned period under the guidance of the green tea garden management regulations and scientific planning.
[0046] Furthermore, the method provided by the present invention is obtained by constructing a tea garden banned period supervision model using the YOLOv8 model, thereby improving the recognition accuracy and real-time performance of automatic supervision of the tea garden banned period.
[0047] Furthermore, the present invention enhances the tea garden image to increase the generalization ability of the model and improve the efficiency of model recognition.
[0048] Furthermore, the present invention reduces the number of model parameters and the amount of calculation and improves the reasoning speed by using the ShuffleNet network as the original feature extraction network of the YOLOv8 model.
[0049] Furthermore, the present invention introduces an attention mechanism CBAM module into the model, so that the model can automatically learn and focus on important feature information, thereby improving the recognition accuracy.
[0050] Furthermore, the method provided by the present invention constructs a tea garden ban period supervision model, and when the input is 640x640, the feature map size of the output layer is 80x80, 40x40, and 20x20. In order to enhance the detection capability of the tea garden ban period supervision model for small targets, a 160x160 output layer is added to detect small targets.
[0051] Furthermore, the method provided by the present invention handles the problem of category label imbalance in the tea garden behavior recognition task by adopting a category-weighted loss function (such as Focal Loss).
[0052] Furthermore, the method provided by the present invention cuts a large image into multiple small images for separate processing during the inference stage, and then splices the processing results together, performing only one NMS operation to improve the inference speed and efficiency.
[0053] Furthermore, the method provided by the present invention adopts SoftNMS technology in the NMS operation to softly process overlapping target frames, retain frames with higher scores, and further improve the accuracy of recognition.
[0054] Example 1: Tea picking behavior recognition
[0055] like Figure 3 As shown, click the configuration on the left, such as Muchuan County / Camera 1, and the automatic identification of tea picking behavior will begin. Figure 3 As shown in the figure, the middle of the interface shows the real-time recognition results of tea picking, and the bottom of the interface shows the recognition results after the model performs target deduplication. The right side of the interface records the category, time, and location recognized by the model.
[0056] Example 2: Identification of spraying operation behavior in tea garden
[0057] like Figure 5 As shown, after configuring the input, such as Muchuan County / Camera 2, click to start automatic recognition of tea garden spray operation behavior. Figure 6 As shown in the figure, the middle of the interface shows the real-time recognition results of the tea garden spray operation, such as Figure 7 As shown, the bottom of the interface is the recognition result after the model performs target deduplication, and the right side of the interface records the tea garden spray operation behavior, time, and location recognized by the model.
[0058] The method provided by the present invention uses the monitoring video of the tea garden to timely obtain the monitoring data on whether the management regulations of the tea garden's ban on picking period are strictly implemented, which not only improves the use value of the tea garden monitoring video image data, but also greatly improves the timeliness and accuracy of the tea garden's ban on picking period management; in addition, the present invention uses the tea garden ban on picking period supervision model to realize the automatic monitoring and alarm of illegal tea picking behaviors in the tea garden, providing supervisors with an efficient working method and achieving the goal of "using technical defense to assist human defense and improve the efficiency of tea garden ban on picking period supervision". Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit it; although the present invention has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for automatically supervising the tea garden's ban on picking, characterized in that: include: Get tea garden image information; The tea garden image information includes: tea garden image, category, time, and location corresponding to the tea garden image; the categories include: tea picking and tea garden spraying operations; Constructing a tea garden ban-picking period supervision model according to the tea garden image information, and obtaining a constructed tea garden ban-picking period supervision model; The image information of the tea garden to be supervised is input into the tea garden banned period supervision model, and the model is used to automatically monitor the spraying operation and picking operation in the tea garden.
2. The automatic supervision method for the tea garden banned period according to claim 1, characterized in that: The step of inputting the image information of the tea garden to be supervised into the tea garden banned period supervision model, and using the model to automatically monitor the spraying operation and picking operation in the tea garden includes: Obtain image information of tea gardens to be supervised; According to the category corresponding to the tea garden image to be supervised, determining the time interval corresponding to the category; and comparing the time interval with a preset time interval, and determining the automatic supervision result according to the comparison result; The preset time interval is a safe interval between the spraying operation in the tea garden and the picking of tea leaves.
3. The automatic supervision method for the tea garden banned period according to claim 2 is characterized in that: When the automatic supervision result shows that non-compliant picking operations have occurred in the tea garden, tea garden management monitoring and early warning information is generated and released to the tea garden manager. At the same time, an unalterable tea garden operation record is automatically formed and recorded in the tea garden electronic file for external supervisors to review.
4. The automatic monitoring method for the tea garden prohibited period according to any one of claims 1 to 3, characterized in that: The tea garden ban period supervision model is constructed using the YOLOv8 model.
5. The automatic monitoring method for the tea garden banned period according to claim 4 is characterized in that: The constructing of a tea garden ban-picking period supervision model according to the tea garden image information comprises: The tea garden image is enhanced, and the tea garden ban-harvest period supervision model is constructed using the enhanced image; the enhancement process includes: rotation, cropping, scaling, and flipping.
6. The automatic monitoring method for the tea garden banned period according to claim 4, characterized in that: The ShuffleNet network is used as the original feature extraction network of the YOLOv8 model.
7. The automatic monitoring method for the tea garden banned period according to claim 4, characterized in that: The tea garden ban period supervision model includes an attention mechanism CBAM module, which is used to extract target feature information of tea garden images.
8. The automatic monitoring method for the tea garden banned period according to claim 4, characterized in that: The tea garden ban period supervision model adopts a class-weighted loss function to deal with the class label imbalance problem in the tea garden behavior recognition task.
9. The automatic monitoring method for the tea garden banned period according to claim 4, characterized in that: In the inference stage, the tea garden ban-picking period supervision model cuts the large image into multiple small images for separate processing, and then splices the processing results together, performing only one NMS operation to obtain the final inference result; The NMS operation adopts the SoftNMS method to gently process overlapping target frames and retain frames with higher scores.
