Cattle evaluation device and cattle evaluation method
The cattle evaluation device uses two-dimensional imaging to determine rumen size scores by calculating angles between straight lines, addressing variability and equipment limitations in existing methods, enabling accurate health assessments in diverse locations.
Patent Information
- Application Number
- JP2021041342
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-15
- Publication Date
- 2024-10-07
- Estimated Expiration
- 2041-03-15
AI Technical Summary
Existing methods for evaluating cattle health conditions, such as those using rumen size scores or three-dimensional imaging, suffer from variability in results due to human input or require specialized equipment, making them impractical for breeding sites.
A cattle evaluation device and method that uses a two-dimensional captured image to determine a rumen size score by extracting contour lines, identifying key points, and calculating angles between specific straight lines to accurately assess the health condition of cattle.
The method allows for precise determination of rumen size scores using a portable device, reducing variability and equipment requirements, enabling accurate health assessments in various settings.
Smart Images

Figure 0007562143000002 
Figure 0007562143000003 
Figure 0007562143000004
Abstract
Description
[Technical field]
[0001] The present invention relates to a cattle evaluation device and a cattle evaluation method. [Background technology]
[0002] A method using rumen size score as a method for evaluating the health condition of cows is known (for example, Non-Patent Document 1). In the method described in Non-Patent Document 1, veterinarians and dairy experts specify the rumen size score using a judgment sheet. With this method, each veterinarian or expert can obtain a stable evaluation of the rumen size score, but there is variation in the rumen size score between veterinarians and experts. Meanwhile, a method for evaluating the health condition of cows by image analysis using an RGB camera (for example, Patent Document 1) and a method for evaluating the health condition of cows based on three-dimensional images of the cow (for example, Patent Document 2) are known. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-173732 A [Patent Document 2] International Publication No. 2017 / 187719 [Non-patent literature]
[0004] [Non-Patent Document 1] "Application of rumen size score in dairy herd management," by Haruhisa Futamura, Gyuho Magazine, 2006, No. 34, p. 44-48 Summary of the Invention [Problem to be solved by the invention]
[0005] The method described in Patent Document 1 evaluates the health condition of cows using a line drawing that connects feature points on an image of the cow with a line. In the method described in Patent Document 1, a person inputs the line drawing on the image, so there is a risk that the evaluation results of the health condition will vary depending on the person who inputs it. In addition, the method described in Patent Document 2 calculates a score indicating the health condition of the cow using a three-dimensional image of the cow, so it is necessary to take an image at a specific location where large-scale equipment is installed, and it is difficult to apply it to a variety of breeding sites.
[0006] The present invention has been made in consideration of the above-mentioned problems, and aims to provide a cow evaluation device and a cow evaluation method that can accurately determine a cow's rumen size score using two-dimensional captured images. [Means for solving the problem]
[0007] The cow evaluation device of the present invention comprises an image acquisition unit that acquires a two-dimensional captured image of a cow in an upright position from approximately directly behind; an extraction unit that extracts the contour line of the cow from the captured image; a first determination unit that determines a first straight line that passes through a reference point obtained from the vertices of two peaks existing on both the left and right sides of the upper part of the contour line and a first point on the leftmost side of the contour line; a second determination unit that determines as a second straight line either a perpendicular line, a horizontal line, a line passing through a second point corresponding to the first point on the right half of the contour line and the reference point, a line passing through the vertices of the two peaks, or a line perpendicular to the line passing through the vertices of the two peaks; an angle acquisition unit that acquires the angle between the first line and the second line; and a score determination unit that determines the rumen size score of the cow depicted in the captured image from the angle acquired by the angle acquisition unit.
[0008] The cow evaluation device of the present invention comprises a first determination unit that determines a first straight line passing through a reference point near the anus of the cow and the vertex of the left abdominal part of a two-dimensional captured image of a cow in an upright position taken from approximately directly behind; a second determination unit that determines a second straight line which is either a perpendicular line, a horizontal line, a line passing through a point on the right abdominal part of the cow corresponding to the vertex of the left abdominal part and the reference point in the captured image, a line passing through the vertices of the left and right hip angles of the cow, or a line perpendicular to a line passing through the vertices of the left and right hip angles of the cow; an angle acquisition unit that acquires the angle made by the first line and the second line; and a score determination unit that determines the rumen size score of the cow captured in the captured image from the angle acquired by the angle acquisition unit. Effect of the Invention
[0009] According to the present invention, the rumen size score of a cow can be accurately determined using two-dimensional captured images. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram showing the configuration of a cattle evaluation device according to the first embodiment. [Diagram 2] FIG. 2 is a functional block diagram of the control unit in the first embodiment. [Diagram 3] FIG. 3 is an example of a captured image of a cow acquired by the image acquisition unit. [Figure 4] FIG. 4 is a diagram showing a process executed by the control unit in the first embodiment when identifying the lumen size score. [Diagram 5] Figures 5(a) to 5(c) are images of a cow with different ruminal fullness. [Figure 6] FIG. 6(a) to FIG. 6(c) are diagrams showing the relationship between the degree of fullness of the first stomach (rumen) and the angle acquired by the angle acquisition unit. [Figure 7] FIG. 7 shows the results of an experiment investigating the correlation between lumen size score and angle. [Figure 8] FIG. 8 is a flowchart showing an example of a method for determining a lumen size score in the first embodiment. [Figure 9] FIG. 9 is a diagram showing a process executed by the control unit in the second embodiment when identifying the lumen size score. [Figure 10] FIG. 10 is a diagram showing a process executed by the control unit in the third embodiment when identifying the lumen size score. [Figure 11] FIG. 11 is a diagram showing a process executed by the control unit in the fourth embodiment when identifying the lumen size score. [Figure 12] FIG. 12 is a functional block diagram of a control unit in the fifth embodiment. [Figure 13] FIG. 13 is a flowchart showing an example of a method for determining a lumen size score in the fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] First Embodiment A cow evaluation device 100 according to a first embodiment will be described below with reference to Figs. 1 to 8. Fig. 1 shows a block diagram of the configuration of the cow evaluation device 100 according to the first embodiment. The evaluation device 100 is, for example, a portable information device carried and used by a user. As the evaluation device 100, for example, a smartphone, a tablet computer, a PDA (Personal Digital Assistant), smart glasses, etc. can be adopted. In this first embodiment, the evaluation device 100 is a smartphone. The evaluation device 100 has a telephone function, an e-mail function, a communication function for connecting to the Internet, etc., and a data processing function for executing a program, etc.
[0012] As shown in FIG. 1, the cattle evaluation device 100 includes a display unit 12, an operation unit 14, a communication unit 16, an imaging unit 18, a memory unit 20, and a control unit 22.
[0013] The display unit 12 is, for example, an LCD (Liquid Crystal Display), and displays images, various information, and operation input images such as touch operation buttons.
[0014] The operation unit 14 includes a touch panel and a switch. The touch panel accepts information input in response to a user's touch, and transmits the accepted operation information to the control unit 22. The touch panel is incorporated in, for example, the display unit 12. Therefore, the touch panel accepts various information inputs in response to a user's touch on the surface of the display unit 12. The switch is an operation member that accepts an operation on the evaluation device 100 from the user, and transmits the accepted operation information to the control unit 22.
[0015] The communication unit 16 performs short-distance wireless communication (for example, Near Field Communication (NFC)) with other devices, and wireless communication (for example, communication using a mobile phone line or a wireless Local Area Network (LAN)) with other devices connected to a network.
[0016] The imaging unit 18 includes a lens, an imaging element, an image processing unit, etc., and captures images such as still images and videos. The imaging unit 18 captures images in response to an operator carrying the evaluation device 100 operating the operation unit 14. When evaluating the rumen size score of a cow, the operator uses the imaging unit 18 to capture an image of the cow in a standing position from approximately directly behind. Capturing an image from approximately directly behind means capturing an image in a range that captures the cow's left and right hip angles and left and right abdomens. Therefore, the operator captures an image, for example, from a position several meters (e.g., 1 m to 2 m) behind the cow up to the cow's feet, so that the left and right hip angles and left and right abdomens of the cow are captured.
[0017] The storage unit 20 is a non-volatile semiconductor memory such as a flash memory, and stores various types of information.
[0018] The control unit 22 includes a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), etc. The control unit 22 controls the entire evaluation device 100 by the CPU executing a program stored in the ROM or the like.
[0019] When evaluating a cow's rumen size score, the control unit 22 functions as an image acquisition unit 30, an extraction unit 32, a reference point identification unit 34, a first line determination unit 36, a second line determination unit 38, an angle acquisition unit 40, and a score identification unit 42, as shown in Figure 2, by the CPU executing a program stored in a ROM or the like.
[0020] Fig. 3 shows an example of a captured image 50 of a cow acquired by the image acquisition section 30. As shown in Fig. 3, the image acquisition section 30 acquires a captured image 50 in which a cow in a standing position is imaged from substantially directly behind. Note that Fig. 3 shows the captured image 50 after processing has been performed to remove background other than the cow from within the captured image 50 so that a contour line 60, which will be described later, can be extracted with high accuracy.
[0021] The captured image 50 of the cow acquired by the image acquisition section 30 may be an image captured by the imaging section 18, or may be an image captured by another device and received by the communication section 16. The captured image 50 of the cow may also be one stored in the storage section 20. The image acquisition section 30 may display the acquired captured image 50 of the cow on the display section 12. This allows the operator to visually recognize on the display section 12 the cow that will be evaluated for its rumen size score.
[0022] FIG. 4 shows an example of the process executed by the extraction unit 32, the reference point identification unit 34, the first straight line determination unit 36, the second straight line determination unit 38, and the angle acquisition unit 40 when identifying the rumen size score in the first embodiment. As shown in FIG. 4, the extraction unit 32 extracts a contour line 60 that traces the outline of the cow from the captured image 50 of the cow acquired by the image acquisition unit 30. The contour line 60 can be extracted using a generally known image processing technique. The extraction unit 32 may display an extracted captured image 51 that shows only the extracted contour line 60 of the cow on the display unit 12. This allows the operator to visually recognize on the display unit 12 the outline of the cow whose rumen size score is to be evaluated. The outer shape of the extracted captured image 51 is the same as that of the captured image 50, and the position of the cow relative to the frame of the image is the same in the extracted captured image 51 and the captured image 50.
[0023] The reference point identifying unit 34 identifies a reference point from the vertex 64a of the mountain 62a located on the left side of the upper part of the cow's contour line 60 and the vertex 64b of the mountain 62b located on the right side. The two mountain 62a, 62b correspond to the cow's hip angles. For example, the reference point identifying unit 34 identifies the midpoint of a line segment 66 connecting the vertex 64a of the mountain 62a and the vertex 64b of the mountain 62b as the reference point 68. The anus is located near the center between the left and right hip angles. Therefore, the reference point 68 is a point located near the anus.
[0024] The apex 64a of the mountain portion 62a and the apex 64b of the mountain portion 62b can be specified by the following method. For example, a first inclined straight line 80 inclined from the top to the bottom left in the extracted captured image 51 may be moved from the upper left end point 52 of the extracted captured image 51 toward the contour line 60, and the point where the first inclined straight line 80 first touches the contour line 60 may be specified as the apex 64a of the mountain portion 62a located on the left side. Similarly, a second inclined straight line 82 inclined from the top to the bottom right in the extracted captured image 51 may be moved from the upper right end point 54 of the extracted captured image 51 toward the contour line 60, and the point where the second inclined straight line 82 first touches the contour line 60 may be specified as the apex 64b of the mountain portion 62b located on the right side. The first inclined straight line 80 and the second inclined straight line 82 may be straight lines inclined, for example, by 30° to 60°, 40° to 50°, or 45° from the horizontal line in the extracted captured image 51. The first inclined straight line 80 and the second inclined straight line 82 may be inclined at an angle such that the lower sides of the peaks 62a, 62b are identified as the apexes 64a, 64b. Alternatively, a third inclined straight line inclined at a first predetermined angle from the top to the bottom left in the extracted captured image 51 may be moved from the upper left end point 52 toward the contour line 60 to identify a first point of contact, and a fourth inclined straight line inclined at a second predetermined angle may be moved from the upper left end point 52 toward the contour line 60 to identify a second point of contact, and a point on the contour line 60 located midway between the first and second points may be identified as the apex 64a of the peak 62a. Similarly, a fifth inclined straight line inclined at a third predetermined angle from the top to the bottom right in the extracted captured image 51 may be moved from the upper right end point 54 toward the contour line 60 to identify a third point where the fifth inclined straight line first contacts the contour line 60, and a sixth inclined straight line inclined at a fourth predetermined angle may be moved from the upper right end point 54 toward the contour line 60 to identify a fourth point where the sixth inclined straight line first contacts the contour line 60, and a point located at the center between the third and fourth points on the contour line 60 may be identified as the apex 64b of the mountain portion 62b. The first and third predetermined angles may be 15° to 30° from the horizontal line in the extracted captured image 51, and the second and fourth predetermined angles may be 60° to 75° from the horizontal line in the extracted captured image 51. The extracted captured image 51 may be converted into an XY coordinate system, and the apexes 64a and 64b of the two mountain portions 62a and 62b may be identified from the X and Y coordinates of each pixel of the extracted captured image 51.The apex 64a of the peak 62a may be the point on the contour 60 that is the shortest distance from the upper left end point 52 of the extracted captured image 51, and the apex 64b of the peak 62b may be the point on the contour 60 that is the shortest distance from the upper right end point 54 of the extracted captured image 51. Alternatively, the apex of either the peak 62a or the peak 62b may be specified by any of the above methods, and the point where a horizontal line in the extracted captured image 51 that passes through the specified apex intersects with the contour 60 of the other peak may be specified as the apex of the other peak.
[0025] The first line determination unit 36 determines a first line 74 passing through the reference point 68 and the leftmost point 70 of the contour line 60. For example, the extracted captured image 51 is converted into an XY coordinate system with the lower left end point 56 as the origin, and the first line 74 expressed as y=ax+b is determined. The leftmost point 70 of the contour line 60 can be specified by the following method. For example, a perpendicular line in the extracted captured image 51 may be moved from the left side of the contour line 60 toward the contour line 60, and the point where the perpendicular line first touches the contour line 60 may be specified as the leftmost point 70 of the contour line 60. Alternatively, the extracted captured image 51 may be converted into an XY coordinate system, and the leftmost point 70 of the contour line 60 may be specified from the X and Y coordinates of each pixel of the extracted captured image 51. The first stomach (rumen) is present in the left abdominal area of a cow. Therefore, the abdominal area does not expand symmetrically due to feeding, and the position of the point 70 changes depending on the expansion of the first stomach (rumen).
[0026] The second line determination unit 38 determines a second line 76 passing through a point 72 located in the right half of the contour 60 and corresponding to the point 70, and the reference point 68. For example, the extracted captured image 51 is converted into an XY coordinate system with the lower left end point 56 as the origin, and the second line 76 expressed as y=a'x+b' is determined. The point 72 may be determined by, for example, determining the point 72 corresponding to the point 70 as a point where a horizontal line in the extracted captured image 51 passing through the point 70 intersects with the contour 60 in the right half. Alternatively, the rightmost point of the contour 60 may be determined as the point 72. The rightmost point can be determined using a method similar to the method for determining the leftmost point 70 described above.
[0027] The angle acquisition unit 40 acquires the angle α between the first line 74 determined by the first line determination unit 36 and the second line 76 determined by the second line determination unit 38. The angle α is, for example, an angle located above and below the reference point 68 among multiple angles formed by the intersection of the first line 74 and the second line 76.
[0028] The score determination unit 42 determines the lumen size score from the angle α acquired by the angle acquisition unit 40.
[0029] Here, the rumen size score is an index of the health of a cow, and evaluates the fullness of the first stomach (rumen). Cows with healthy rumen intake a lot of dry matter, and therefore the first stomach (rumen) becomes more bulging. Since the first stomach (rumen) is located in the left abdomen, the greater the bulge of the first stomach (rumen) becomes, the greater the left abdominal protrusion. The rumen size score evaluates the degree of this left abdominal protrusion from the relative shape of the entire abdomen when the cow is viewed from directly behind while standing.
[0030] Figures 5(a) to 5(c) are images 50a to 50c of cows with different assumed fullness levels of the first stomach (rumen). Figure 5(a) is an image 50a of a cow with a low degree of fullness of the first stomach (rumen), Figure 5(b) is an image 50b of a cow with a higher degree of fullness of the first stomach (rumen) than in Figure 4(a), and Figure 5(c) is an image 50c of a cow with an even higher degree of fullness of the first stomach (rumen).
[0031] 6(a) to 6(c) are diagrams showing the relationship between the fullness of the first stomach (rumen) and the angle α acquired by the angle acquisition unit 40. In FIG. 6(a) to 6(c), extracted captured images 51a to 51c are shown in which the contour line 60 of the cow is extracted from the captured images 50a to 50c of the cow shown in FIG. 5(a) to 5(c). As shown in FIG. 6(a) to 6(c), the higher the fullness of the first stomach (rumen), the greater the protrusion of the left abdominal region, and therefore the larger the angle α. Therefore, it is considered that the fullness of the first stomach (rumen) can be evaluated and the rumen size score can be determined by determining the angle α.
[0032] Therefore, an experiment was conducted to investigate the correlation between the rumen size score determined by an expert using the assessment sheet described in Non-Patent Document 1 and the magnitude of the angle α determined using the captured image 50 of the cow. The experiment was conducted on dairy cows (Holstein breed).
[0033] Figure 7 shows the results of an experiment investigating the correlation between the rumen size score and the angle α determined from the captured image 50 of the cow. The horizontal axis (X-axis) of Figure 7 is the rumen size score determined by an expert using a judgment sheet, and the vertical axis (Y-axis) is the angle α determined from the captured image 50 of the cow. The multiple black circles in Figure 7 represent each of the dairy cows in the experiment, and the dotted straight line is an approximation line. As shown in Figure 7, the larger the angle α, the higher the rumen size score. The approximation line (dotted straight line) was found to be y = 4.2352x + 67.248, and the coefficient of determination R 2 The rumen size score was 0.7292. This confirmed that there is a strong correlation between the rumen size score and the angle α. Note that Figure 7 shows the experimental results for dairy cows, but it is thought that the same results would be obtained for beef cattle, which have a similar skeletal structure to dairy cows.
[0034] 2 identifies the rumen size score of the cow captured in the captured image 50 from the angle α acquired by the angle acquisition unit 40. The score identification unit 42 identifies the rumen size score from the angle α using score information stored in the storage unit 20, in which the angle and the rumen size score are associated with each other.
[0035] Table 1 shows an example of score information stored in the storage unit 20. As shown in Table 1, in the score information, angles and lumen size scores are associated with each other. For example, when the angle is less than a°, the lumen size score is 1.00, and when the angle is equal to or greater than a° and less than b°, the lumen size score is 1.50. In Table 1, the lumen size scores are in increments of 0.25 between 2.00 and 4.00, and in increments of 0.50 otherwise, but other cases are also possible. For example, the increments may be 0.25 or 0.50 in all ranges. [Table 1]
[0036] The score information stored in the storage unit 20 may be other than the score information shown in Table 1, as long as it is information that associates the angle with the lumen size score. For example, a linear function (y=ax+b) such as the approximate straight line shown in Fig. 7 may be stored in the storage unit 20 as the score information. In this case, the lumen size score may be determined by performing fractional processing such as rounding off, rounding up, or rounding down on the value of x obtained by substituting the angle for y.
[0037] Next, an example of a method for specifying a lumen size score will be described with reference to the flowchart of Fig. 8. The process of Fig. 8 is executed by the control unit 22 of the evaluation device 100. Note that, as a prerequisite for this process, it is assumed that an application for specifying a lumen size score (score specifying application) has been installed. Also, it is assumed that the storage unit 20 stores score information such as that shown in Table 1 as an example.
[0038] 8, first, in step S10, the image acquisition unit 30 of the control unit 22 waits until the score identification application is started. In this case, when the control unit 22 starts the score identification application in response to an operation by the operator (for example, an input to the operation unit 14 or a voice input to a microphone (not shown)), the process proceeds to step S12.
[0039] When the process proceeds to step S12, the image acquisition unit 30 acquires an image 50 of the cow to be evaluated for the rumen size score. As described above, the image 50 of the cow is an image of the cow in an upright position captured from approximately directly behind the cow. For example, the image acquisition unit 30 acquires an image of the cow captured by the operator using the image capture unit 18, an image of the cow received from another device via the communication unit 16, or an image of the cow selected by the operator by operating the operation unit 14 from among a plurality of images of the cow stored in the storage unit 20. Note that the image acquisition unit 30 may start a camera function so that the operator can capture an image of the cow using the image capture unit 18 after the score identification app is started. In this case, the image of the captured cow and a selection button asking whether or not to select this image may be displayed on the display unit 12, and if the operator chooses not to select the image, the camera function may be started again.
[0040] In step S14, the extraction unit 32 of the control unit 22 extracts a contour line 60 that traces the outline of the cow from the captured image 50 of the cow acquired in step S12. When extracting the contour line 60, the extraction unit 32 may perform a process of removing background other than the cow in the captured image 50 in order to extract the contour line 60 with good accuracy.
[0041] Next, in step S16, the reference point identification unit 34 of the control unit 22 identifies a reference point 68 from the vertices 64a, 64b of two peaks 62a, 62b that exist on both the left and right sides of the upper part of the contour line 60. For example, as described above, the reference point identification unit 34 moves the first inclined straight line 80 and the second inclined straight line 82 that are inclined obliquely in the extracted captured image 51 closer to the contour line 60, and identifies the points that first touch the contour line 60 as the vertices 64a, 64b of the peaks 62a, 62b. Then, the reference point identification unit 34 identifies the midpoint of the line segment 66 that connects the vertices 64a, 64b of the two peaks 62a, 62b as the reference point 68.
[0042] If the reference point identification unit 34 determines that the acquired captured image 50 is not suitable for identifying the lumen size score, for example, when the line segment 66 is inclined at a predetermined angle or more with respect to the horizontal line in the extracted captured image 51 (or the frame of the extracted captured image 51), the reference point identification unit 34 may display a message on the display unit 12 or output a sound to prompt the operator to reacquire the captured image 50. In this case, the process will be executed again from step S12.
[0043] Next, in step S18, the first line determination unit 36 of the control unit 22 determines a first line 74 passing through the reference point 68 and the leftmost point 70 of the contour line 60. For example, as described above, the first line determination unit 36 moves a perpendicular line in the extracted captured image 51 closer to the contour line 60 from the left side of the contour line 60, and identifies the point where the perpendicular line first touches the contour line 60 as the leftmost point 70. Then, the first line determination unit 36 determines the first line 74 passing through the reference point 68 and the leftmost point 70.
[0044] Next, in step S20, the second line determination unit 38 of the control unit 22 determines a second line 76 passing through a point 72 in the right half of the contour line 60 corresponding to the leftmost point 70 of the contour line 60 and the reference point 68. For example, as described above, the second line determination unit 38 specifies as point 72 the point at which a horizontal line in the extracted captured image 51 that passes through point 70 intersects with the right half of the contour line 60. Then, the second line determination unit 38 determines the second line 76 that passes through point 72 and the reference point 68.
[0045] Next, in step S22, the angle acquisition unit 40 of the control unit 22 acquires the angle α between the first straight line 74 determined in step S18 and the second straight line 76 determined in step S20.
[0046] Next, in step S24, the score specifying unit 42 of the control unit 22 specifies the rumen size score of the cow depicted in the captured image 50 from the angle α acquired in step S22 and score information such as Table 1 stored in the memory unit 20. Next, in step S26, the score specifying unit 42 displays the rumen size score specified in step S24 on the display unit 12 and stores it in the memory unit 20. For example, the score specifying unit 42 may display the rumen size score on the display unit 12 together with the captured image 50 of the cow. Furthermore, the score specifying unit 42 may store in the memory unit 20 the individual identification number of the cow for which the rumen size score has been specified, the captured image 50 of the cow, the image capture date, and the rumen size score of the cow as a single piece of associated information.
[0047] As described above, according to the first embodiment, the image acquisition unit 30 acquires a two-dimensional captured image 50 of a cow in a standing position captured from almost directly behind. The extraction unit 32 extracts the cow's contour line 60 from the captured image 50 acquired by the image acquisition unit 30. The first line determination unit 36 determines a first line 74 passing through a reference point 68 obtained from vertices 64a, 64b of two peaks 62a, 62b present on both the left and right sides of the upper part of the contour line 60 and a leftmost point 70 (first point) of the contour line 60. The second line determination unit 38 determines a second line 76 passing through a point 72 (second point) corresponding to the point 70 in the right half of the contour line 60 and the reference point 68. Then, the angle acquisition unit 40 acquires the angle α formed by the first line 74 and the second line 76. The score determination unit 42 determines the rumen size score of the cow captured in the captured image 50 from the angle α acquired by the angle acquisition unit 40. In this way, in the first embodiment, the control unit 22 determines the first straight line 74 and the second straight line 76, acquires the angle α between these straight lines, and determines the rumen size score from the acquired angle α, so that the rumen size score can be determined with high accuracy. In addition, since the rumen size score is determined from the angle α, which is angle information having similarity on a two-dimensional image, it is less affected by the size of the cow captured in the captured image 50, and the rumen size score can be determined well without performing processing such as normalization. Furthermore, since the rumen size score is determined based on the two-dimensional captured image 50 captured from almost directly behind the cow in an upright position, the rumen size score can be determined by a simple evaluation device 100 such as a smartphone, which is highly portable and versatile, compared to when the rumen size score is determined based on a three-dimensional image of the cow.
[0048] In the first embodiment, the reference point identifying unit 34 identifies the midpoint of a line segment 66 connecting the vertices 64a, 64b of the mountain portions 62a, 62b on both the left and right sides of the upper part of the contour line 60 as the reference point 68. The reference point 68 thus identified is located near the anus of the cow. A first straight line 74 passing through the reference point 68 located near the anus and a point 70 located on the leftmost side of the contour line 60 and corresponding to the vertex of the left abdominal region is set as a reference line, and the rumen size score is identified from the angle α formed by the first straight line 74 and the second straight line 76, which are the reference lines, thereby enabling a more accurate identification of the rumen size score. In FIG. 4 and the like, the line segment 66 is almost horizontal in the extracted captured image 51, but may not be horizontal depending on the positions of the vertices 64a, 64b of the mountain portions 62a, 62b. Depending on how the vertices 64a, 64b are obtained, the line segment 66 may be slightly shifted in the vertical direction from FIG. 4. However, even if the line segment 66 is slightly inclined, the position of the reference point 68 hardly changes, and even if the line segment 66 is slightly shifted up or down, the value of the angle α hardly changes, so there is almost no effect on the accuracy of determining the lumen size score.
[0049] In the first embodiment, the peaks 62a, 62b on both the left and right sides of the upper part of the contour line 60 correspond to the cow's hip angle. By obtaining the reference point 68 from the vertices 64a, 64b (vertices of the parts corresponding to the cow's hip angle) of such peaks 62a, 62b, the reference point 68 will be located near the cow's anus, regardless of whether the cow is fat or thin. Therefore, as described above, it is possible to specify the rumen size score more accurately.
[0050] In the first embodiment, the apex 64a of the mountain portion 62a on the left side of the upper part of the contour line 60 can be set as the point on the contour line 60 that is the shortest distance from the upper left end point 52 of the extracted captured image 51. The apex 64b of the mountain portion 62b on the right side of the upper part of the contour line 60 can be set as the point on the contour line 60 that is the shortest distance from the upper right end point 54 of the extracted captured image 51. In the captured image 50 in which a cow in a standing position is captured from almost directly behind, the apex 64a of the mountain portion 62a and the apex 64b of the mountain portion 62b correspond to the apex of the cow's hip angle. Therefore, by obtaining the reference point 68 from the apexes 64a and 64b of the mountain portions 62a and 62b, the reference point 68 is located near the cow's anus, and as described above, it is possible to specify the rumen size score more accurately.
[0051] Second Embodiment The configuration of the cow evaluation device according to the second embodiment is the same as the configuration of the cow evaluation device 100 according to the first embodiment in Fig. 1, and therefore will not be illustrated or described again. In the second embodiment, the second straight line identified by the second straight line determination unit 38 and the angle acquired by the angle acquisition unit 40 in the functional block diagram of Fig. 2 are different from those in the first embodiment.
[0052] FIG. 9 shows an example of the process executed by the extraction unit 32, the reference point identification unit 34, the first line determination unit 36, the second line determination unit 38, and the angle acquisition unit 40 when identifying the lumen size score in the second embodiment. The process of the extraction unit 32, the reference point identification unit 34, and the first line determination unit 36 is the same as that in the first embodiment, and therefore the description will be omitted. As shown in FIG. 9, the second line determination unit 38 determines a horizontal line in the extracted captured image 51 (a straight line parallel to the outline line extending in the horizontal direction of the extracted captured image 51, i.e., a straight line connecting the upper left end point 52 and the upper right end point 54) as the second line 76a. In the second embodiment, the second line 76a passes through the leftmost point 70 of the contour line 60, but may not pass through the point 70. The angle acquisition unit 40 acquires the angle β formed by the first line 74 and the second line 76a. The angle β is, for example, an angle located to the upper right or lower left of the point 70 among a plurality of angles formed by the intersection of the first straight line 74 and the second straight line 76a.
[0053] An example of the method for specifying the lumen size in the second embodiment is similar to the flowchart in FIG. 8, and therefore will not be illustrated or described.
[0054] According to the second embodiment, the first line determination unit 36 determines a first line 74 that connects the reference point 68 and the leftmost point 70 of the contour line 60. The second line determination unit 38 determines a horizontal line in the extracted captured image 51 as the second line 76a. The angle acquisition unit 40 acquires an angle β between the first line 74 and the second line 76a. The score specification unit 42 specifies the rumen size score of the cow captured in the captured image 50 from the angle β acquired by the angle acquisition unit 40. The leftmost point 70 of the contour line 60 corresponds to the apex of the left abdominal region of the cow, and therefore its position varies depending on the degree of fullness of the first stomach (rumen). Therefore, the angle β between the first line 74 that passes through such point 70 and the reference point 68 and the second line 76a, which is a horizontal line, changes depending on the degree of fullness of the first stomach (rumen). Therefore, by determining the rumen size score from the angle β, the rumen size score can be determined with high accuracy, as in the first embodiment. Also, since the second straight line 76a is a horizontal line in the extracted captured image 51, the second straight line 76a can be easily determined and the angle β can also be easily obtained. Note that, contrary to the angle α in the first embodiment, the angle β becomes smaller as the degree of fullness of the first stomach (rumen) increases.
[0055] Third embodiment The configuration of the cow evaluation device according to the third embodiment is the same as the configuration of the cow evaluation device 100 according to the first embodiment in Fig. 1, and therefore will not be illustrated or described again. In the third embodiment, the second straight line identified by the second straight line determination unit 38 and the angle acquired by the angle acquisition unit 40 in the functional block diagram of Fig. 2 are different from those in the first embodiment.
[0056] FIG. 10 shows an example of the process executed by the extraction unit 32, the reference point identification unit 34, the first line determination unit 36, the second line determination unit 38, and the angle acquisition unit 40 when identifying the lumen size score in the third embodiment. The process of the extraction unit 32, the reference point identification unit 34, and the first line determination unit 36 is the same as that in the first embodiment, and therefore the description will be omitted. As shown in FIG. 10, the second line determination unit 38 determines a perpendicular line in the extracted captured image 51 (a straight line parallel to the outline line extending in the vertical direction of the extracted captured image 51, i.e., the straight line connecting the upper left end point 52 and the lower left end point 56) as the second line 76b. In the third embodiment, the second line 76b passes through the reference point 68, but may not pass through the reference point 68. The angle acquisition unit 40 acquires the angle γ formed by the first line 74 and the second line 76b. The angle γ is, for example, an angle on the lower left or upper right side with respect to the reference point 68 among a plurality of angles formed by the intersection of the first straight line 74 and the second straight line 76b.
[0057] An example of the method for specifying the lumen size in the third embodiment is similar to the flowchart in FIG. 8, and therefore will not be illustrated or described.
[0058] According to the third embodiment, the first line determination unit 36 determines the first line 74 connecting the reference point 68 and the leftmost point 70 of the contour line 60. The second line determination unit 38 determines the perpendicular line in the extracted captured image 51 as the second line 76b. The angle acquisition unit 40 acquires the angle γ between the first line 74 and the second line 76b. The score specification unit 42 specifies the rumen size score of the cow captured in the captured image 50 from the angle γ acquired by the angle acquisition unit 40. The leftmost point 70 of the contour line 60 corresponds to the apex of the left abdominal region of the cow, and therefore its position varies depending on the degree of fullness of the first stomach (rumen). Therefore, the angle γ between the first line 74 passing through such point 70 and the reference point 68 and the second line 76b, which is a perpendicular line, changes depending on the degree of fullness of the first stomach (rumen). Therefore, by determining the lumen size score from the angle γ, the lumen size score can be determined with high accuracy, as in the first embodiment. In addition, since the second straight line 76a is a horizontal line in the extracted captured image 51, the second straight line 76a can be easily determined, and the angle β can also be easily obtained.
[0059] In the above third embodiment, the second straight line 76b is a perpendicular line in the extracted captured image 51, but the second straight line 76b may be a straight line perpendicular to the line passing through the apex 64a of the peak 62a and the apex 64b of the peak 62b. In this case, even if the cow is captured at a slight angle with respect to the angle of view, the influence of this can be suppressed and the lumen size score can be determined.
[0060] Fourth embodiment The configuration of the cow evaluation device according to the fourth embodiment is the same as the configuration of the cow evaluation device 100 according to the first embodiment in Fig. 1, and therefore will not be illustrated or described again. In the fourth embodiment, the second straight line identified by the second straight line determination unit 38 and the angle acquired by the angle acquisition unit 40 in the functional block diagram of Fig. 2 are different from those in the first embodiment.
[0061] FIG. 11 shows an example of the processing executed by the extraction unit 32, the reference point identification unit 34, the first straight line determination unit 36, the second straight line determination unit 38, and the angle acquisition unit 40 when identifying the lumen size score in the fourth embodiment. The processing of the extraction unit 32, the reference point identification unit 34, and the first straight line determination unit 36 is the same as that of the first embodiment, and therefore the description will be omitted. As shown in FIG. 11, the second straight line determination unit 38 determines a straight line passing through the vertices 64a and 64b of the peaks 62a and 62b as the second straight line 76c. The angle acquisition unit 40 acquires an angle σ formed by the first straight line 74 and the second straight line 76c. The angle σ is, for example, an angle on the lower left or upper right side with respect to the reference point 68 among a plurality of angles formed by the intersection of the first straight line 74 and the second straight line 76c.
[0062] An example of the method for specifying the lumen size in the fourth embodiment is similar to the flowchart in FIG. 8, and therefore will not be illustrated or described.
[0063] According to the fourth embodiment, the first line determination unit 36 determines a first line 74 connecting the reference point 68 and the leftmost point 70 of the contour line 60. The second line determination unit 38 determines a line passing through the apexes 64a and 64b of the mountain portions 62a and 62b as the second line 76c. The angle acquisition unit 40 acquires an angle σ formed by the first line 74 and the second line 76c. The score specification unit 42 specifies the rumen size score of the cow captured in the captured image 50 from the angle σ acquired by the angle acquisition unit 40. The leftmost point 70 of the contour line 60 corresponds to the apex of the left abdominal region of the cow, and therefore its position varies depending on the degree of fullness of the first stomach (rumen). Therefore, the angle σ formed by the first line 74 passing through such point 70 and the reference point 68 and the second line 76c changes depending on the degree of fullness of the first stomach (rumen). Therefore, by identifying the lumen size score from the angle σ, the lumen size score can be identified in the same manner as in the first embodiment. In addition, since the second straight line 76c is a straight line passing through the apexes 64a and 64b of the peaks 62a and 62b, it can be identified at the same time as identifying the line segment 66. This simplifies the process of identifying the second straight line 76c.
[0064] Fifth embodiment In the first to fourth embodiments, the control unit 22 automatically specifies the reference point 68 and the leftmost point 70 of the contour line 60, but in the fifth embodiment, a case where the operator specifies them will be described. The configuration of the cattle evaluation device according to the fifth embodiment is the same as the configuration of the cattle evaluation device 100 according to the first embodiment in FIG. 1, so illustration and description are omitted. FIG. 12 is a functional block diagram showing the functions executed by the control unit 22 when evaluating the rumen size of a cattle in the fifth embodiment. In the fifth embodiment, the control unit 22 functions as an image acquisition unit 30, a first straight line determination unit 36, a second straight line determination unit 38, an angle acquisition unit 40, and a score determination unit 42 when evaluating the rumen size score of a cattle.
[0065] 13 is a flowchart showing an example of a method for specifying a lumen size score in the fifth embodiment. In the fifth embodiment, as in the first embodiment, it is assumed that an application for specifying a lumen size score (score specifying application) is installed, and that score information such as that shown in Table 1 is stored in the storage unit 20 as an example.
[0066] 13, first, in step S30, the image acquisition unit 30 of the control unit 22 waits until the score specifying application is started. When the control unit 22 starts the score specifying application in response to an operation by the operator, the process proceeds to step S32.
[0067] When the process proceeds to step S32, the image acquisition unit 30 acquires a captured image 50 of the cow for which the rumen size score is to be evaluated. Next, in step S34, the image acquisition unit 30 displays the acquired captured image 50 of the cow on the display unit 12. This enables the operator to specify a reference point near the cow's anus, the apex of the left abdominal area, and the apexes of the left and right hip angles in the captured image 50 of the cow displayed on the display unit 12.
[0068] Next, in step S36, the first line determination unit 36 of the control unit 22 determines a first line passing through a reference point near the cow's anus and the apex of the left abdomen, which the operator specified by operating the operation unit 14. Next, in step S38, the second line determination unit 38 of the control unit 22 determines a second line, which is either a perpendicular line, a horizontal line, a line connecting a point on the right abdomen corresponding to the apex of the left abdomen and the reference point in the captured image 50, a line passing through the apexes of the left and right hip angles specified by the operator by operating the operation unit 14, or a line perpendicular to the line passing through the apexes of the left and right hip angles. The point on the right abdomen may be automatically specified by the second line determination unit 38, as in the first embodiment, or may be specified by the operator by operating the operation unit 14.
[0069] Next, in step S40, angle acquisition unit 40 of control unit 22 acquires the angle between the first line determined in step S36 and the second line determined in step S38. Next, in step S42, score determination unit 42 of control unit 22 identifies the rumen size score of the cow captured in captured image 50, from the angle acquired in step S40 and score information such as Table 1 stored in memory unit 20. Next, in step S44, score determination unit 42 displays the rumen size score acquired in step S42 on display unit 12, and stores it in memory unit 20.
[0070] According to the fifth embodiment, the operator specifies a reference point near the anus of the cow, a vertex of the left abdomen, and vertices of the left and right hip angles on the captured image 50 of the cow displayed on the display unit 12. The first line determination unit 36 determines a first line passing through the reference point near the anus of the cow and the vertex of the left abdomen. The second line determination unit 38 determines a second line which is either a perpendicular line, a horizontal line, a line passing through a point on the right abdomen corresponding to the vertex of the left abdomen and the reference point in the captured image 50, a line passing through the vertices of the left and right hip angles, or a line perpendicular to the line passing through the vertices of the left and right hip angles. The angle acquisition unit 40 acquires the angle between the first line and the second line. The score identification unit 42 identifies the rumen size score of the cow captured in the captured image 50 from the angle acquired by the angle acquisition unit 40. In this fifth embodiment, the operator specifies a reference point near the cow's anus and the vertex of the left abdominal region, but the first and second lines are determined by the control unit 22, and the rumen size score is determined from the angle between these lines determined by the control unit 22, so that the rumen size score can be determined with high accuracy.
[0071] In the fifth embodiment, the operator may specify the vertices of the left and right hip angles instead of specifying the reference point near the anus on the captured image 50 of the cow displayed on the display unit 12. In this case, the control unit 22 may specify, as the reference point, the midpoint of the line segment connecting the vertices of the left and right hip angles specified by the operator.
[0072] In the above embodiments, the evaluation device for identifying the rumen size score of the cow is a portable information device equipped with an image capturing unit 18 carried by the worker. However, other cases are also possible. For example, a stationary information device such as a server that can communicate with other devices connected to a network may be used. In this case, the worker transmits an image of the cow captured using a portable information device such as a smartphone to a stationary information device such as a server via a network. The stationary information device determines the first and second straight lines, obtains the angle between them, and identifies the rumen size score from the obtained angle. The stationary information device then transmits the identified rumen size score to a portable information device carried by the worker via a network. This reduces the load on the smartphone.
[0073] Although the embodiment of the present invention has been described in detail above, the present invention is not limited to such specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0074] 12 Display section 14 Control section 16 Communications Department 18 Imaging section 20 Memory section 22 Control section 30 Image acquisition unit 32 Extraction part 34 Reference point identification part 36 First straight line determination section 38 Second Line Determination Section 40 Angle acquisition section 42 Score Identification Section 50, 50a, 50b, 50c Image capture 51, 51a, 51b, 51c Extracted images 52 Upper left end point 54 Upper right end point 56 Lower left end point 60 Contour 62a, 62b Mountain 64a, 64b Vertex 66 Line Segments 68 Reference point 70, 72 points 74 1st straight line 76, 76a, 76b, 76c 2nd straight line 80 1st slope straight line 82 2nd slope straight line 100 Evaluation Device
Claims
1. an image acquisition unit for acquiring a two-dimensional image of a cow in a standing position from substantially directly behind; an extraction unit that extracts a contour line of the cow from the captured image; a first determination unit that determines a first straight line passing through a reference point obtained from the apexes of two peaks present on both the left and right sides of an upper portion of the contour line and a first point on the leftmost side of the contour line; a second determination unit that determines, as a second straight line, any one of a vertical line, a horizontal line, a straight line passing through a second point corresponding to the first point in the right half of the contour line and the reference point in the captured image, a straight line passing through the apexes of the two peaks, and a straight line perpendicular to the straight line passing through the apexes of the two peaks; an angle acquisition unit that acquires an angle between the first straight line and the second straight line; A cow evaluation device comprising: a score determination unit that determines the rumen size score of the cow captured in the captured image from the angle acquired by the angle acquisition unit.
2. The cow evaluation device according to claim 1 , further comprising a reference point identification unit that identifies the midpoint of a line segment connecting the vertices of the two peaks as the reference point.
3. 3. The cattle evaluation device according to claim 1, wherein the two peaks correspond to the hip angles of the cattle.
4. the apex of the mountain portion on the left side is a point on the contour line that is the shortest distance from an upper left end point of the captured image, 4. A cow evaluation device according to claim 1, wherein the apex of the mountain portion on the right side is the point on the contour line that is the shortest distance from the upper right corner point of the captured image.
5. a first determination unit that determines a first straight line passing through a reference point near the anus of the cow and a vertex of the left abdomen in a two-dimensional captured image of the cow in an upright position captured from substantially directly behind the cow; A second determination unit that determines a second straight line, which is any one of a vertical line, a horizontal line, a straight line passing through a point on the right abdomen of the cow corresponding to the vertex of the left abdomen and the reference point in the captured image, a straight line passing through the vertices of the left and right hip angles of the cow, or a straight line perpendicular to the straight line passing through the vertices of the left and right hip angles of the cow; an angle acquisition unit that acquires an angle between the first line and the second line; A cow evaluation device comprising: a score determination unit that determines the rumen size score of the cow captured in the captured image from the angle acquired by the angle acquisition unit.
6. 6. The cattle evaluation device according to claim 5, further comprising a reference point identification unit that identifies the midpoint of a line segment connecting the vertices of the left and right hip angles of the cattle in the captured image as the reference point.
7. The cattle evaluation device according to claim 1 , further comprising an imaging unit that images the cattle.
8. A contour line of a cow is extracted from a two-dimensional image of the cow taken from directly behind the cow in a standing position; determining a first straight line passing through a reference point obtained from the apexes of two peaks present on both the left and right sides of the upper portion of the extracted contour line and a first point on the leftmost side of the contour line; determining, as a second straight line, any one of a vertical line, a horizontal line, a straight line passing through a second point corresponding to the first point in the right half of the contour line and the reference point in the captured image, a straight line passing through the vertices of the two peaks, and a straight line perpendicular to the straight line passing through the vertices of the two peaks; Obtaining an angle between the first straight line and the second straight line that have been determined; Identifying the rumen size score of the cow captured in the captured image from the acquired angle. A method for evaluating cattle, characterized in that processing is carried out by a computer.
9. determining a first straight line passing through a reference point near the anus of the cow and a vertex of the left abdomen in a two-dimensional captured image of the cow in an upright position captured from substantially directly behind the cow; A second straight line is determined, which is either a vertical line, a horizontal line, a straight line passing through a point on the right abdomen of the cow corresponding to the vertex of the left abdomen and the reference point in the captured image, a straight line passing through the vertices of the left and right hip angles of the cow, or a straight line perpendicular to the straight line passing through the vertices of the left and right hip angles of the cow; The angle between the first and second straight lines is obtained; Identifying the rumen size score of the cow captured in the captured image from the acquired angle. A method for evaluating cattle, characterized in that processing is carried out by a computer.
Citation Information
Patent Citations
Apparatus and method for determining a score for the physical condition of an animal
JP2012510278A
Management method, management program, management device and management system
JP2015173732A
Evaluation device, evaluation method and evaluation program of body condition score of cow
JP2019187277A
Improved method and relevant apparatus for the determination of the body condition score, body weight and state of fertility
US20180042584A1
Health condition estimation device
WO2017187719A1
