Rice seedling leaf age intelligent identification system based on depth camera

By combining a depth camera with dynamic distance hierarchies and a deep learning model, the problems of misjudgment and missed detection in rice seedling leaf age recognition systems in densely planted seedling raising scenarios have been solved. This has enabled high-precision and reliable seedling leaf age recognition and agronomic decision support, which is applicable to smart agriculture platforms and automatic transplanting equipment.

CN121982530APending Publication Date: 2026-05-05HEILONGJIANG BAYI AGRICULTURAL UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202610092112.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-23
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing rice seedling leaf age recognition systems cannot accurately distinguish between front and back rows of seedlings in densely planted seedling raising scenarios, resulting in a high misjudgment rate. They also cannot dynamically adjust the depth threshold, leading to missed or false detections. Furthermore, they cannot meet the diverse needs of seedling raising environments and lack dual calibration of image quality and model confidence, making agronomic decision-making unreliable.

Method used

A rice seedling leaf age intelligent recognition system based on a depth camera is adopted, which includes a monitoring point gridded path planning, robotic arm collaborative positioning data acquisition, RGB-D data preprocessing, dynamic foreground seedling precise extraction, leaf age recognition confidence assessment and integrated control strategy feedback module. Through dynamic distance layering and binarization masking technology, deep learning model and image quality feature calibration, the system can achieve precise extraction and confidence assessment of foreground seedlings.

Benefits of technology

It improves the accuracy of single seedling identification, reduces background interference, ensures the reliability of identification results, reduces the need for agronomists to verify the results, improves decision-making efficiency, and adapts to long-term operation in densely planted seedling environments, reducing manual inspections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121982530A_ABST
    Figure CN121982530A_ABST
Patent Text Reader

Abstract

The invention discloses a rice seedling leaf age intelligent identification system based on a depth camera, and belongs to the technical field of agricultural intelligent equipment and machine vision. Comprising a monitoring point gridding path planning module, a mechanical arm cooperative positioning data acquisition module, an RGB-D data preprocessing module, a dynamic foreground seedling accurate extraction module, a leaf age recognition confidence evaluation module, a leaf age data visualization presentation module and an integrated control strategy feedback module. RGB color features and connected domain analysis are combined to optimize a mask, a front single seedling is accurately segmented, background interference is eliminated, the confidence coefficient is dynamically calibrated through a deep learning model and image quality features, texture definition and edge continuity features are combined to generate calibrated confidence coefficient, confidence coefficient evaluation is directly associated with an agricultural decision, and the accuracy of the agricultural decision is improved. The leaf age result is generated only based on reliable data, the personnel rechecking demand is reduced, and the decision-making efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of agricultural intelligent equipment and machine vision technology, specifically referring to a rice seedling leaf age intelligent recognition system based on a depth camera. Background Technology

[0002] During the seedling stage, leaf age is largely determined by technicians visually pulling seedlings out of the greenhouse. This process damages the seedling strips, is labor-intensive, and highly subjective. In densely planted seedling trays, seedlings overlap and the background is complex. Traditional recognition methods based solely on RGB images can only use two-dimensional color and texture, making it difficult to distinguish between the seedlings in front and the plants behind them, as well as debris on the ground. This can easily lead to misjudgments and missed judgments, resulting in insufficient recognition accuracy and stability.

[0003] However, existing intelligent rice seedling leaf age recognition systems still have certain shortcomings. In densely planted seedling scenarios, traditional systems rely solely on RGB images or fixed depth thresholds, which cannot distinguish between front and back seedlings, resulting in a high misjudgment rate and an inability to obtain accurate single-plant leaf age information. Using fixed distance thresholds to process depth maps cannot be dynamically adjusted according to changes in seedling density, leading to missed detections in high-density areas and false detections in low-density areas, failing to meet the diverse needs of the seedling raising environment. Furthermore, the recognition results are not dual-calibrated for image quality and model confidence, resulting in a significantly higher misjudgment rate under low-quality images, making agronomic decision-making unreliable. The system is a one-way data flow without an automatic feedback mechanism, and cannot dynamically adjust the robotic arm's seedling-pulling force, acquisition path, or resampling strategy based on the recognition results. Therefore, this paper proposes an intelligent rice seedling leaf age recognition system based on a depth camera. Summary of the Invention

[0004] The purpose of this invention is to provide an intelligent rice seedling leaf age recognition system based on a depth camera, so as to solve the problems mentioned in the background art.

[0005] To achieve the above objectives, the present invention provides the following technical solution: a rice seedling leaf age intelligent recognition system based on a depth camera, comprising a monitoring point gridded path planning module, a robotic arm collaborative positioning data acquisition module, an RGB-D data preprocessing module, a dynamic foreground seedling precise extraction module, a leaf age recognition confidence assessment module, a leaf age data visualization presentation module, and an integrated control strategy feedback module;

[0006] The monitoring point gridded path planning module plans the coordinates of the monitoring points and generates the movement path through spatial gridding based on the size of the seedling greenhouse and the working range of the robotic arm.

[0007] The robotic arm collaborative positioning data acquisition module, based on the path coordinates, controls the movement of the robotic arm and the end effector to move to a fixed point and gently tug at the seedlings, while simultaneously triggering the depth camera to acquire RGB-D images;

[0008] The RGB-D data preprocessing module performs data preprocessing through registration, filtering, and calibration based on the collected RGB-D data to obtain a depth map with pixel-level alignment and accurate distance information.

[0009] The dynamic foreground seedling precise extraction module extracts foreground seedlings precisely based on the processed depth map through dynamic distance layering and binarization masking, and applies it to the RGB image to segment individual seedling targets.

[0010] The leaf age recognition confidence assessment module uses a pre-trained deep learning model to identify and assess the leaf age level based on the extracted clean seedling images.

[0011] The leaf age data visualization module stores, statistically analyzes, and graphically displays leaf age data by point and day based on the identification results and monitoring point information through a database and visualization.

[0012] The integrated control strategy feedback module generates coordinated command and strategy feedback instructions for each module through the system's overall control and scheduling logic, based on data analysis results and confidence level assessment.

[0013] Preferably, the monitoring point gridded path planning module is wirelessly connected to the robotic arm collaborative positioning data acquisition module and the leaf age data visualization module; the robotic arm collaborative positioning data acquisition module is wirelessly connected to the RGB-D data preprocessing module; the RGB-D data preprocessing module is wirelessly connected to the dynamic foreground seedling precision extraction module; the dynamic foreground seedling precision extraction module is wirelessly connected to the leaf age recognition confidence assessment module; the leaf age recognition confidence assessment module is wirelessly connected to the leaf age data visualization module and the integrated control strategy feedback module; the leaf age data visualization module is wirelessly connected to the integrated control strategy feedback module; and the integrated control strategy feedback module is wirelessly connected to the leaf age recognition confidence assessment module and the robotic arm collaborative positioning data acquisition module.

[0014] Preferably, the monitoring point gridded path planning module acquires the three-dimensional dimensions of the seedling greenhouse, the boundary coordinates of the seedbed, the origin of the robotic arm's base coordinate system, the maximum working radius, the range of motion of each joint, the optimal working distance of the depth camera, the ideal pitch angle, and other imaging constraints. It models the internal space of the greenhouse and the reachable range of the robotic arm in a virtual three-dimensional coordinate system. Directly above the seedbed, based on the optimal working distance of the camera, a collection plane parallel to the seedbed plane is determined. On this collection plane, based on the repeatability accuracy of the robotic arm and the camera's field of view diameter, a series of candidate monitoring points are initially generated in the form of an equally spaced grid. Based on the constructed workspace model, inverse kinematics is used to filter out candidate monitoring points that the robotic arm cannot reach or whose posture does not meet the imaging constraints, forming the final set of three-dimensional coordinates of the monitoring points. .

[0015] Preferably, the monitoring point gridded path planning module will traverse all monitoring points. Starting from the initial position of the robotic arm, the path that passes through all monitoring points sequentially and returns with the shortest total travel time or distance is found through path search, generating the optimal monitoring point path sequence s. Virtual simulation and collision detection are then performed on the generated path sequence to finally determine the three-dimensional coordinates of all monitoring points reachable by the robotic arm. .

[0016] Preferably, in the robotic arm collaborative positioning data acquisition module, the robotic arm moves smoothly from its initial position to the coordinate position of each monitoring point according to the path sequence s. The relative position of the end effector and the depth camera is dynamically calibrated through a real-time pose feedback system. At each monitoring point, the end effector is controlled to perform a preset gentle flicking action. After the flicking action is completed, the system enters a stable state and automatically triggers the depth camera to synchronously acquire RGB images and depth images. During the acquisition process, the vibration amplitude of the robotic arm and the image clarity are monitored in real time. If pose fluctuations or image blurring are detected, the system automatically pauses and fine-tunes the posture of the robotic arm until the preset image quality threshold is met. After completing the flicking and image acquisition of all monitoring points in sequence, the system generates a standardized acquisition result containing timestamps, monitoring point identifiers, and RGB-D image data streams.

[0017] Preferably, the RGB-D data preprocessing module performs distortion correction on the original RGB image and depth image based on the intrinsic parameter calibration data of the depth camera. It performs geometric correction on the image using the distortion coefficients in the camera calibration parameters, performs multi-scale noise suppression processing on the depth image using adaptive spatial filtering, and performs distortion correction and scale normalization processing on the depth map based on the camera calibration parameters and the ambient lighting compensation model. During the preprocessing process, it detects the spatial consistency and depth value stability of the RGB-D data in real time. If a registration offset is found, it automatically triggers a resampling mechanism until the output meets the system's preset pixel-level alignment and distance accuracy standards, generating a depth map with pixel-level alignment and accurate distance information.

[0018] Preferably, the dynamic foreground seedling precision extraction module acquires a depth map, analyzes the height distribution characteristics of the seedling canopy in the depth map, and adaptively calculates the dynamic distance threshold range, as follows:

[0019] ,

[0020] In the formula, Indicates the dynamic distance threshold. This represents the average height of the seedling canopy in the depth map. This represents the standard deviation of the seedling canopy height in the depth map. Represents the standardized coefficient. This represents the density influence coefficient, which controls the degree to which seedling density affects the threshold. This indicates the seedling density at the current monitoring point, ensuring that only pixels within a reasonable distance from the seedbed plane are retained, thus avoiding missed or false detections caused by fixed thresholds.

[0021] Based on a dynamically calculated distance threshold, the depth map is layered according to depth values, and pixels are classified into foreground and background layers, generating a preliminary foreground binary mask, as follows:

[0022] ,

[0023] In the formula, Indicates a foreground binary mask. Represents coordinates in the depth map. Represents pixel coordinates.

[0024] Preferably, the dynamic foreground seedling precise extraction module combines the color features and connected component analysis of the RGB image to perform morphological optimization on the binary mask generated by depth layering, and performs pixel-level fusion of the optimized binary mask with the RGB image to extract the RGB pixel data of the corresponding foreground region, thus achieving the following:

[0025] ,

[0026] In the formula, This represents the pixel values ​​of the foreground region in an RGB image. The RGB color values ​​of pixels representing coordinates in the original RGB image are used to filter out regions that conform to the physical characteristics of a single seedling based on features such as the area, shape ratio, and contour regularity of connected components.

[0027] Preferably, the leaf age recognition confidence assessment module inputs the preprocessed seedling image into a pre-trained deep convolutional neural network model, generates a probability distribution vector of leaf age levels through forward propagation of the deep convolutional neural network model, and obtains the predicted probability value of each leaf age category, as follows:

[0028] ,

[0029] In the formula, Let represent the predicted probability of the i-th leaf age category. This represents the logits output of a deep convolutional neural network model. This represents the temperature coefficient, and N represents the total number of leaf age categories.

[0030] Extract the category with the highest probability value from the predicted probabilities as the leaf age level of the current seedling, and record the highest probability value as the base confidence level. .

[0031] Preferably, the leaf age recognition confidence assessment module calculates the texture sharpness and edge continuity of the seedling image based on the baseline confidence score, and weights and fuses the feature values ​​with the baseline confidence score to generate a calibrated confidence score, as follows:

[0032] ,

[0033] In the formula, Indicates the confidence level after calibration, T represents texture sharpness, and E represents edge continuity. Indicates the calibration coefficient. This represents a small constant.

[0034] Preferably, the leaf age data visualization module stores the identification results, such as leaf age level, confidence score, collection time, and monitoring point ID, into a structured database according to time series and spatial coordinates, and establishes a composite index of timestamp and monitoring point ID; at the same time, it automatically marks low confidence results; and automatically generates the following dynamic charts based on statistical results.

[0035] Based on the statistical analysis results, the following decision support will be automatically triggered:

[0036] Dynamic early warning rules: When leaf age is abnormal, specific agronomic suggestions are generated and linked to the historical agronomic knowledge base;

[0037] Confidence level impact warning: Mark low-confidence results in real time on the chart to avoid incorrect decisions;

[0038] Strategy feedback integration: Synchronizes early warning information and management suggestions to the system's central control module;

[0039] Preferably, the integrated control strategy feedback module receives the output structured leaf age database and confidence scores, and dynamically analyzes the overall system status:

[0040] Statistical analysis of the proportion of high-confidence data and the distribution of low-confidence points;

[0041] Identify areas with abnormal leaf age;

[0042] Mark the monitoring points that require intervention and generate a priority ranking list;

[0043] Based on a pre-set agronomic knowledge base, detected anomalies are correlated with historical agronomic experience:

[0044] For low-confidence points, match the causes and generate optimization strategies;

[0045] For abnormal leaf age points, agronomic suggestions are generated based on the associated growth stage;

[0046] Generate a multi-strategy candidate set and sort it by execution cost and effectiveness priority.

[0047] The decision-making strategy is converted into executable instructions and distributed to relevant modules via the system's central control engine.

[0048] Robotic arm module: Generates fine-tuning instructions for seedling pulling force;

[0049] Data acquisition module: Generates resampling instructions;

[0050] Path planning module: Generates dynamic path optimization instructions;

[0051] Visualization module: Generates early warning prompts;

[0052] Monitor command execution status and establish a dynamic feedback mechanism:

[0053] Collect the results of robotic arm execution and the quality of resampled images; assess the confidence level of new data; update the agronomic strategy library; and synchronize the optimization results to the visualization module to refresh decision recommendations in real time.

[0054] Compared with the prior art, the beneficial effects of the present invention are:

[0055] 1. This invention solves the problem of overlapping seedlings from the source by using dynamic distance layering and binarization masking technology. It avoids missed or false detections caused by fixed thresholds by adaptively calculating dynamic thresholds. It optimizes the mask by combining RGB color features and connected component analysis to accurately segment the front row of individual seedlings. This method improves the accuracy of single seedling extraction, eliminates background interference, and outputs clean seedling images.

[0056] 2. This invention dynamically calibrates confidence levels using a deep learning model and image quality features. The model output probability distribution is optimized by a temperature coefficient, amplifying the high probability values ​​of high-quality images. By combining texture clarity and edge continuity features, a calibrated confidence level is generated, avoiding misjudgments based on fixed thresholds. This improves the accuracy of identifying low-confidence results. Confidence assessment is directly linked to agronomic decisions, ensuring that leaf age results are generated only based on reliable data, reducing the need for agronomists to verify the results, and improving decision-making efficiency.

[0057] 3. This invention uses a model that focuses only on clean, front-row individual plants rather than a cluttered panoramic image. Without changing the network structure, it achieves higher accuracy and more consistent output compared to direct RGB image recognition, making it more suitable for long-term operation in densely planted seedling environments.

[0058] 4. This invention eliminates the need for seedling removal, reducing manual inspections; the system has a simple structure, can be configured with multiple monitoring points according to the size of the greenhouse, and can be integrated with existing smart agriculture platforms and automatic transplanting equipment, demonstrating good engineering applications. Attached Figure Description

[0059] Figure 1This is a schematic diagram of the structure of the intelligent rice seedling leaf age recognition system based on a depth camera according to the present invention;

[0060] Figure 2 The following is the operation flow of the rice seedling leaf age intelligent recognition system based on a depth camera according to the present invention. Figure 1 ;

[0061] Figure 3 The following is the operation flow of the rice seedling leaf age intelligent recognition system based on a depth camera according to the present invention. Figure 2 ;

[0062] Figure 4 The following is the operation flow of the rice seedling leaf age intelligent recognition system based on a depth camera according to the present invention. Figure 3 . Detailed Implementation

[0063] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0064] Example

[0065] Please see Figures 1-4 As shown, the present invention provides a technical solution including a monitoring point gridded path planning module, a robotic arm collaborative positioning data acquisition module, an RGB-D data preprocessing module, a dynamic foreground seedling precision extraction module, a leaf age recognition confidence assessment module, a leaf age data visualization presentation module, and an integrated control strategy feedback module;

[0066] The monitoring point gridded path planning module plans the coordinates of the monitoring points and generates the movement path through spatial gridding based on the size of the seedling greenhouse and the working range of the robotic arm.

[0067] The robotic arm collaborative positioning data acquisition module, based on the path coordinates, controls the movement of the robotic arm and the end effector to move to a fixed point and gently tug at the seedlings, while simultaneously triggering the depth camera to acquire RGB-D images;

[0068] The RGB-D data preprocessing module performs data preprocessing through registration, filtering, and calibration based on the collected RGB-D data to obtain a depth map with pixel-level alignment and accurate distance information.

[0069] The dynamic foreground seedling precise extraction module extracts foreground seedlings precisely based on the processed depth map through dynamic distance layering and binarization masking, and applies it to the RGB image to segment individual seedling targets.

[0070] The leaf age recognition confidence assessment module uses a pre-trained deep learning model to identify and assess the leaf age level based on the extracted clean seedling images.

[0071] The leaf age data visualization module stores, statistically analyzes, and graphically displays leaf age data by point and day based on the identification results and monitoring point information through a database and visualization.

[0072] The integrated control strategy feedback module generates coordinated command and strategy feedback instructions for each module through the system's overall control and scheduling logic, based on data analysis results and confidence level assessment.

[0073] In this embodiment, the monitoring point gridded path planning module is wirelessly connected to the robotic arm collaborative positioning data acquisition module and the leaf age data visualization module. The robotic arm collaborative positioning data acquisition module is wirelessly connected to the RGB-D data preprocessing module. The RGB-D data preprocessing module is wirelessly connected to the dynamic foreground seedling precision extraction module. The dynamic foreground seedling precision extraction module is wirelessly connected to the leaf age recognition confidence assessment module. The leaf age recognition confidence assessment module is wirelessly connected to the leaf age data visualization module and the integrated control strategy feedback module. The leaf age data visualization module is wirelessly connected to the integrated control strategy feedback module. The integrated control strategy feedback module is wirelessly connected to the leaf age recognition confidence assessment module and the robotic arm collaborative positioning data acquisition module.

[0074] In this embodiment, the monitoring point gridded path planning module acquires imaging constraints such as the three-dimensional dimensions of the seedling greenhouse, the boundary coordinates of the seedling bed, the origin of the base coordinate system of the robotic arm, the maximum working radius, the range of motion of each joint, the optimal working distance of the depth camera, and the ideal pitch angle.

[0075] The interior space of the greenhouse and the reach of the robotic arm are modeled in a virtual three-dimensional coordinate system. Directly above the seedling bed, a collection plane parallel to the seedling bed plane is determined based on the optimal working distance of the camera. On the collection plane, a series of candidate monitoring points are initially generated in the form of an equally spaced grid, based on the repeatability accuracy of the robotic arm and the diameter of the camera's field of view.

[0076] Based on the constructed workspace model, inverse kinematics is used to filter out candidate monitoring points that the robotic arm cannot reach or whose posture does not meet the imaging constraints, thus forming the final set of three-dimensional coordinates of the monitoring points. .

[0077] In this embodiment, the monitoring point gridded path planning module will traverse all monitoring points. The path that starts from the initial position of the robotic arm, passes through all monitoring points in sequence, and returns with the shortest total movement time or distance is obtained by path search, generating the optimal monitoring point path sequence s.

[0078] The generated path sequence is subjected to virtual simulation and collision detection to determine the three-dimensional coordinates of all monitoring points reachable by the robotic arm. The robotic arm sequentially accesses the set of instructions for each monitoring point.

[0079] In this embodiment, the robotic arm collaborative positioning data acquisition module allows the robotic arm to move smoothly from its initial position to each monitoring point coordinate position according to the path sequence s. The relative position of the end effector and the depth camera is dynamically calibrated through a real-time pose feedback system. At each monitoring point, the end effector is controlled to perform a preset gentle plucking action to separate the front and rear layers of the seedling clump with minimal force.

[0080] Specifically, after the toggle action is completed, the system enters a stable state and automatically triggers the depth camera to synchronously acquire RGB and depth images. During the acquisition process, the vibration amplitude of the robotic arm and the image clarity are monitored in real time. If pose fluctuations or image blurring are detected, the system automatically pauses and fine-tunes the robotic arm posture until the preset image quality threshold is met. After all the toggle actions and image acquisitions of all monitoring points are completed in sequence, the system generates standardized acquisition results that include timestamps, monitoring point identifiers, and RGB-D image data streams.

[0081] In this embodiment, the RGB-D data preprocessing module performs distortion correction on the original RGB image and depth image based on the intrinsic parameter calibration data of the depth camera. It performs geometric correction on the image through the distortion coefficient in the camera calibration parameters to eliminate edge distortion caused by lens optical characteristics. It performs multi-scale noise suppression processing on the depth image through adaptive spatial filtering to effectively remove abnormal depth values ​​caused by ambient light, seedling surface reflection or sensor error, while retaining key structural details.

[0082] Specifically, based on camera calibration parameters and ambient lighting compensation models, distortion correction and scale normalization are performed on the depth map to eliminate systematic biases in depth measurement. During the preprocessing process, the spatial consistency and depth value stability of the RGB-D data are detected in real time. If registration offset or depth anomaly is found, a resampling mechanism is automatically triggered until the output meets the system's preset pixel-level alignment and distance accuracy standards, generating a depth map with pixel-level alignment and accurate distance information.

[0083] In this embodiment, the dynamic foreground seedling precision extraction module acquires a depth map, analyzes the height distribution characteristics of the seedling canopy in the depth map, and adaptively calculates the dynamic distance threshold range, which is implemented as follows:

[0084] ,

[0085] In the formula, This represents the dynamic distance threshold, the upper limit of the threshold range adaptively calculated by the system, used to distinguish between the leading seedlings and the background layer. This represents the average height of the seedling canopy in the depth map, indicating the average height of the seedlings. This represents the standard deviation of seedling canopy height in the depth map, indicating the range of fluctuation in seedling height. This represents the standardization coefficient, with a value range of [0-1]. This represents the density influence coefficient, which controls the degree of influence of seedling density on the threshold. Its value range is [0-1]. This indicates the seedling density at the current monitoring point, the number of seedlings per unit area, in units of plants / cm². It ensures that only pixels within a reasonable distance from the seedbed plane are retained, avoiding missed or false detections caused by fixed thresholds.

[0086] Specifically, based on a dynamically calculated distance threshold, the depth map is layered according to depth values, and pixels are classified into foreground and background layers to generate a preliminary foreground binary mask, as follows:

[0087] ,

[0088] In the formula, This indicates whether a pixel at coordinates (x, y) in the depth map belongs to the foreground or background in the binary mask. A value of 1 indicates foreground and a value of 0 indicates background. Represents coordinates in the depth map. Represents pixel coordinates.

[0089] In this embodiment, the dynamic foreground seedling precise extraction module combines the color features and connected component analysis of the RGB image to perform morphological optimization on the binary mask generated by depth layering, such as opening operation to remove small noise and closing operation to fill edge breaks.

[0090] Specifically, the optimized binary mask is fused with the RGB image at the pixel level, and the RGB pixel data of the corresponding foreground region is extracted, as follows:

[0091] ,

[0092] In the formula, This represents the pixel values ​​of the foreground region in an RGB image, and the extracted RGB color information of the foreground seedlings. The RGB color values ​​of the pixels at coordinates in the original RGB image are used to generate a sub-image containing only the front row of seedlings, eliminating background interference.

[0093] Specifically, based on features such as the area, shape ratio, and contour regularity of connected components, regions that conform to the physical characteristics of a single seedling are selected, and the segmented single seedling images are then cropped and their dimensions are standardized.

[0094] In this embodiment, the leaf age recognition confidence evaluation module inputs the preprocessed seedling image into a pre-trained deep convolutional neural network model. The model generates a probability distribution vector for leaf age levels through forward propagation, and obtains the predicted probability value for each leaf age category. This is achieved as follows:

[0095] ,

[0096] In the formula, Let represent the predicted probability of the i-th leaf age category. This represents the logits output of a deep convolutional neural network model. This represents the temperature coefficient, and N represents the total number of leaf age categories.

[0097] Specifically, the category with the highest probability value is extracted from the predicted probabilities as the leaf age level of the current seedling, and the highest probability value is recorded as the base confidence level. , for , This indicates taking the maximum value.

[0098] In this embodiment, the leaf age recognition confidence assessment module calculates the texture clarity and edge continuity of the seedling image based on the baseline confidence score, and weights and fuses the feature values ​​with the baseline confidence score to generate a calibrated confidence score. This is achieved as follows:

[0099] ,

[0100] In the formula, Indicates the confidence level after calibration, T represents texture sharpness, and E represents edge continuity. Indicates the calibration coefficient. Represents a small constant. Geometric mean fusion, representing image quality, dynamically compares the calibrated confidence score with a preset reliability threshold. If the confidence score is greater than or equal to the threshold, it is determined to be a high reliability result; if the confidence score is less than the threshold, it is determined to be a low reliability result, triggering a subsequent resampling mechanism.

[0101] In this embodiment, the leaf age data visualization module stores the identification results, such as leaf age level, confidence score, collection time, and monitoring point ID, into a structured database according to time series and spatial coordinates, and establishes a composite index of timestamp and monitoring point ID; at the same time, it automatically marks low confidence results.

[0102] Specifically, based on the data stored in the database, the following intelligent statistics are performed:

[0103] Spatial dimension: The leaf age distribution characteristics of each monitoring point are aggregated and calculated by monitoring point ID, such as average leaf age, leaf age grade frequency, and standard deviation, to generate a heat map dataset of leaf age at each point.

[0104] Time dimension: Aggregate and calculate the overall leaf age change trend by date, such as the daily average leaf age growth rate and leaf age attainment rate, and identify key nodes in the growth stage, such as the tillering stage.

[0105] Anomaly correlation analysis: cross-compare leaf age data with environmental parameters, such as temperature and humidity, to automatically identify leaf age lag points;

[0106] Specifically, the following dynamic charts are automatically generated based on the statistical results:

[0107] Leaf age spatial distribution map: The leaf age distribution of each monitoring point is displayed in the form of a heat map on the greenhouse plan. The color gradient maps the leaf age level, highlighting low confidence points and outliers.

[0108] Leaf age growth curve: Draw a leaf age trend line for the whole or a specified area by date, mark key agronomic nodes, such as the 2-leaf stage, and mark the confidence level impact, such as confidence level C.

[0109] Warning marker map: Overlaying low confidence points and leaf age anomaly points to visually indicate areas requiring manual verification.

[0110] Specifically, based on the statistical analysis results, the following decision support will be automatically triggered:

[0111] Dynamic early warning rules: When leaf age is abnormal, specific agronomic suggestions are generated and linked to the historical agronomic knowledge base;

[0112] Confidence level impact warning: Mark low-confidence results in real time on the chart to avoid incorrect decisions;

[0113] Strategy feedback integration: Synchronizes early warning information and management suggestions to the system's central control module;

[0114] Preferably, the integrated control strategy feedback module receives the output structured leaf age database and confidence scores, and dynamically analyzes the overall system status:

[0115] Statistical analysis of the proportion of high-confidence data and the distribution of low-confidence points;

[0116] Identify areas with abnormal leaf age;

[0117] Mark the monitoring points that require intervention and generate a priority ranking list;

[0118] Specifically, based on a pre-set agronomic knowledge base, detected anomalies are correlated with historical agronomic experience:

[0119] For low-confidence points, match the causes and generate optimization strategies;

[0120] For abnormal leaf age points, agronomic suggestions are generated based on the associated growth stage;

[0121] Generate a multi-strategy candidate set and sort it by execution cost and effectiveness priority.

[0122] Specifically, the decision-making strategy is converted into executable instructions and distributed to relevant modules through the system's central control engine:

[0123] Robotic arm module: Generates fine-tuning instructions for seedling pulling force;

[0124] Data acquisition module: Generates resampling instructions;

[0125] Path planning module: Generates dynamic path optimization instructions;

[0126] Visualization module: Generates early warning prompts;

[0127] Monitor command execution status and establish a dynamic feedback mechanism:

[0128] Collect the results of the robotic arm's execution and the quality of the resampled images;

[0129] Assess the confidence level of the new data;

[0130] Update the agronomic strategy library;

[0131] The optimization results are synchronized to the visualization module, and decision suggestions are updated in real time.

[0132] Working principle: The monitoring point grid path planning module performs spatial modeling based on the three-dimensional dimensions of the seedling greenhouse and the working range of the robotic arm, determines the collection plane parallel to the seedbed and generates an equally spaced grid of points, filters the reachable points of the robotic arm through inverse kinematics solution, optimizes the path to minimize the movement time, and finally generates an instruction set containing coordinates and sequence.

[0133] The robotic arm's collaborative positioning data acquisition module moves to the monitoring point according to path instructions, dynamically calibrating the pose of the end effector and depth camera. At each point, it performs gentle plucking motions to separate overlapping seedling layers, avoiding physical damage. Once the system reaches a stable state, it automatically triggers the depth camera to synchronously acquire RGB and depth images, monitoring vibration and image quality in real time, and fine-tuning the pose until threshold requirements are met. The RGB-D data preprocessing module registers, filters, and calibrates the acquired RGB and depth images. It eliminates distortion and systematic biases using camera calibration parameters, suppresses noise through adaptive filtering, and preserves key structural details. It detects data consistency in real time and triggers resampling to generate a pixel-aligned depth map with accurate distance information. The dynamic foreground seedling extraction module analyzes the seedling height distribution in the depth map, adaptively calculates dynamic distance thresholds to distinguish the foreground and background layers, and generates a preliminary binary mask by layering the depth map. It then optimizes the mask by combining RGB color features and connected component analysis to accurately segment individual seedling regions. The final output... The system uses a clean single-seedling image to eliminate overlapping interference. A leaf age recognition confidence assessment module inputs the single-seedling image into a pre-trained deep learning model to generate a leaf age probability distribution. The highest probability value is extracted to determine the leaf age level, and the confidence level is dynamically calibrated by combining image texture and edge features. The calibrated confidence level is compared with a threshold; high-confidence results are used for decision-making, while low-confidence results trigger resampling. A leaf age data visualization module stores the recognition results in a structured database according to time and space, establishing a composite index to support efficient queries. It intelligently statistically analyzes the spatial dimension of leaf age distribution characteristics and the temporal dimension of growth trends, generating dynamic charts such as heat maps and growth curves. It automatically associates environmental parameters to identify anomalies and labels their impact on confidence levels. An integrated control strategy feedback module analyzes leaf age data and confidence levels, identifies abnormal areas and low-confidence points, and generates a priority intervention list. Based on an agronomic knowledge base, it matches causes to generate optimization strategies, converts them into executable instructions, and distributes them to modules such as robotic arms and data acquisition. The execution effect is monitored, the strategy library is updated, and feedback is displayed on the visualization interface.

[0134] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their likenesses.

[0135] The present invention and its embodiments have been described above. This description is not restrictive, and the accompanying drawings are only one embodiment of the present invention; the actual structure is not limited thereto. In conclusion, if those skilled in the art are inspired by this description and design similar structures and embodiments without departing from the spirit of the invention, such designs should fall within the protection scope of the present invention.

Claims

1. A rice seedling leaf age intelligent recognition system based on a depth camera, characterized in that: It includes a monitoring point gridded path planning module, a robotic arm collaborative positioning data acquisition module, an RGB-D data preprocessing module, a dynamic foreground seedling precision extraction module, a leaf age recognition confidence assessment module, a leaf age data visualization presentation module, and an integrated control strategy feedback module; The monitoring point gridded path planning module plans the coordinates of the monitoring points and generates the movement path through spatial gridding based on the size of the seedling greenhouse and the working range of the robotic arm. The robotic arm collaborative positioning data acquisition module, based on the path coordinates, controls the movement of the robotic arm and the end effector to move to a fixed point and gently tug at the seedlings, while simultaneously triggering the depth camera to acquire RGB-D images; The RGB-D data preprocessing module performs data preprocessing through registration, filtering, and calibration based on the collected RGB-D data to obtain a depth map with pixel-level alignment and accurate distance information. The dynamic foreground seedling precise extraction module extracts foreground seedlings precisely based on the processed depth map through dynamic distance layering and binarization masking, and applies it to the RGB image to segment individual seedling targets. The leaf age recognition confidence assessment module uses a pre-trained deep learning model to identify and assess the leaf age level based on the extracted clean seedling images. The leaf age data visualization module stores, statistically analyzes, and graphically displays leaf age data by point and day based on the identification results and monitoring point information through a database and visualization. The integrated control strategy feedback module generates coordinated command and strategy feedback instructions for each module through the system's overall control and scheduling logic, based on data analysis results and confidence level assessment.

2. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 1, characterized in that: The monitoring point gridded path planning module acquires the three-dimensional dimensions of the seedling greenhouse, the boundary coordinates of the seedbed, the origin of the robotic arm's base coordinate system, the maximum working radius, the range of motion of each joint, and the imaging constraints of the depth camera. It models the internal space of the greenhouse and the reachable range of the robotic arm in a virtual three-dimensional coordinate system. Directly above the seedbed, based on the camera's optimal working distance, a data acquisition plane parallel to the seedbed plane is determined. On this acquisition plane, based on the robotic arm's repeatability and the camera's field of view diameter, a series of candidate monitoring points are initially generated in an equally spaced grid. Based on the constructed workspace model, inverse kinematics is used to filter out candidate monitoring points that the robotic arm cannot reach due to imaging constraints, forming the final set of three-dimensional coordinates for the monitoring points. .

3. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 2, characterized in that: The monitoring point gridded path planning module will traverse all monitoring points. Starting from the initial position of the robotic arm, the system sequentially visits all monitoring points and returns along the shortest path. This path is solved through path search to generate the optimal monitoring point path sequence s. Virtual simulation and collision detection are then performed on the generated path sequence to determine the final 3D coordinates of all monitoring points reachable by the robotic arm. .

4. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 1, characterized in that: The robotic arm collaborative positioning data acquisition module allows the robotic arm to smoothly move from its initial position to the coordinates of each monitoring point according to the path sequence s. The relative positions of the end effector and the depth camera are dynamically calibrated through a real-time pose feedback system. At each monitoring point, the end effector is controlled to perform a preset gentle wiggling action. After the wiggling action is completed, the system enters a stable state and automatically triggers the depth camera to synchronously acquire RGB and depth images. During the acquisition process, the vibration amplitude of the robotic arm and the image clarity are monitored in real time. If pose fluctuations or image blurring are detected, the system automatically pauses and fine-tunes the robotic arm posture until the preset image quality threshold is met. After completing the wiggling and image acquisition of all monitoring points in sequence, the system generates a standardized acquisition result containing timestamps, monitoring point identifiers, and RGB-D image data streams.

5. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 1, characterized in that: The RGB-D data preprocessing module performs distortion correction on the original RGB image and depth image based on the intrinsic calibration data of the depth camera. It performs geometric correction on the image using the distortion coefficients in the camera calibration parameters, performs multi-scale noise suppression on the depth image using adaptive spatial filtering, and performs distortion correction and scale normalization on the depth map based on the camera calibration parameters and the ambient lighting compensation model. During the preprocessing process, it monitors the spatial consistency and depth value stability of the RGB-D data in real time. If a registration offset is detected, it automatically triggers a resampling mechanism until the output meets the system's preset pixel-level alignment and distance accuracy standards, generating a depth map with pixel-level alignment and accurate distance information.

6. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 1, characterized in that: The dynamic foreground seedling precision extraction module acquires a depth map, analyzes the height distribution characteristics of the seedling canopy in the depth map, and adaptively calculates the dynamic distance threshold range, as follows: , In the formula, Indicates the dynamic distance threshold. This represents the average height of the seedling canopy in the depth map. This represents the standard deviation of the seedling canopy height in the depth map. Represents the standardized coefficient. This represents the density influence coefficient, which controls the degree to which seedling density affects the threshold. This indicates the current seedling density at the monitoring point; Based on a dynamically calculated distance threshold, the depth map is layered according to depth values, and pixels are classified into foreground and background layers, generating a preliminary foreground binary mask, as follows: , In the formula, Indicates a foreground binary mask. Represents coordinates in the depth map. Represents pixel coordinates.

7. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 6, characterized in that: The dynamic foreground seedling precision extraction module, combining color features and connected component analysis of the RGB image, performs morphological optimization on the binary mask generated by depth layering, and performs pixel-level fusion of the optimized binary mask with the RGB image to extract the RGB pixel data of the corresponding foreground region, as follows: , In the formula, This represents the pixel values ​​of the foreground region in an RGB image. The RGB color values ​​of pixels representing coordinates in the original RGB image are used to filter out regions that conform to the physical characteristics of a single seedling based on features such as the area, shape ratio, and contour regularity of connected components.

8. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 1, characterized in that: The leaf age recognition confidence assessment module inputs the preprocessed seedling image into a pre-trained deep convolutional neural network model. Through forward propagation of the deep convolutional neural network model, it generates a probability distribution vector for leaf age levels and obtains the predicted probability value for each leaf age category. This is achieved as follows: , In the formula, Let represent the predicted probability of the i-th leaf age category. This represents the logits output of a deep convolutional neural network model. This represents the temperature coefficient, and N represents the total number of leaf age categories. Extract the category with the highest probability value from the predicted probabilities as the leaf age level of the current seedling, and record the highest probability value as the base confidence level. .

9. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 8, characterized in that: The leaf age recognition confidence assessment module, based on the baseline confidence score, calculates the texture sharpness and edge continuity of the seedling image, and weights and fuses the feature values ​​with the baseline confidence score to generate a calibrated confidence score. This is achieved as follows: , In the formula, Indicates the confidence level after calibration, T represents texture sharpness, and E represents edge continuity. Indicates the calibration coefficient. This represents a small constant.

10. The intelligent rice seedling leaf age recognition system based on a depth camera according to claim 1, characterized in that: The leaf age data visualization module stores the data in a structured database according to time series and spatial coordinates, and establishes a composite index of timestamps and monitoring point IDs; it also automatically marks low-confidence results; and automatically generates the following dynamic charts based on statistical results.

Citation Information

Cited By

  • Automatic control method and device for flow line operation of sweet potato seedling raising

    CN122261090A