Crop body identification system and crop body identification program
The crop identification system addresses the challenge of GNSS-denied environments by using image-based ID assignment to manage crops effectively, ensuring accurate identification and information association.
Patent Information
- Application Number
- JP2023051197
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
AI Technical Summary
In environments like orchards and greenhouses, accurate detection of the position information of a moving object is challenging due to the inability to communicate with GNSS satellites, which hinders effective crop identification and management.
A crop identification system that includes a photographing device to repeatedly capture images of crop rows while moving along them, and an information processing device to assign identification information based on the difference in the number of crops between consecutive images, allowing for accurate identification and management even in GNSS-denied environments.
Enables accurate assignment of identification information to each crop in images, facilitating effective crop management and information association, even in environments where GNSS is unavailable, by utilizing image analysis and ID assignment techniques.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a crop plant identification system and a crop plant identification program. [Background technology]
[0002] In crop production, in order to improve productivity, protect the environment, and streamline management, it is important to link various production-related information (biological information, environmental information, work information, etc.) to as many crop plants as possible in the field, or to information on the locations where the crop plants are planted.
[0003] For example, it is preferable to move a mobile object equipped with a camera (such as a cart or drone) within a field while photographing the crop plants with the camera, obtain information about the crop plants (such as the growth status and number of fruits) from the captured images, and manage the obtained information by linking it to the location information of the mobile object when the images were taken.
[0004] In response to this, a technique has recently been known for generating management data in which location information acquired by a location information acquisition unit and quality information acquired by a quality information acquisition unit are associated with each other (see, for example, Patent Document 1, etc.). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2020-74141 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, in orchards, greenhouses, and the like, it may not be possible to accurately detect the position information of a moving object due to reasons such as the inability to communicate with Global Navigation Satellite System (GNSS) satellites.
[0007] Therefore, an object of the present invention is to provide a crop body identification system and a crop body identification program capable of assigning identification information to each crop body included in an image of a crop row. [Means for solving the problem]
[0008] The crop body identification system of the present invention comprises a photographing device that moves along a crop row in which a number of crop bodies are lined up, and a processing device that determines the number of crop bodies included in an image photographed by the photographing device, and assigns identification information to the crop bodies included in the first image based on the difference between the number of crop bodies included in a first image and the number of crop bodies included in an image photographed immediately before the first image. Effect of the Invention
[0009] The crop body identification system and crop body identification program of the present invention have the effect of being able to assign identification information to each of the crop bodies included in an image of a crop row. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating a schematic configuration of a crop plant management system according to a first embodiment. [Diagram 2] FIG. 2(a) is a diagram showing an example of a hardware configuration of a moving body, and FIG. 2(b) is a diagram showing the moving body as viewed from the horizontal direction. [Diagram 3] FIG. 2 is a diagram showing the inside of a greenhouse in which crops are grown, as viewed from above. [Figure 4] FIG. 4(a) is a diagram showing an example of a hardware configuration of an information processing device, and FIG. 4(b) is a functional block diagram of the information processing device. [Diagram 5] Figure 5(a) is a schematic diagram showing a cultivation bed viewed from the +X direction, and Figure 5(b) is a schematic diagram showing a crop plant cultivated in the cultivation bed viewed from above (from the +Z side). [Figure 6]6(a) and 6(b) are diagrams for explaining the shooting interval. [Figure 7] 4 is a flowchart showing a process of the information processing device. [Figure 8] 8(a) and 8(b) are diagrams showing image n-1 and image n at the time of transition to step S20. [Figure 9] FIG. 13 is a diagram illustrating an example of a data structure of an analysis result DB. [Figure 10] 8 is a flowchart showing detailed processing of step S26 in FIG. 7. [Figure 11] 11 is a flowchart showing detailed processing of step S58 in FIG. 10. [Figure 12] 12(a) and 12(b) are diagrams (part 1) for explaining the processing of FIG. [Figure 13] 13(a) and 13(b) are diagrams (part 2) for explaining the processing of FIG. [Figure 14] 14(a) and 14(b) are diagrams (part 3) for explaining the processing of FIG. [Figure 15] 15(a) and 15(b) are diagrams (part 4) for explaining the processing of FIG. [Figure 16] 11 is a flowchart showing detailed processing of step S58 in FIG. 10 in the second embodiment. [Figure 17] 17(a) and 17(b) are diagrams for explaining the processing of FIG. [Figure 18] 8 is a flowchart showing detailed processing of step S26 in FIG. 7 in a modified example. [Figure 19] 20 is a flowchart showing detailed processing of step S57 in FIG. 18. [Figure 20] 20(a) to 20(d) are diagrams (part 1) for explaining the processing of FIG. [Figure 21] 21(a) and 21(b) are diagrams (part 2) for explaining the processing of FIG. [Figure 22]22(a) and 22(b) are diagrams for explaining an example in which two crop rows are photographed simultaneously. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] First Embodiment Hereinafter, the crop management system according to the first embodiment will be described in detail.
[0012] 1 shows a schematic configuration of a crop body management system 100 as a crop body identification system according to the first embodiment. The crop body management system 100 of this embodiment includes a mobile body 10 and an information processing device 70 as a processing device. The mobile body 10 and the information processing device 70 are connected to a network 80 such as the Internet, a mobile phone communication network, a WAN (Wide Area Network), or a LAN (Local Area Network), and information can be exchanged between the mobile body 10 and the information processing device 70.
[0013] (Regarding moving body 10) The mobile object 10 is a device that photographs crops (strawberry plants) cultivated in a greenhouse while moving within the greenhouse. FIG. 2(a) shows a hardware configuration of the mobile object 10. FIG. 2(b) shows the mobile object 10 viewed from the horizontal direction. As shown in FIG. 2(a), the mobile object 10 includes a drive unit 20, an imaging unit 28, a communication unit 30, and a control unit 32.
[0014] The driving device 20 has a motor, a power source, etc., and is a device that rotates and drives tires 22 (see FIG. 2(b)) of the moving body 10. The driving device 20 rotates and drives the tires 22 to move the moving body 10 along the longitudinal direction of a cultivation bed 102 installed in a greenhouse. The driving device 20 moves the moving body 10 along the longitudinal direction of the cultivation bed 102.
[0015] A top plate 26 is provided on the upper side of the driving device 20 via a plurality of support columns 24. The top plate 26 is in a state of extending above the cultivation bed 102, and a photographing device 28 is provided on its underside (at a position facing the crop body).
[0016] The photographing device 28 is a camera such as a CCD (Charge Coupled Device) camera, a CMOS (Complementary Metal Oxide Semiconductor) camera, an infrared camera, etc. The photographing device 28 photographs the crop plant cultivated in the cultivation bed 102 from above at predetermined time intervals while the moving body 10 moves along the longitudinal direction of the cultivation bed 102 (the Y-axis direction in FIG. 2(b)). The image photographed by the photographing device 28 is transmitted to the control device 32.
[0017] The communication device 30 acquires the image captured by the image capturing device 28 from the control device 32 and transmits it to the information processing device 70.
[0018] The control device 32 controls the drive device 20 and the imaging device 28 based on drive instructions input by an operator.
[0019] The moving body 10 does not have to have the driving device 20. For example, the moving body 10 may be moved in the greenhouse by being manually pushed by an operator. In this case, the control device 32 may acquire the output of a measuring device that measures the amount of rotation of the tire 22, and may perform photographing by the photographing device 28 every time the tire 22 rotates a predetermined number of times. The moving body 10 may also be an air vehicle such as a drone. It is sufficient for the air vehicle to be able to move along the crop rows (or along a guide line provided near the crop rows).
[0020] FIG. 3 shows a state seen from above inside a greenhouse 200 in which crop bodies are cultivated. As shown in FIG. 3, a plurality of cultivation beds 102 for cultivating crop bodies are provided inside the greenhouse 200. On each cultivation bed 102, two rows of crop bodies are arranged. In this specification, the longitudinal direction of the cultivation bed 102 is defined as the Y-axis direction, the direction in which the cultivation beds 102 are arranged is defined as the X-axis direction, and the vertical direction is defined as the Z-axis direction. The number of cultivation beds 102 provided inside the greenhouse 200 is arbitrary. The crop bodies do not have to be cultivated in the cultivation beds, and may be planted in the ground in ridges, for example.
[0021] The moving body 10 photographs the crop bodies (crop rows) at predetermined time intervals while moving in the vicinity of the -X side of the first (closest to the -X side) cultivation bed 102 along the +Y direction. When the moving body 10 reaches the end of the +Y side of the first cultivation bed 102, it photographs the crop bodies at predetermined time intervals while moving in the vicinity of the +X side of the same cultivation bed 102 along the -Y direction. Thereafter, in the same manner, the moving body 10 performs photographing while moving back and forth in the vicinity of the second cultivation bed 102, the third cultivation bed 102, .... That is, the moving body 10 photographs all the crop bodies in the greenhouse 200 from above while repeatedly moving back and forth within the greenhouse 200.
[0022] (Regarding the information processing device 70) The information processing device 70 is a smartphone, a PC (Personal Computer), a server, or the like, and receives images captured by the imaging device 28 of the mobile object 10 from the communication device 30. Then, the information processing device 70 assigns identification information (ID) to the crop body captured in the received image (referred to as the crop body included in the image), analyzes the crop body, and manages the analysis results by linking them to the ID.
[0023] FIG. 4(a) shows the hardware configuration of the information processing device 70. As shown in FIG. 4(a), the information processing device 70 includes a CPU (Central Processing Unit) 190, a ROM (Read Only Memory) 192, a RAM (Random Access Memory) 194, a storage unit (such as a HDD (Hard Disk Drive) or an SSD (Solid State Drive)) 196, a network interface 197, a display unit 193, an input unit 195, and a portable storage medium drive 199. The display unit 193 includes a liquid crystal display or an organic EL display, and the input unit 195 includes a portable storage medium drive 199. These components of the information processing device 70 are connected to a bus 198. In the information processing device 70, the CPU 190 executes a program (including a crop identification program) stored in the ROM 192 or the storage unit 196, or a program read by the portable storage medium drive 199 from the portable storage medium 191, thereby realizing the functions of the components shown in FIG. 4(b). The functions of the various units in FIG. 4(b) may be realized by an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0024] As shown in FIG. 4(b), in the information processing device 70, the CPU 190 executes a program to realize functions as an image acquisition unit 40, an ID assignment unit 42, an information analysis unit 44, and an information management unit 46.
[0025] The image acquisition unit 40 acquires images captured by the imaging device 28 of the moving object 10 from the communication device 30 of the moving object 10 .
[0026] The ID assignment unit 42 assigns an ID as identification information to each crop body captured in an image (a crop body included in an image), and transmits the ID to the information management unit 46. Specific processing contents of the ID assignment unit 42 will be described later.
[0027] The information analysis unit 44 analyzes information on the observation target part of the crop plant from within the image captured by the imaging device 28 of the mobile body 10 and transmits the information to the information management unit 46.
[0028] The information management unit 46 acquires the ID assigned to the crop body in the image by the ID assignment unit 42 and the results of the analysis of the crop body in the image by the information analysis unit 44, links the ID to the analysis results, and stores them in the analysis result DB 50.
[0029] (About shooting intervals) Here, the photographing interval (how far the photographing device 28 moves from the position where the photographing device 28 photographs the next time) will be described. Fig. 5(a) is a diagram showing a state where the cultivation bed 102 is viewed from the +X direction. Fig. 5(b) is a diagram showing a state where the crop plant cultivated in the cultivation bed 102 is viewed from above (from the +Z side).
[0030] As shown in FIG. 5(a), the number of angles of view of the photographing device 28 (number of pixels in the X-axis direction × number of pixels in the Y-axis direction) is W×L, the photographing speed (number of images taken per second) is k (times / second), the moving speed is v (mm / s), the angle of view is α, and the height of the photographing device 28 from the top surface of the cultivation bed 102 is h (mm). Note that the photographing speed means the interval at which the shutter is released when the photographing device 28 takes a still image, and means the frame rate when the photographing device 28 takes a video. Note that in this embodiment, for convenience of explanation, it is assumed that the photographing device 28 takes a still image.
[0031] In this case, the shooting interval Ymt (pixels) can be expressed as in the following equation (1). Ymt=vL / (2kh·tan(α / 2)) …(1)
[0032] On the other hand, if the center distance (plant spacing) between two crop bodies arranged in the Y-axis direction is Ypm (mm), the plant spacing Yp (pixels) converted from the plant spacing Ypm (mm) to a pixel value can be expressed by the following formula (2). Yp=(Ypm·L) / (2h·tan(α / 2)) …(2) In addition, the spacing between plants YPm (mm) can also be said to be the planting interval of the crop plants.
[0033] Fig. 6(a) shows a schematic diagram of the photographing interval Ymt (pixels) being set to be the same as the spacing between plants Yp (pixels), the n-1th image being photographed (see the left diagram of Fig. 6(a)), and then the photographing interval being shifted by Ymt (pixels) to photograph the nth image (see the center diagram of Fig. 6(a)). Note that in Fig. 6(a), the photographing range is indicated by a dashed frame.
[0034] In this embodiment, as described later, an ID is assigned to the crop bodies included in each image based on the change in the number of crop bodies included in the images captured continuously. However, in the example of the left and center diagrams in Fig. 6(a), the number of crop bodies included in the n-1th image is the same as the number of crop bodies included in the nth image, so it is not possible to distinguish whether the crop bodies included in each image are the same crop body or different crop bodies.
[0035] Also, suppose that the shooting interval Ymt (pixels) is set to be greater than the spacing between plants Yp (pixels). Then, suppose that the n-1th image is shot (see the left diagram of FIG. 6(a)), and then the nth image is shot by moving the shooting interval Ymt (pixels) (see the right diagram of FIG. 6(a)). In this case, although the number of crop bodies included in each image is different, it is not possible to determine how the crop bodies included in the n-1th image correspond to the crop bodies included in the nth image.
[0036] On the other hand, FIG. 6(b) shows a schematic diagram of the n-1th image being captured (see the left diagram of FIG. 6(b)) with the image capture interval Ymt (pixels) set smaller than the plant spacing Yp (pixels), and then the nth image being captured (see the right diagram of FIG. 6(b)) by moving the image capture interval Ymt (pixels). In the example of FIG. 6(b), the nth image captures the same crop body as the crop body included in the n-1th image, while the number of crop bodies increases, so that it is possible to determine which of the crop bodies included in the nth image is the same as the crop body included in the n-1th image. In other words, the IDs assigned to the crop bodies included in the n-1th image can be inherited and an ID can be assigned to each crop body included in the nth image.
[0037] Therefore, in this embodiment, the relationship between the shooting interval Ymt (pixels) shown in the above formula (1) and the plant interval Yp (pixels) shown in the above formula (2) is set as shown in the following formula (3). Ymt <Yp …(3) In this embodiment, for example, when the moving speed of the moving body 10 is constant, the timing of shooting may be determined based on the moving speed so that the shooting interval Ymt (pixels) is smaller than the spacing Yp (pixels). When the moving speed of the moving body 10 is not constant, the moving speed is monitored using a speedometer or the like, and the timing of shooting may be determined based on the monitoring result so that the shooting interval Ymt (pixels) is smaller than the spacing Yp (pixels).
[0038] (Regarding the processing of the information processing device 70) The processing of the information processing device 70 will be described in detail below with reference to the flowcharts of Figures 7, 10, and 11 and other drawings. The processing of Figure 7 is assumed to start when the operator inputs an instruction to start shooting to the control device 32 of the mobile object 10 and the information processing device 70. Note that at this stage, it is assumed that the mobile object 10 is positioned near the first crop row, and the control device 32 of the mobile object 10 starts moving the mobile object 10 and shooting when the instruction to start shooting is input.
[0039] When the process of FIG. 7 is started, first, in step S10, the image acquisition unit 40 sets a parameter m indicating the row number of the crop row to 1, and also sets a parameter n indicating the number of images to 1.
[0040] Next, in step S12, the image acquisition unit 40 acquires the nth image (referred to as image n) of the crop row m.
[0041] Next, in step S14, the ID assignment unit 42 detects the crop body from the image n. Note that the ID assignment unit 42 recognizes objects shown in the image by machine learning, deep learning, or the like, and detects the crop body.
[0042] Next, in step S16, the ID assigning unit 42 judges whether or not to start processing. Here, as an example, the ID assigning unit 42 judges to start processing when it is confirmed that one crop body is photographed in the image n. If the judgment in this step S16 is negative, the process proceeds to step S18, and the image acquiring unit 40 increments n by 1 (n=n+1). Thereafter, the process returns to step S12.
[0043] On the other hand, if the determination in step S16 is positive, the process proceeds to step S20. The process proceeds to step S20 when the image n-1 captured immediately before is an image capturing a range as shown in FIG. 8(a) and the image n captured this time is an image capturing a range as shown in FIG. 8(b). When the process proceeds to step S20, the ID assignment unit 42 assigns an ID to the crop body detected from image n. Specifically, the ID of the crop body contained in image n of the crop row m is ID m,n_bottom =ID m,n_top =1 In addition, ID m,n_bottom means the ID of the crop located at the bottom (the -Y side in Fig. 6(b)) in image n of crop row m, and ID m,n_topmeans the ID of the crop body located at the top (the +Y side in FIG. 6(b)) of image n of crop row m. In other words, if only one crop body is included in the image, the ID m,n_bottom and ID m,n_top means the ID of the same crop.
[0044] Next, in step S22, the information analysis unit 44 analyzes the image, acquires information on the observation target part of the crop body contained in the image, and transmits it to the information management unit 46. The information on the observation target part of the crop body includes information such as the number of flowers, the number of fruits, and the number of fully ripe fruits.
[0045] Next, in step S24, the information management unit 46 associates the information on the crop body (crop body information) with the ID and stores it in the analysis result DB 50. For example, the analysis result DB 50 has a data structure as shown in FIG.
[0046] After step S24, the process proceeds to step S26, where a subroutine for identification processing is executed. In step S26, processing is executed according to the flowchart of FIG.
[0047] In the process of FIG. 10, first, in step S50, the image acquisition unit 40 increments n by 1 (n=n+1).
[0048] Next, in step S52, the image acquisition unit 40 acquires an image n.
[0049] Next, in step S54, the ID assignment unit 42 analyzes the image n and detects the crop body.
[0050] Next, in step S56, the ID assignment unit 42 judges whether or not the process is finished. Here, if no crop body is detected as a result of the process in step S54, it is judged that the movement along the crop row m and the photographing of the crop row m are finished. If the judgment in step S56 is negative, the process proceeds to step S58.
[0051] At step S58, a subroutine for ID identification processing is started. At step S58, processing is performed according to the flowchart of FIG.
[0052] When the process of FIG. 11 is started, first, in step S70, the ID assignment unit 42 calculates the number of detected crop bodies in the image n, C n and the number of detected crop bodies in the previous image n-1, C n-1 Get the.
[0053] Next, in step S72, the ID assignment unit 42 calculates the change in the number of detections C by the following formula (4): ch Calculate. C ch =C n -C n-1 …(4)
[0054] For example, as shown in FIG. 12(a), if one crop body is detected in image n-1 and two crop bodies are detected in the next image n, then C ch will result in 1.
[0055] Next, in step S74, the ID assignment unit 42 calculates the change in the number of detections C ch Determine whether or not C is 0. ch If it is 1, the determination in step S74 is negative, and the process proceeds to step S78.
[0056] In step S78, the ID assignment unit 42 ch It is determined whether or not the value is 1. If the determination here is positive, the process proceeds to step S80.
[0057] When the process proceeds to step S80, the ID assignment unit 42 assigns an ID to each plant body included in the image n based on the following formulas (5) and (6). ID m,n_top =ID m,n-1_top +1 …(5) ID m,n_bottom =ID m,n-1_bottom …(6)
[0058] In the example of FIG. 12(a), the ID (=ID m,n-1_top ) is 1, so the ID assignment unit 42 determines the ID (=ID m,n_top ) is set to 1+1=2 (see FIG. 12(b)). In addition, the ID assignment unit 42 determines the ID (=ID m,n_bottom ) and the ID (=ID) of the bottommost (-Y) crop in image n-1. m,n-1_bottom ) is assigned the same ID of 1 (see FIG. 12(b)).
[0059] In the case shown in FIG. 13(a), the process of step S80 is executed in the same manner as in the case of FIG. 12(a). In this case, the ID (=ID m,n-1_top ) is 11, so the ID assignment unit 42 assigns the ID (=ID m,n_top ) is set to 11+1=12. In addition, the ID assignment unit 42 calculates the ID (=ID m,n_bottom ) and the ID (=ID) of the bottommost (-Y) crop in image n-1. m,n-1_bottom In the case of FIG. 13(b), the ID is 10. m,n_top Crop body and ID m,n_bottom Since one crop body exists between the crop bodies, the ID assignment unit 42 assigns the ID m,n_top =12 and ID m,n_bottom = 10. After the process of step S80 is performed as described above, the process proceeds to step S60 in FIG.
[0060] On the other hand, for example, as shown in FIG. 14(a), there is a case where two crop bodies (ID=1, 2) are detected in an image n-1, and two crop bodies are also detected in the next image n. In this case, the change in the number of detections calculated in step S72, C ch Then, 2-2=0.
[0061] In this case, the determination in step S74 is affirmative, and the process proceeds to step S76. In step S76, the ID assignment unit 42 ID m,n_bottom ~ID m,n_top =ID m,n-1_bottom ~ID m,n-1_top …(7) Let us assume that.
[0062] That is, the ID (=1, 2) assigned to the crop body in image n-1 is also assigned to the crop body included in image n as is, as shown in Fig. 14(b). After the process of step S76 is performed, the process proceeds to step S60 in Fig. 10.
[0063] Also, for example, as shown in FIG. 15(a), there is a case where three crop bodies (e.g., IDs=10, 11, and 12) are detected in an image n-1, and two crop bodies are detected in the next image n. In this case, the change in the number of detections calculated in step S72 is C ch So, 2-3=-1.
[0064] In this case, the determination in step S74 is negative and the determination in step S78 is negative, so the process proceeds to step S82. In step S82, the ID assignment unit 42 assigns an ID to each plant body in the image n based on the following equations (8) and (9). ID m,n_bottom =ID m,n-1_bottom +1 …(8) ID m,n_top =ID m,n-1_top …(9)
[0065] In the example of FIG. 15(a), the ID (=ID m,n-1_bottom ) is 10, so the ID assignment unit 42 determines the ID (=ID m,n_bottom ) is set to 10+1=11 (see FIG. 15(b)). In addition, the ID assignment unit 42 obtains the ID (=ID m,n_top) and the ID (=ID) of the topmost (+Y) crop in image n-1. m,n-1_top ) is assigned the same ID=12 (see FIG. 15(b)). m,n_bottom and ID m,n_top If the numbers are not consecutive (if the image n includes three or more crop bodies), the ID assignment unit 42 assigns the ID to the crop body between the topmost and bottommost crop bodies in the image n. m,n_bottom and ID m,n_top After the process of step S82 has been performed as described above, the process proceeds to step S60 in FIG.
[0066] When the process of FIG. 11 ends and the process proceeds to step S60 of FIG. 10, the information analysis unit 44 analyzes the image n to obtain information on the observation target part of the crop body contained in the image, and transmits the information to the information management unit 46.
[0067] Next, in step S62, the information management unit 46 stores the information on the crop body (crop body information) in the analysis result DB 50 (see FIG. 9) in association with the ID.
[0068] Then, the process returns to step S50. After returning to step S50, the processes of steps S50 to S62 described above are repeatedly executed. In this embodiment, the same crop body is photographed multiple times (contained in multiple images), so information on the observation target part of the same crop body is obtained multiple times. For this reason, in the case of the number of flowers or the number of fruits, the largest value among the values obtained multiple times may be adopted and stored in the analysis result DB50.
[0069] Then, as a result of the repeated processing of steps S50 to S62, when the determination of step S56 is affirmative (i.e., when no crop body is photographed in image n), the processing of Fig. 10 ends. When the processing of Fig. 10 ends, the process proceeds to step S28 of Fig. 7.
[0070] 7, the image acquisition unit 40 judges whether the observation range has ended, that is, whether m is a predetermined number M (M is the number of crop rows in the greenhouse 200). If the judgment in step S28 is negative, the process proceeds to step S30.
[0071] When the process proceeds to step S30, the image acquisition unit 40 increments m by 1 (m=m+1) and transmits the value of m to the moving body 10. The moving body 10 starts moving to the new crop row m, and starts moving along the crop row m and taking pictures. Thereafter, the processes from step S12 onwards are repeatedly executed. Then, if the determination in step S28 is positive, all the processes in FIG. 7 are terminated. At the stage where all the processes in FIG. 7 are terminated, the movement of the moving body 10 within the greenhouse 200 is terminated, and in the analysis result DB 50 in FIG. 9, IDs are assigned to all the crops in all the crop rows, and crop information (such as the number of flowers and the number of fruits) is stored in association with the IDs.
[0072] As described above in detail, according to the first embodiment, the photographing device 28 moves along the cultivation bed 102 (crop row) and repeatedly photographs a part of the crop row. In addition, the information processing device 70 specifies the number of crop bodies included in the image photographed by the photographing device 28, and calculates the number C of crop bodies included in the image n. n and the number of crop bodies in the image n-1 taken just before image n, C n-1 Difference (change) from C ch Based on this, an ID is assigned to the crop body included in the image n. As a result, an appropriate ID can be assigned to the crop body included in the image n, and therefore, information on each crop body (crop body information) can be linked to the ID and appropriately managed in the analysis result DB 50. Here, in an environment where the position of the photographing device 28 can be measured using GNSS or the like, information on the position where the image was taken and information on the crop body included in the image taken at that position may be associated and managed. In contrast, according to this embodiment, even in an environment where the position of the photographing device 28 cannot be measured, such as a greenhouse, it is possible to appropriately manage information on each crop body using information obtained from the image.
[0073] In the first embodiment, the information processing device 70 starts the process of assigning IDs to the crop bodies from the timing when the number of crop bodies included in the image n changes from 0 to 1 after the image capturing device 28 starts moving (step S16 in FIG. 7: Yes). As a result, in the present embodiment, the process of assigning IDs to the crop bodies can be started at an appropriate timing. The timing to start the process may be other than the timing when the number of crop bodies included in the image n changes from 0 to 1. For example, a predetermined object (a marker) for identifying the processing start timing may be placed near the crop body at the head of the crop row, and the process of assigning IDs to the crop bodies may be started from the timing when the marker is photographed (step S16 in FIG. 7: Yes). Machine learning, deep learning, or the like is used to recognize the marker in the image.
[0074] Furthermore, in the first embodiment, when the number of crop bodies included in image n captured while the image capture device 28 is moving becomes 0, the process of assigning IDs to crop bodies is terminated (step S56 in FIG. 10: YES). As a result, in the first embodiment, the process of assigning IDs to crop bodies can be terminated at an appropriate timing. The timing of terminating the process may be other than the timing when the number of crop bodies included in image n becomes 1. For example, a marker for specifying the timing of the process termination may be placed near the last crop body among the crop bodies lined up in the crop row, and the process of assigning IDs to crop bodies may be terminated when the marker is captured (step S56 in FIG. 10: YES).
[0075] In this embodiment, the photographing interval Ymt (pixels) is set to be smaller than the spacing between plants Yp (pixels) as shown in the above formula (3). This makes it possible to assign an appropriate ID to the crop plant included in each image without causing the problem described in FIG. 6(a).
[0076] Second Embodiment Next, a second embodiment will be described. Note that in the second embodiment, the description of the parts common to the first embodiment will be omitted.
[0077] The second embodiment is different from the first embodiment in that in step S58 (ID identification process) in FIG. 10, the process in FIG. 11 is not executed, but a process according to the flowchart in FIG. 16 is executed.
[0078] When the processing of Figure 16 starts, first, in step S100, the ID assignment unit 42 calculates the difference Ym in the Y coordinate between the center of gravity of the crop body included in image n-1 (the center of gravity of the area corresponding to the crop body) and the center of gravity of the crop body included in image n.
[0079] Specifically, in the case of images n-1 and n as in the example of FIG. 17(a), the ID assignment unit 42 obtains the coordinates of the center of gravity Ga of the first crop body from the bottom of image n-1 (coordinates with the lower left edge of the image as the origin) and the coordinates of the center of gravity Gb of the second crop body from the bottom. The ID assignment unit 42 also obtains the coordinates of the center of gravity Ga' of the first crop body from the bottom of image n, the coordinates of the center of gravity Gb' of the second crop body from the bottom, and the coordinates of the center of gravity Gc' of the third crop body from the bottom. Then, the ID assignment unit 42 calculates the difference Ym in Y coordinates for the combinations of the center of gravity Ga and each of the centers of gravity Ga', Gb', and Gc', and the combinations of the center of gravity Gb and each of the centers of gravity Ga', Gb', and Gc'.
[0080] Returning to Fig. 16, in the next step S102, the ID assignment unit 42 identifies a combination of crop bodies whose Y coordinate difference (Ym) falls within a predetermined range. "Within the predetermined range" means a range in which Ym satisfies the following formula (10). Note that Ymt is the shooting interval described in the first embodiment, and γ and β are adjustment values for allowing for errors such as travel errors of the moving body 10, vibrations of the imaging device 28, and detection range of the crop bodies, and γ is a value smaller than Ymt, and β is a value equal to or greater than 0. Ymt+γ>Ym>0-β …(10)
[0081] In the example of Figure 17(a), it is assumed that a combination of a crop body having a center of gravity Ga and a crop body having a center of gravity Ga', and a combination of a crop body having a center of gravity Gb and a crop body having a center of gravity Gb' have been identified, as shown in Figure 17(b).
[0082] Next, in step S104, the ID assignment unit 42 assigns the ID of the corresponding crop body in image n-1 to the crop body in image n of the identified combination. As shown in Fig. 17(b), when the ID of the crop body of the center of gravity Ga is 10 and the ID of the crop body of the center of gravity Gb is 11, the ID assignment unit 42 assigns 10 as the ID of the center of gravity Ga' and 11 as the ID of the center of gravity Gb'.
[0083] Next, in step S106, the ID assignment unit 42 assigns a new ID (added in the movement direction) to the crop body of image n that was not combined. That is, 12, which follows 10 and 11, is assigned as the ID of the crop body of the center of gravity Gc' of image n.
[0084] With this, the process of FIG. 17(b) ends.
[0085] As described above, according to the second embodiment, the photographing device 28 repeatedly photographs a part of the crop row while moving along the cultivation bed 102 (crop row). The information processing device 70 identifies the coordinates of the center of gravity of the crop body included in the image photographed by the photographing device 28, and assigns an ID to the crop body included in the image n based on the difference between the coordinates of the center of gravity of the crop body included in the image n and the coordinates of the center of gravity of the crop body included in the image n-1 photographed immediately before the image n. This allows the crop body included in the image n to be assigned an appropriate ID, so that information on each crop body (crop body information) can be linked to the ID and managed in the analysis result DB 50. Furthermore, in the second embodiment, even in an environment where the position of the photographing device 28 cannot be measured, such as a greenhouse, it is possible to appropriately manage the information on each crop body using information obtained from the image.
[0086] In the above second embodiment, a case has been described in which the information processing device 70 identifies the coordinates of the center of gravity of the crop body included in the image captured by the camera device 28 (the coordinates of the center of gravity of the area corresponding to the crop body), and assigns an ID to the crop body included in image n based on the identified coordinates of the center of gravity. However, the present invention is not limited to this. The information processing device 70 may identify position coordinates of feature points other than the center of gravity (such as the position coordinates of a specified corner of the area or the position coordinates of a point on a specified side) from the area of the crop body included in the image captured by the camera device 28, and assign an ID to the crop body included in image n based on the identified position coordinates in the same manner as in the above second embodiment.
[0087] (Modification) In the first and second embodiments, instead of the process of step S26 in Fig. 10, a process according to the flowchart in Fig. 18 may be executed. Specifically, as shown in Fig. 18, the process of step S57 may be executed before the process of step S58. In this modification, it is preferable to use the above-mentioned predetermined object (marker, etc.) in order to appropriately determine the start of the process of step S16 in Fig. 7 and the end of step S56 in Fig. 18.
[0088] In step S57 in Fig. 18, a process for identifying the crop body in image n is executed. The process in step S57 is a process for correcting the detection result of the crop body when the crop body cannot be properly detected as a result of detecting the crop body from image n in step S54. The process in step S57 is executed according to the flowchart in Fig. 19.
[0089] 19 starts, first, in step S200, the ID assignment unit 42 obtains the center of gravity of the crop body in the image n. For example, as shown in FIG. 20(a), it is assumed that (Xa, Ya) is obtained as the coordinate of the center of gravity Ga.
[0090] Next, in step S202, the ID assignment unit 42 judges whether the distance between the ±Y end of the photographing range and the center of gravity Ga of the crop body is greater than the spacing Yp. In the case of FIG. 20(a), of the distance La between the center of gravity Ga and the end (side) on the -Y side of the photographing range (dashed line frame) and the distance Lb between the center of gravity Ga and the end (side) on the +Y side of the photographing range, the distance Lb is greater than the spacing Yp. In this case, the judgment in step S202 is affirmative, and the process proceeds to step S204. Note that in step S202, when judging whether the spacing is greater than the spacing Yp, it may be possible to judge whether the spacing is greater than a value obtained by subtracting a predetermined value δ from the spacing Yp.
[0091] When the process proceeds to step S204, the ID assignment unit 42 executes a process of adding a crop body to the image n because the crop body has not been detected above (on the +Y side of) the crop body having the center of gravity Ga. Specifically, as shown in FIG. 20(b), the ID assignment unit 42 adds a crop body having a center of gravity Gb at a position spaced apart from the center of gravity Ga by the spacing Yp (or Yp-σ). Then, the process proceeds to step S206. On the other hand, if the determination in step S202 is negative, the process proceeds to step S206 without going through step S204.
[0092] When the process proceeds to step S206, the ID assigning unit 42 judges whether or not the distance between the centers of gravity of two adjacent crop bodies included in the image n is greater than twice the length of the spacing Yp (Yp×2). For example, as shown in FIG. 20(c), if the distance between the centers of gravity Ga and Gb is greater than twice the length of the spacing Yp, the judgment in step S206 is affirmative, and the process proceeds to step S208. At this time, since it is highly likely that a crop body between the crop body having the center of gravity Ga and the crop body having the center of gravity Gb has not been detected, the ID assigning unit 42 executes a process of adding a new crop body between the two crop bodies in step S208. Specifically, as shown in FIG. 20(d), the ID assigning unit 42 adds a crop body having a center of gravity Gc (the center of gravity Gc is the midpoint of the centers of gravity Ga and Gb). After step S208, the process proceeds to step S210. Note that, if the judgment in step S206 is negative, the process proceeds to step S210 without passing through step S208. In step S206, it may be determined whether the distance between the centers of gravity of two adjacent crop bodies included in image n is greater than a value (Yp×2−σ) obtained by subtracting a predetermined value σ from Yp×2.
[0093] When the process proceeds to step S210, the ID assigning unit 42 judges whether or not there is a crop body whose distance between the centers of gravity of adjacent crop bodies included in the image n is smaller than 1 / 2 the length (Yp×2) of the distance between the plants Yp. For example, as shown in FIG. 21(a), if the distance between the centers of gravity Gb and Gc is smaller than 1 / 2 the length of the distance between the plants Yp, the judgment in step S210 is affirmative, and the process proceeds to step S212. At this time, since there is a high possibility that the crop body having the centers of gravity Gb and Gc has been erroneously detected, the ID assigning unit 42 executes a process of replacing the two crop bodies with one crop body in step S212. Specifically, as shown in FIG. 21(b), the ID assigning unit 42 adds a crop body having a center of gravity Ge (the center of gravity Ge is the midpoint of the centers of gravity Ga and Gd) instead of the crop bodies having the centers of gravity Gb and Gc in FIG. 21(a). After step S212, all the processes in FIG. 19 are terminated, and the process proceeds to step S58 in FIG. 18. If the determination in step S210 is negative, the entire process in FIG. 19 is terminated without going through step S212, and the process proceeds to step S58 in FIG.
[0094] As described above, according to this modification, the ID assignment unit 42 adds a crop body to the image n, or adds a new crop body in place of a detected crop body, based on the center of gravity position of one or more crop bodies included in the image n. This makes it possible to appropriately correct the detection result of the crop body when a crop body that should be detected in the image n is not detected or when a crop body is erroneously detected in the image n.
[0095] In the above first and second embodiments, a plurality of rows of crops (for example, the first and second rows in FIG. 3) can be photographed simultaneously. For example, as shown in FIG. 22(a), two rows of crops grown on one cultivation bed 102 may be photographed simultaneously. In this case, for example, if the crop bodies shown in gray in FIG. 22(b) cannot be detected, the crop bodies shown in gray may be complemented based on the arrangement (arrangement interval, etc.) of the adjacent crop rows.
[0096] In the above first and second embodiments and modified examples, a marker indicating the ID of the crop body may be provided near the t-th crop body from the end of the crop row. When the image capturing device 28 captures an image of the marker, the ID assigning unit 42 may check whether the ID of the crop body located near the marker is t, and if different, correct the ID to t.
[0097] In the above-described first and second embodiments and modified examples, the ID of each crop plant may be linked in advance to the position coordinates of each crop plant in the greenhouse 200 and managed. In this case, the positions of the photographing device 28 and the moving object 10 may be detected based on the ID assigned by the ID assigning unit 42 to the crop plant photographed by the photographing device 28. This makes it possible to identify the position of the moving object 10 from the image of the crop plant photographed without using GNSS or the like.
[0098] In the above embodiment, the mobile object 10 is used to observe (image analyze) the observation target portion of the crop body, but the present invention is not limited to this. For example, the mobile object 10 may be used to perform light work (pollination, petal removal, stomping seedlings, etc.). The mobile object 10 may also be used to spray fertilizer or pesticides. Environmental information, work information, etc. may also be managed by linking it to the ID of the crop body.
[0099] In the above first and second embodiments and modified examples, the case where the photographing device 28 photographs the crop body from above has been described; however, this is not limited thereto, and the photographing device 28 may photograph the crop body from a horizontal direction.
[0100] The above-described embodiment is a preferred example of the present invention, but the present invention is not limited to this embodiment and can be modified in various ways without departing from the scope of the present invention. [Explanation of symbols]
[0101] 10 Mobile 28 Imaging Equipment 40 Image acquisition unit 42 ID Assignment Department 44 Information Analysis Department 46 Information Management Department 50 Analysis result DB 70 Information processing device (processing device) 100 Crop body management system (crop body identification system) 102 Cultivation Bed
Claims
1. An imaging device that moves along a crop row in which a plurality of crop bodies are lined up and repeatedly images a portion of the crop row; a processing device that specifies the number of crop bodies included in an image captured by the image capture device, and assigns identification information to the crop bodies included in the first image based on a difference between the number of crop bodies included in a first image and the number of crop bodies included in an image captured immediately before the first image; A crop identification system comprising:
2. An imaging device that moves along a crop row in which a plurality of crop bodies are lined up and repeatedly images a portion of the crop row; a processing device that specifies a position of the crop body included in an image captured by the imaging device, and assigns identification information to the crop body included in the first image based on a difference between a position of the crop body included in a first image and a position of the crop body included in an image captured immediately before the first image; A crop identification system comprising:
3. 3. The crop body identification system according to claim 2, wherein the position of the crop body included in the image captured by the imaging device is a center of gravity position of an area in the image that corresponds to the crop body.
4. The crop body identification system according to any one of claims 1 to 3, characterized in that the processing device starts a process of assigning identification information to the crop bodies at the timing when the number of crop bodies contained in the image changes from 0 to 1 after the photographing device starts moving.
5. The crop body identification system according to any one of claims 1 to 3, characterized in that the processing device starts the process of assigning identification information to the crop body from the time when the photographing device starts moving and a specified object placed near the crop row is photographed in the image.
6. The crop body identification system according to any one of claims 1 to 3, characterized in that the processing device corrects the number of crop bodies included in the first image based on the positions of one or more crop bodies included in the first image.
7. The imaging device simultaneously images a plurality of crop rows; The crop body identification system according to any one of claims 1 to 3, characterized in that the processing device corrects the number of crop bodies of a first crop row included in the first image based on the number of crop bodies of other crop rows.
8. 4. The crop plant identification system according to claim 1, wherein a distance traveled by the image capturing device during an interval for capturing images is shorter than a planting interval of the crop plants.
9. The crop body identification system according to any one of claims 1 to 3, characterized in that the processing device estimates the position of the photographing device based on identification information assigned to the crop body included in the first image.
10. Acquiring images captured by an image capture device that moves along a crop row in which a plurality of crop bodies are lined up and repeatedly captures images of a portion of the crop row; Identifying the number of crop bodies contained in the acquired image; assigning identification information to the crop bodies included in the first image based on a difference between the number of crop bodies included in the first image and the number of crop bodies included in an image captured immediately before the first image; A crop identification program that causes a computer to execute a process.
11. Acquiring images captured by an image capture device that moves along a crop row in which a plurality of crop bodies are lined up and repeatedly captures images of a portion of the crop row; Identifying the location of the crop body in the acquired image; assigning identification information to the crop body included in the first image based on a difference between a position of the crop body included in the first image and a position of the crop body included in an image captured immediately before the first image; A crop identification program comprising:
Citation Information
Patent Citations
Farm product monitoring method, farm product monitoring system, and farm product monitoring device
JP2011192022A
Plant cultivation apparatus
JP2021065166A
Target device for three-dimensional measurement of crop and method for three-dimensional photographic measurement of crop
JP2021139749A
Movable body speed derivation device, work management device and method for deriving movable body speed
JP2022125700A
Leaf area calculation system of strawberry plant
JP2023034558A
