Plant replanting information identification method, device, computer equipment and storage medium

By automatically identifying the peripheral contours of plants and adjacent distance values, combined with the standard crown width, the automatic identification of plant reseeding and the determination of reseeding locations are realized, solving the problems of long and low efficiency of manual reseeding, and improving the efficiency of plant reseeding. agricultural production efficiency.

CN112183329BActive Publication Date: 2024-10-18GUANGZHOU XAIRCRAFT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011035221.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-27
Publication Date
2024-10-18
Estimated Expiration
2040-09-27

AI Technical Summary

Technical Problem

The existing technology relies on manual plant reseeding, which is time-consuming, low-efficiency, and high-cost, resulting in low plant reseeding efficiency and low agricultural production efficiency.

Method used

By determining the outer contour of the plants in the target area and the distance value between adjacent plants, combined with the preset standard plant crown width, the plants to be replanted and their locations are automatically identified to realize automatic replanting operations.

Benefits of technology

It improves the efficiency of plant reseeding and agricultural production efficiency, and realizes the automatic identification of vacant parts of plants and the automatic determination of the location and quantity of reseeding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112183329B_ABST
    Figure CN112183329B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, computer equipment and storage medium for identifying plant replanting information. The method comprises: determining the outer contour of each plant in a target area, and determining the distance value between adjacent plants in the planting direction of the plant according to the outer contour; determining pairs of plants to be replanted in the target area according to the distance value between adjacent plants and a preset standard plant crown width; and determining the number of plants to be replanted and the replanting position according to each pair of plants to be replanted. The technical solution of the present invention can realize automatic identification of plant vacant parts, and automatically determine the position and number of replanted plants, thereby improving the efficiency of plant replanting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to image processing technology, and more particularly to a method, device, computer equipment and storage medium for identifying plant replanting information. Background Art

[0002] With the development of agricultural modernization, it is particularly urgent to improve agricultural production efficiency. In all stages of agricultural production, timely replanting of vacant parts after planting can improve agricultural production efficiency.

[0003] In the prior art, replanting of plants in agricultural production mainly relies on manual field surveys. In the process of realizing the present invention, the inventors found that the prior art has the following defects: when the agricultural planting area is wide, relying on manual replanting is time-consuming, inefficient and costly, resulting in low plant replanting efficiency and low agricultural production efficiency. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, computer equipment and storage medium for identifying plant replanting information, so as to realize automatic identification of vacant parts of plants and automatically determine the position and number of replanting plants, thereby improving the efficiency of plant replanting.

[0005] In a first aspect, an embodiment of the present invention provides a method for identifying plant replanting information, the method comprising:

[0006] Determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour;

[0007] Determine the pair of plants to be planted in the target area according to the distance value between the adjacent plants and the preset standard plant crown width;

[0008] According to each pair of plants to be replanted, the number of plants to be replanted and the replanting positions are determined.

[0009] In a second aspect, an embodiment of the present invention further provides a method for replanting plants, the method comprising:

[0010] The seedling replacement operation is performed based on the number of plants to be replaced and the replanting positions obtained according to any of the plant replanting information identification methods described in the embodiments of the present invention.

[0011] In a third aspect, an embodiment of the present invention further provides a plant replanting information identification device, the device comprising:

[0012] A distance value determination module is used to determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour;

[0013] A module for determining plant pairs to be replanted, used for determining plant pairs to be replanted in the target area according to the distance values ​​between adjacent plants and a preset standard plant crown width;

[0014] The module for determining information of plants to be replanted is used to determine the number of plants to be replanted and the replanting positions according to each pair of plants to be replanted.

[0015] In a fourth aspect, an embodiment of the present invention further provides a plant seedling supplement device, the device comprising:

[0016] A distance value determination module is used to determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour;

[0017] A module for determining plant pairs to be replanted, used for determining plant pairs to be replanted in the target area according to the distance values ​​between adjacent plants and a preset standard plant crown width;

[0018] A module for determining information of plants to be replanted, used for determining the number of plants to be replanted and the replanting positions according to each pair of plants to be replanted;

[0019] The seedling supplementation execution module is used to perform the seedling supplementation operation based on the number of plants to be supplemented and the supplementation positions.

[0020] In a fifth aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements a method for identifying plant replanting information as described in any one of the embodiments of the present invention, or implements a method for replanting plant seedlings as described in any one of the embodiments of the present invention.

[0021] In a sixth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute a method for identifying plant replanting information as described in any one of the embodiments of the present invention, or to implement a method for replanting plant as described in any one of the embodiments of the present invention.

[0022] The embodiment of the present invention determines the distance value of adjacent plants in the planting direction of the plants through the outer contours of each plant in the target area, determines the pair of plants to be planted according to the distance value and the standard plant crown width, and determines the number and position of the plants to be planted corresponding to the pair of plants to be planted. The problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low efficiency of plant replanting and low agricultural production efficiency, is solved, and the vacant parts of the plants are automatically identified, and the position and number of the replanted plants are automatically determined, thereby improving the efficiency of plant replanting. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1a It is a flow chart of a method for identifying plant replanting information in Embodiment 1 of the present invention;

[0024] Figure 1b is a schematic diagram of the outer contour of a plant applicable to an embodiment of the present invention;

[0025] Figure 2a It is a flow chart of a method for identifying plant replanting information in Embodiment 2 of the present invention;

[0026] Figure 2b is a schematic diagram of a pair of plants to be replanted applicable to an embodiment of the present invention;

[0027] Figure 3a It is a flow chart of a method for identifying plant replanting information in Embodiment 3 of the present invention;

[0028] Figure 3b is a schematic diagram of surface model data applicable to an embodiment of the present invention;

[0029] Figure 4 It is a flow chart of a method for identifying plant replanting information in a fourth embodiment of the present invention;

[0030] Figure 5 It is a flow chart of a method for supplementing seedlings of plants in Embodiment 5 of the present invention;

[0031] Figure 6 It is a structural schematic diagram of a plant replanting information identification device in Embodiment 6 of the present invention;

[0032] Figure 7 It is a structural schematic diagram of a plant seedling supplement device in Embodiment 7 of the present invention;

[0033] Figure 8 It is a structural diagram of a computer device in Embodiment 8 of the present invention. DETAILED DESCRIPTION

[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0035] Embodiment 1

[0036] Figure 1aIt is a flow chart of a method for identifying plant replanting information provided in Example 1 of the present invention. This embodiment is applicable to the situation of identifying plant replanting information in a target area. The method can be executed by a plant replanting information identification device, which can be implemented by software and / or hardware and is generally integrated in a server.

[0037] like Figure 1a As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:

[0038] S110, determining the outer contour of each plant in the target area, and determining the distance value between adjacent plants in the planting direction of the plants according to the outer contour.

[0039] The target area may be an area where several plants have been planted. The plant's outer contour may be an actual outer contour identified by image recognition technology, or may be a circumscribed polygon of the actual outer contour of the plant. The embodiment of the present invention does not limit the specific form of the plant's outer contour. Figure 1b A schematic diagram of the plant's outer contour is provided, such as Figure 1b As shown, the outer contour of the plant is represented by octagons with different side lengths. The planting direction of the plant can be the planting direction of the plant in the target area. The distance value can be the spatial distance between the outer contours of adjacent plants.

[0040] In the embodiment of the present invention, each plant in the target area is first identified, the outer contour of each plant is obtained, and the distance value between adjacent plants along the planting direction of the plants is calculated according to the outer contour of each plant.

[0041] In an optional embodiment of the present invention, obtaining the outer contour of each plant in the target area may include: obtaining a digital orthophoto map of the target area, and using a set image recognition technology to identify the outer contour of each plant in the target area.

[0042] Among them, the digital orthophoto map (DOM) is a set of digital orthophoto images generated by digital differential correction and mosaicking of images and cropping them according to a certain map range. It is an image with both map geometric accuracy and image characteristics. Image recognition technology refers to the technology of using computers to process, analyze and understand images to identify targets and objects of various different modes. For example, the image recognition technology can be a contour detection algorithm based on OpenCV, or a holistic nested edge detection algorithm, etc. This embodiment does not limit the specific type of image recognition technology.

[0043] In the embodiment of the present invention, image recognition is performed on the digital orthophoto of the target area to obtain the outer contour of the plant.

[0044] S120, determining pairs of plants to be planted in the target area according to the distance values ​​between adjacent plants and a preset standard plant crown width.

[0045] Among them, the crown width can be the average value of the width of the plant in the north-south and east-west directions, which can be used to indicate the specifications of the plant. The standard plant crown width can be a standard crown width that matches the types of plants planted in the target area, and different types of plants have different corresponding standard plant crown widths. For example, when the plant is a fruit tree, the standard plant crown width can be the standard crown width of a three-year-old fruit tree, and when the plant is a poplar plant, the standard plant crown width can be the standard crown width of a three-year-old poplar, wherein the standard plant crown width corresponding to the fruit tree is generally larger than the standard plant crown width corresponding to the poplar. The pair of plants to be replanted can be two adjacent plants with the plant that needs to be replanted in the middle.

[0046] In the embodiment of the present invention, whether the adjacent plants are a pair of plants to be planted is determined based on the distance value between the adjacent plants and the standard plant crown width. It can be determined by judging whether the distance value between the adjacent plants is greater than the standard plant crown width, or by judging whether the difference between the distance value between the adjacent plants and the standard plant crown width is greater than a certain threshold. This embodiment does not limit the specific method of determining the pair of plants to be planted based on the distance value between the adjacent plants and the standard plant crown width.

[0047] In an optional embodiment of the present invention, determining pairs of plants to be replaced in the target area based on the distance value between the adjacent plants and a preset standard plant crown width may include: if it is determined that the distance value between the target adjacent plants is greater than or equal to the standard plant crown width, then determining the target adjacent plants as the pair of plants to be replaced.

[0048] In the embodiment of the present invention, whether the adjacent plants constitute a pair of plants to be planted is determined by judging whether the distance between the adjacent plants is greater than the standard plant crown width.

[0049] S130, determining the number of plants to be replanted and the replanting positions according to each pair of plants to be replanted.

[0050] In the embodiment of the present invention, after the plant pairs to be replanted in the target area are determined, the number and positions of the plants to be replanted are determined according to the plant pairs to be replanted.

[0051] In an optional embodiment of the present invention, determining the number of plants to be replanted and the replanting positions based on each pair of plants to be replanted may include: taking the integer obtained by dividing the distance value corresponding to the target pair of plants to be replanted by the crown width of the standard plant as the number of target plants to be replanted; calculating the center point coordinates of each target plant to be replanted based on the center points and crown widths of two adjacent plants corresponding to the target plants to be replanted, the number of target plants to be replanted and the crown width of the standard plant; and determining the position of each target plant to be replanted based on the center point coordinates of each target plant to be replanted.

[0052] In a specific example, when the distance between the target pairs of plants to be replanted is 9 meters and the standard plant crown width is 3 meters, the number of plants to be replanted is 3; when the distance between the target pairs of plants to be replanted is 7 meters and the standard plant crown width is 3 meters, the number of plants to be replanted is 2.

[0053] After determining the number of plants to be planted, the plants to be planted are filled between the target pairs of plants to be planted according to the center points and crown widths of two adjacent plants in the target pairs of plants to be planted, the number of plants to be planted and the standard crown width of the plants, and the center point coordinates of the plants to be planted are obtained as the positions of the plants to be planted.

[0054] For example, the distance between two adjacent plants can be equally divided according to the number of plants to be planted, and the center point coordinates of each equally divided segment can be obtained according to the center point coordinates and crown width of the two adjacent plants, and used as the center point coordinates of the plants to be planted, and the center point coordinates are used as the positions of the plants to be planted. This embodiment does not limit the specific method for determining the center point coordinates of the plants to be planted.

[0055] In an optional embodiment of the present invention, after determining the number of plants to be replanted and the replanting positions, it may also include: marking the number of plants to be replanted and the replanting positions in the digital orthophoto map, and displaying the marked digital orthophoto map in the user interaction interface.

[0056] In an embodiment of the present invention, the number and location of plants to be supplemented can be marked in a digital orthophoto map, and the digital orthophoto map can be displayed on a user interaction interface, so that the user can be prompted with replanting information in a timely manner, facilitating agricultural production management.

[0057] The technical solution of this embodiment determines the distance value of adjacent plants in the planting direction of the plants through the outer contours of each plant in the target area, determines the pair of plants to be replanted according to the distance value and the crown width of the standard plant, and determines the number and position of the plants to be replanted corresponding to the pair of plants to be replanted. The problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low efficiency of plant replanting and low agricultural production efficiency, is solved, and the vacant parts of the plants are automatically identified, and the position and number of replanted plants are automatically determined, thereby improving the efficiency of plant replanting.

[0058] Embodiment 2

[0059] Figure 2a It is a flow chart of a method for identifying plant replanting information provided in the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention further specifies the process of determining the outer contour of the plant, the process of determining the distance value of adjacent plants, the process of determining the pairs of plants to be replanted, and the process of determining the number and location of plants to be replanted.

[0060] Correspondingly, such as Figure 2a As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:

[0061] S210, obtaining a digital orthophoto map within the target area, and using a set image recognition technology to identify the outer contours of each plant in the target area.

[0062] S220, determining the center point and the crown width corresponding to each of the plants according to the outer contour.

[0063] In an embodiment of the present invention, the center point coordinates of each outer contour can be obtained through OpenCV to determine the center point coordinates corresponding to each plant, and the crown width of each plant can be calculated by the number of pixels corresponding to the outer contour of each plant.

[0064] S230, determining a distance value between two adjacent plants according to the center points and crown widths of two adjacent plants in the planting direction of the plants.

[0065] The planting direction of the plant can be obtained by identifying the planting direction of the plant in the target area, so as to calculate the distance value between two adjacent plants in the planting direction of the plant. The pre-stored planting direction of the plant can also be obtained, so as to calculate the distance value between two adjacent plants in the planting direction of the plant. This embodiment does not limit the method for obtaining the planting direction of the plant.

[0066] For example, a straight line detection algorithm can be used to determine the planting direction of plants in the target area based on the center points of the outer contours of each plant identified. Taking the Hough transform straight line detection algorithm as an example, the digital orthophoto image containing the center points of the outer contours of each plant is converted to the polar coordinate system Hough space, and the relative angles of several straight lines detected and the reference direction are counted, and the angle with the largest number of corresponding straight lines is used as the planting direction of the plant.

[0067] In the embodiment of the present invention, the purpose of determining the planting direction of the plants is to calculate the distance between adjacent plants along the planting direction of the plants, which is more convenient and avoids repeated calculation of the distance values ​​between the plants.

[0068] In the embodiment of the present invention, the distance value of each adjacent plant is calculated along the planting direction of the plants, and the distance value is related to the center point and the crown width of two adjacent plants.

[0069] Accordingly, S230 also includes:

[0070] S231. Calculate the center point distance between two adjacent plants according to the center points of the two adjacent plants in the planting direction of the plants.

[0071] The product of the number of pixels between the center point coordinates and the actual distance represented by each pixel can be used as the center point distance between adjacent plants. However, this embodiment does not limit the method of calculating the center point distance based on the center points.

[0072] S232. Subtract half the crown widths of two of the adjacent plants from the center point distance between the adjacent plants to obtain the distance between the adjacent plants.

[0073] In the embodiment of the present invention, the difference between the center point distance and half of the crown width of two adjacent plants is the distance value between the two adjacent plants.

[0074] For example, Figure 2b A schematic diagram of a pair of plants to be planted is provided, such as Figure 2b As shown, the plants to be replanted are centered, and the coordinates of the center point m of the left plant are (10, 10, 8), and the crown width is 2 meters. The coordinates of the center point n of the right plant are (18, 16, 10), and the crown width is 3 meters. The distance between the center point m and the center point n is 10 meters, and the distance between the two plants is 10-1-1.5=7.5 meters.

[0075] S240, determining whether the distance between target adjacent plants is greater than or equal to the standard plant crown width, if yes, executing S250, otherwise executing S240.

[0076] S250, determining the target adjacent plants as a pair of plants to be replanted.

[0077] S260: Divide the distance value corresponding to the target pair of plants to be planted by the standard plant crown width to obtain an integer as the number of target plants to be planted.

[0078] S270, calculating the coordinates of the center point of each target plant to be replanted according to the center point and crown width of two adjacent plants corresponding to the target plant to be replanted, the number of the target plants to be replanted, and the standard plant crown width.

[0079] Exemplarily, after obtaining the position coordinates of the center points A and B of the two adjacent plants (plant 1 and plant 2) corresponding to the target plant to be replanted as (X1, Y1) and (X2, Y2) respectively, the equation of the line segment AB can be obtained in the geographic space based on the above two position coordinates, and then within the line segment AB, starting from point A, half the crown width of plant 1 can be moved toward point B to obtain A', and starting from point B, half the crown width of plant 2 can be moved toward point A to obtain B', and then the line segment A'B' that needs to be evenly inserted with the target plant to be replanted can be obtained.

[0080] Optionally, within the line segment A'B', starting from A' and moving half of the standard plant crown width in the direction toward point B', the center point coordinate O1 of the first target plant to be planted can be obtained, and starting from the currently determined O1 and moving the standard plant crown width in the direction toward point B', the center point coordinate O2 of the second target plant to be planted can be obtained, and so on, until the center point coordinates of all the target plants to be planted are obtained. Alternatively, the spacing between the target plants to be planted can be determined based on the remainder obtained by dividing the distance value corresponding to the target plant pair to be planted by the standard plant crown width, and the number of target plants to be planted, and then, each time the center point coordinate of a target plant to be planted is determined, the center point coordinate of the next target plant to be planted can be determined after moving backward by the spacing on the line segment A'B', until the center point coordinates of all the target plants to be planted are obtained.

[0081] S280: Determine the position of each target plant to be planted based on the center point coordinates of each target plant to be planted.

[0082] S290: marking the number of plants to be replanted and the replanting positions in the digital orthophoto image, and displaying the marked digital orthophoto image in the user interaction interface.

[0083] The technical solution of this embodiment obtains the outer contour of each plant through the digital orthophoto map in the target area, determines the distance value of adjacent plants in the planting direction of the plant based on the outer contour, and when the distance value is greater than the standard plant crown width, the adjacent plants are used as pairs of plants to be replanted, and the number and position of the plants to be replanted are determined based on the distance value and the standard plant crown width. The problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low efficiency of plant replanting and low agricultural production efficiency, is solved, and the vacant parts of the plants are automatically identified, and the position and number of replanted plants are automatically determined, thereby improving the efficiency of plant replanting.

[0084] Embodiment 3

[0085] Figure 3a It is a flow chart of a method for identifying plant replanting information provided by Embodiment 3 of the present invention. Based on the above embodiments, this embodiment of the present invention proposes another implementation process for determining the distance value between adjacent plants.

[0086] Correspondingly, such as Figure 3a As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:

[0087] S310, obtaining a digital orthophoto map within the target area, and using a set image recognition technology to identify the outer contours of each plant in the target area.

[0088] S320: Generate a three-dimensional model of each plant in the target area according to the outer contour and the surface model data in the target area.

[0089] The surface model data (Digital Surface Model, DSM) can be a ground elevation model including the heights of surface buildings, bridges, and trees. Figure 3b A schematic diagram of surface model data is provided, such as Figure 3b As shown, the surface model data of the target area can show the undulations of the plants.

[0090] The three-dimensional model can be a model generated based on digital orthophoto data and surface model data to display the three-dimensional spatial structure of the target area. The advantage of generating a three-dimensional model is that it can display the plants in the target area in three dimensions, making the determination of the pairs of plants to be replanted more intuitive.

[0091] S330, determining the center point and the canopy width corresponding to each of the plants according to the three-dimensional model of each of the plants.

[0092] In the embodiment of the present invention, the center point and the crown width of each plant are determined based on the three-dimensional model.

[0093] Optionally, a three-dimensional model marked with center point and crown width can be used as a training sample, and a recognition model of center point and crown width can be pre-trained through a machine learning algorithm. After the three-dimensional model of each plant is input into the recognition model of center point and crown width, the model outputs the center point and crown width corresponding to each plant.

[0094] It should be noted that this embodiment demonstrates a method of generating a three-dimensional model and determining the center point and crown width of each plant based on the three-dimensional model. The technical solution in Example 2 is to determine the center point and crown width of each plant based on the outer contour of each plant in the digital orthophoto image. This application does not limit the method of obtaining the center point and crown width of each plant.

[0095] S340, determining a distance value between two adjacent plants according to the center points and crown widths of two adjacent plants in the planting direction of the plants.

[0096] Accordingly, S340 also includes:

[0097] S341. Calculate the center point distance between two adjacent plants according to the center points of the two adjacent plants in the planting direction of the plants.

[0098] S342: Subtract half the crown width of two of the adjacent plants from the center point distance between the adjacent plants to obtain the distance between the adjacent plants.

[0099] S350, determining whether the distance value between target adjacent plants is greater than or equal to the standard plant crown width, if yes, executing S360, otherwise executing S350.

[0100] S360: Determine the target adjacent plants as a pair of plants to be replanted.

[0101] S370: Divide the distance value corresponding to the target pair of plants to be planted by the standard plant crown width to obtain an integer as the number of target plants to be planted.

[0102] S380, calculating the coordinates of the center point of each target plant to be replanted according to the center point and crown width of two adjacent plants corresponding to the target plant to be replanted, the number of the target plants to be replanted, and the standard plant crown width.

[0103] S390, determining the position of each target plant to be replanted according to the center point coordinates of each target plant to be replanted. S3100, marking the number of plants to be replanted and the replanting positions in the digital orthophoto map, and displaying the marked digital orthophoto map in the user interaction interface.

[0104] The technical solution of this embodiment obtains the outer contour of each plant through the digital orthophoto map in the target area, determines the distance value of adjacent plants in the planting direction of the plant based on the outer contour, and when the distance value is greater than the standard plant crown width, the adjacent plants are used as pairs of plants to be replanted, and the number and position of the plants to be replanted are determined based on the distance value and the standard plant crown width. The problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low efficiency of plant replanting and low agricultural production efficiency, is solved, and the vacant parts of the plants are automatically identified, and the position and number of replanted plants are automatically determined, thereby improving the efficiency of plant replanting.

[0105] Embodiment 4

[0106] Figure 4 It is a flow chart of a method for identifying plant replanting information provided by a fourth embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention proposes another implementation process for determining the distance value between adjacent plants.

[0107] Correspondingly, such as Figure 4 As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:

[0108] S410, obtaining a digital orthophoto map within the target area, and using a set image recognition technology to identify the outer contours of each plant in the target area.

[0109] S420: Determine the center points corresponding to the plants according to the outer contour.

[0110] In the embodiment of the present invention, it is only necessary to determine the center point of each plant, and there is no need to obtain the crown width of each plant.

[0111] S430, obtaining a first intersection point and a second intersection point of a line connecting center points of adjacent plants in a planting direction and each of the adjacent plants.

[0112] In the embodiment of the present invention, a line is drawn to connect the center points of the adjacent plants, and the line intersects with the outer contours of the adjacent plants at a first intersection point and a second intersection point respectively.

[0113] S440: Taking the distance value between the first intersection point and the second intersection point in the adjacent plants as the distance value between the adjacent plants.

[0114] In the embodiment of the present invention, the distance between the first intersection point and the second intersection point is the distance value between two adjacent plants.

[0115] S450, determining whether the distance between target adjacent plants is greater than or equal to the standard plant crown width, if yes, executing S460, otherwise executing S450.

[0116] S460, determining the target adjacent plants as a pair of plants to be replanted.

[0117] S470: Divide the distance value corresponding to the target pair of plants to be planted by the standard plant crown width to obtain an integer as the number of target plants to be planted.

[0118] S480, calculating the coordinates of the center point of each target plant to be replanted according to the center point and crown width of two adjacent plants corresponding to the target plant to be replanted, the number of the target plants to be replanted, and the standard plant crown width.

[0119] S490, determining the position of each target plant to be planted based on the center point coordinates of each target plant to be planted.

[0120] S4100, marking the number of plants to be replanted and the replanting positions in the digital orthophoto image, and displaying the marked digital orthophoto image in a user interaction interface.

[0121] The technical solution of this embodiment obtains the outer contour of each plant through the digital orthophoto map in the target area, determines the distance value of adjacent plants in the planting direction of the plant based on the outer contour, and when the distance value is greater than the standard plant crown width, the adjacent plants are used as pairs of plants to be replanted, and the number and position of the plants to be replanted are determined based on the distance value and the standard plant crown width. The problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low efficiency of plant replanting and low agricultural production efficiency, is solved, and the vacant parts of the plants are automatically identified, and the position and number of replanted plants are automatically determined, thereby improving the efficiency of plant replanting.

[0122] Embodiment 5

[0123] Figure 5 This is a flow chart of a plant seedling replanting method provided in Embodiment 5 of the present invention. This embodiment is applicable to the situation where plant replanting is performed in a target area based on plant replanting information. The method can be executed by a plant seedling replanting device, which can be implemented by software and / or hardware and is generally integrated in a computer device and used in conjunction with the seedling replanting device.

[0124] Correspondingly, such as Figure 5 As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:

[0125] S510, performing a seedling replacement operation based on the number of plants to be replaced and the replanting positions obtained according to the plant replanting information identification method.

[0126] In the embodiment of the present invention, according to the method for identifying plant replanting information, the number of plants to be replanted and the replanting positions can be obtained, and the seedling replanting operation is performed according to the number of plants to be replanted and the replanting positions.

[0127] Exemplarily, when it is detected that the seedling replacement device is located at the replanting position of the target plants to be replanted, a seedling replacement instruction can be sent to the seedling replacement device. After receiving the seedling replacement completion information fed back by the seedling replacement device, the position of the seedling replacement device continues to be detected until it is determined that the received seedling replacement completion information matches the number of plants to be replanted.

[0128] The technical solution of this embodiment obtains the number and replanting positions of the plants to be replanted through the plant replanting information identification method, performs replanting operations at the replanting positions of the plants to be replanted, and completes the replanting operations in the target area after performing the replanting operations for the number of plants to be replanted. This solves the problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low plant replanting efficiency and low agricultural production efficiency, and achieves the effect of automatic replanting according to the position and number of replanted plants, thereby improving the plant replanting efficiency.

[0129] Embodiment 6

[0130] Figure 6 6 is a schematic diagram of a plant replanting information identification device provided in Embodiment 6 of the present invention, the device comprises: a distance value determination module 610, a to-be-replanted plant pair determination module 620 and a to-be-replanted plant information determination module 630. Among them:

[0131] The distance value determination module 610 is used to determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour;

[0132] A plant pair determination module 620 for determining a plant pair to be replanted in the target area according to the distance between the adjacent plants and a preset standard plant crown width;

[0133] The to-be-replanted plant information determination module 630 is used to determine the number of to-be-replanted plants and the replanting positions according to each of the to-be-replanted plant pairs.

[0134] The technical solution of this embodiment determines the distance value of adjacent plants in the planting direction of the plants through the outer contours of each plant in the target area, determines the pair of plants to be replanted according to the distance value and the crown width of the standard plant, and determines the number and position of the plants to be replanted corresponding to the pair of plants to be replanted. The problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low efficiency of plant replanting and low agricultural production efficiency, is solved, and the vacant parts of the plants are automatically identified, and the position and number of replanted plants are automatically determined, thereby improving the efficiency of plant replanting.

[0135] Based on the above embodiment, the distance value determination module 610 includes:

[0136] The peripheral contour acquisition unit is used to acquire the digital orthophoto image in the target area and use the set image recognition technology to identify the peripheral contours of each plant in the target area.

[0137] Based on the above embodiment, the distance value determination module 610 includes:

[0138] A first center point and crown width determination unit, used to determine the center point and crown width corresponding to each of the plants according to the outer contour;

[0139] The first distance value determination unit is used to determine the distance value between the adjacent plants according to the center points and crown widths of two adjacent plants in the planting direction of the plants.

[0140] Based on the above embodiment, the distance value determination module 610 includes:

[0141] A three-dimensional model generating unit, configured to generate a three-dimensional model of the target area according to the outer contour and the surface model data in the target area;

[0142] A second center point and crown width determination unit, configured to determine a center point and a crown width corresponding to each of the plants according to the three-dimensional model of each of the plants;

[0143] The second distance value determination unit is used to determine the distance value between adjacent plants according to the center points and crown widths of two adjacent plants in the planting direction of the plants.

[0144] Based on the above embodiment, the first distance value determining unit and the second distance value determining unit are specifically configured to:

[0145] Calculating the distance between the center points of two adjacent plants in the planting direction of the plants;

[0146] The distance between the center points of the adjacent plants is obtained by subtracting the half crown widths of two of the adjacent plants to obtain the distance between the adjacent plants.

[0147] Based on the above embodiment, the distance value determination module 610 includes:

[0148] A center point determination module, used to determine the center point corresponding to each plant according to the outer contour;

[0149] An intersection determination module, used for obtaining a first intersection point and a second intersection point of a line connecting center points of adjacent plants in a planting direction and each of the adjacent plants;

[0150] The third distance value determining unit is used to use the distance value between the first intersection point and the second intersection point in the adjacent plants as the distance value between the adjacent plants.

[0151] Based on the above embodiment, the to-be-replanted plant pair determination module 620 includes:

[0152] The unit for determining a pair of plants to be replanted is used to determine the target adjacent plants as the pair of plants to be replanted if it is determined that the distance value between the target adjacent plants is greater than or equal to the standard plant crown width.

[0153] Based on the above embodiment, the to-be-replanted plant information determination module 630 includes:

[0154] A target plant number determination unit is used to obtain an integer by dividing the distance value corresponding to the target plant pair to be replanted by the standard plant crown width as the target plant number to be replanted;

[0155] A target plant center point coordinate calculation unit is used to calculate the center point coordinates of each target plant to be replanted according to the center points and crown widths of two adjacent plants corresponding to the target plant to be replanted, the number of the target plants to be replanted, and the standard plant crown width;

[0156] The target plant position determination unit is used to determine the position of each target plant to be replanted according to the center point coordinates of each target plant to be replanted.

[0157] Based on the above embodiment, the device further includes:

[0158] The module for displaying information of plants to be replanted is used to mark the number of plants to be replanted and the replanting positions in the digital orthophoto map, and to display the marked digital orthophoto map in the user interaction interface.

[0159] The plant replanting information identification device provided in the embodiment of the present invention can execute the plant replanting information identification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0160] Embodiment 7

[0161] Figure 7 7 is a schematic diagram of the structure of a plant seedling supplement device provided by the seventh embodiment of the present invention, the device comprises: a distance value determination module 710, a plant pair determination module 720, a plant information determination module 730 and a seedling supplement execution module 740. Among them:

[0162] The distance value determination module 710 is used to determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour;

[0163] The module 720 for determining plant pairs to be replanted is used to determine plant pairs to be replanted in the target area according to the distance values ​​between adjacent plants and a preset standard plant crown width;

[0164] The to-be-replanted plant information determination module 730 is used to determine the number of to-be-replanted plants and the replanting positions according to each to-be-replanted plant pair;

[0165] The seedling supplement execution module 740 is used to perform a seedling supplement operation based on the number of plants to be supplemented and the supplementary planting positions.

[0166] The technical solution of this embodiment obtains the number and replanting positions of the plants to be replanted through the plant replanting information identification method, performs replanting operations at the replanting positions of the plants to be replanted, and completes the replanting operations in the target area after performing the replanting operations for the number of plants to be replanted. This solves the problem of relying on manual replanting in the prior art, which is time-consuming, inefficient, and costly, resulting in low plant replanting efficiency and low agricultural production efficiency, and achieves the effect of automatic replanting according to the position and number of replanted plants, thereby improving the plant replanting efficiency.

[0167] The plant seedling supplement device provided in the embodiment of the present invention can execute the plant seedling supplement method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0168] Embodiment 8

[0169] Figure 8 A schematic diagram of the structure of a computer device provided in Embodiment 8 of the present invention is shown in FIG. Figure 8 As shown, the computer device includes a processor 70, a memory 71, an input device 72 and an output device 73; the number of processors 70 in the computer device can be one or more. Figure 8 A processor 70 is taken as an example; the processor 70, memory 71, input device 72 and output device 73 in the computer device can be connected by a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0170] The memory 71, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the modules corresponding to the plant replanting information identification method in the embodiment of the present invention (for example, the distance value determination module 610, the to-be-replanted plant pair determination module 620 and the to-be-replanted plant information determination module 630 in the plant replanting information identification device), or the modules corresponding to the plant seedling replacement method in the embodiment of the present invention (for example, the distance value determination module 710, the to-be-replanted plant pair determination module 720, the to-be-replanted plant information determination module 730 and the seedling replacement execution module 740 in the plant seedling replacement device). The processor 70 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 71, that is, realizes the above-mentioned plant replanting information identification method. The method includes:

[0171] Determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour;

[0172] Determine the pair of plants to be planted in the target area according to the distance value between the adjacent plants and the preset standard plant crown width;

[0173] According to each pair of plants to be replanted, the number of plants to be replanted and the replanting positions are determined.

[0174] The above-mentioned method for replanting plants can also be implemented, the method comprising:

[0175] The seedling replacement operation is performed based on the number of plants to be replaced and the replanting positions obtained according to the plant replanting information identification method.

[0176] The memory 71 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 71 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 71 may further include a memory remotely arranged relative to the processor 70, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0177] The input device 72 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer device. The output device 73 may include a display device such as a display screen.

[0178] Embodiment 9

[0179] Embodiment 9 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a method for identifying plant replanting information when executed by a computer processor, the method comprising:

[0180] Determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour;

[0181] Determine the pair of plants to be planted in the target area according to the distance value between the adjacent plants and the preset standard plant crown width;

[0182] According to each pair of plants to be replanted, the number of plants to be replanted and the replanting positions are determined.

[0183] The invention can also be used to perform a method for replanting plants, the method comprising:

[0184] The seedling replacement operation is performed based on the number of plants to be replaced and the replanting positions obtained according to the plant replanting information identification method.

[0185] Of course, the storage medium containing computer executable instructions provided by an embodiment of the present invention is not limited to the method operations described above, but can also execute the plant replanting information identification method provided by any embodiment of the present invention, or execute related operations in the plant seedling replanting method provided by any embodiment of the present invention.

[0186] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0187] It is worth noting that in the embodiments of the above-mentioned plant replanting information identification device and the plant seedling replanting device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0188] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for identifying plant replanting information, characterized in that: include: Determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour; Determine the pair of plants to be planted in the target area according to the distance between the adjacent plants and the preset standard plant crown width; wherein the standard plant crown width is a standard crown width that matches the plant species already planted in the target area; Determining the number of plants to be replanted and the replanting positions according to each pair of plants to be replanted; Wherein, determining the distance value between adjacent plants in the planting direction of the plants according to the outer contour includes: According to the outer contour, determining the center point and the crown width corresponding to each of the plants; Determine the distance between two adjacent plants according to the center points and crown widths of the two adjacent plants in the planting direction of the plants; Determining the number of plants to be replanted and the replanting positions according to each pair of plants to be replanted includes: The integer obtained by dividing the distance value corresponding to the target pair of plants to be planted by the standard plant crown width is used as the number of target plants to be planted; Calculate the coordinates of the center point of each target plant to be replanted according to the center point and crown width of two adjacent plants corresponding to the target plant to be replanted, the number of the target plants to be replanted, and the standard plant crown width; The position of each target plant to be replanted is determined according to the coordinates of the center point of each target plant to be replanted.

2. The method according to claim 1, characterized in that Determine the outer contours of each plant in the target area, including: A digital orthophoto map of the target area is obtained, and a set image recognition technology is used to identify the outer contours of each plant in the target area.

3. The method according to claim 1, characterized in that Determining the distance between adjacent plants in the planting direction of the plants according to the outer contour includes: Generating a three-dimensional model of each plant in the target area according to the outer contour and the surface model data in the target area; Determining the center point and the canopy width corresponding to each of the plants according to the three-dimensional models of the plants; The distance value between the adjacent plants is determined according to the center points and crown widths of two adjacent plants in the planting direction of the plants.

4. The method according to claim 3, characterized in that Determining the distance between two adjacent plants according to the center points and crown widths of two adjacent plants in the planting direction of the plants includes: Calculating the distance between the center points of two adjacent plants in the planting direction of the plants; The distance between the center points of the adjacent plants is obtained by subtracting the half crown widths of two of the adjacent plants, to obtain the distance between the adjacent plants; Alternatively, according to the outer contour, the center points corresponding to the plants are determined; Obtaining a first intersection point and a second intersection point of a line connecting center points of adjacent plants in a planting direction of the plants and each of the adjacent plants; The distance value between the first intersection point and the second intersection point in the adjacent plants is used as the distance value between the adjacent plants.

5. The method according to claim 1, determining the pair of plants to be planted in the target area according to the distance between the adjacent plants and the preset standard plant crown width, comprising: If it is determined that the distance value between the target adjacent plants is greater than or equal to the standard plant crown width, the target adjacent plants are determined as the pair of plants to be replanted.

6. The method according to claim 2, characterized in that After determining the number of plants to be replanted and the location of the replanting, it also includes: The number of plants to be replanted and the replanting positions are marked on the digital orthophoto map, and the marked digital orthophoto map is displayed on the user interaction interface.

7. A method for replanting plants, characterized in that: The seedling replacement operation is performed based on the number of plants to be replaced and the replanting positions obtained according to the method according to any one of claims 1 to 6.

8. A plant replanting information identification device, characterized in that: include: A distance value determination module is used to determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour; A module for determining plant pairs to be replanted, used to determine plant pairs to be replanted in the target area according to the distance value between the adjacent plants and a preset standard plant crown width; wherein the standard plant crown width is a standard crown width that matches the plant species already planted in the target area; A module for determining information of plants to be replanted, used for determining the number of plants to be replanted and the replanting positions according to each pair of plants to be replanted; Wherein, the distance value determination module includes: A first center point and crown width determination unit, used to determine the center point and crown width corresponding to each of the plants according to the outer contour; A first distance value determination unit, used to determine the distance value between adjacent plants according to the center points and crown widths of two adjacent plants in the planting direction of the plants; The module for determining information of plants to be planted includes: A target plant number determination unit is used to obtain an integer by dividing the distance value corresponding to the target plant pair to be replanted by the standard plant crown width as the target plant number to be replanted; A target plant center point coordinate calculation unit is used to calculate the center point coordinates of each target plant to be replanted according to the center points and crown widths of two adjacent plants corresponding to the target plant to be replanted, the number of the target plants to be replanted, and the standard plant crown width; The target plant position determination unit is used to determine the position of each target plant to be replanted according to the center point coordinates of each target plant to be replanted.

9. A plant seedling supplement device, characterized in that: include: A distance value determination module is used to determine the outer contour of each plant in the target area, and determine the distance value between adjacent plants in the planting direction of the plants according to the outer contour; A module for determining plant pairs to be replanted, used to determine plant pairs to be replanted in the target area according to the distance value between the adjacent plants and a preset standard plant crown width; wherein the standard plant crown width is a standard crown width that matches the plant species already planted in the target area; A module for determining information of plants to be replanted, used for determining the number of plants to be replanted and the replanting positions according to each pair of plants to be replanted; A seedling supplementation execution module, used for performing a seedling supplementation operation based on the number of plants to be supplemented and the supplementation positions; Wherein, the distance value determination module includes: A first center point and crown width determination unit, used to determine the center point and crown width corresponding to each of the plants according to the outer contour; A first distance value determination unit, used to determine the distance value between adjacent plants according to the center points and crown widths of two adjacent plants in the planting direction of the plants; The module for determining information of plants to be planted includes: A target plant number determination unit is used to obtain an integer by dividing the distance value corresponding to the target plant pair to be replanted by the standard plant crown width as the target plant number to be replanted; A target plant center point coordinate calculation unit is used to calculate the center point coordinates of each target plant to be replanted according to the center points and crown widths of two adjacent plants corresponding to the target plant to be replanted, the number of the target plants to be replanted, and the standard plant crown width; The target plant position determination unit is used to determine the position of each target plant to be replanted according to the center point coordinates of each target plant to be replanted.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for identifying plant replanting information as described in any one of claims 1 to 6 is implemented, or the method for replanting plants as described in claim 7 is implemented.

11. A storage medium containing computer executable instructions, characterized in that: When executed by a computer processor, the computer executable instructions are used to execute the plant replanting information identification method as described in any one of claims 1 to 6, or to implement the plant seedling replanting method as described in claim 7.

Citation Information

Patent Citations

  • A crop seedling situation and seedling situation collecting and analyzing method and device

    CN109886094A