EVALUATION APPARATUS, EVALUATION METHOD, EVALUATION PROGRAM, AND RECORDING MEDIUM
The evaluation device accurately assesses livestock locomotor functions by analyzing whole-body skeletal information from camera images, addressing invasiveness and accuracy issues in existing methods.
Patent Information
- Application Number
- JP2022118868
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-09-10
- Filing Date
- 2022-07-26
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2042-07-26
AI Technical Summary
Existing technologies for evaluating locomotor functions in livestock are invasive and lack accuracy, as they often require markers or focus solely on limbs, neglecting the whole-body skeletal condition.
An evaluation device that uses a camera to capture images of livestock, detects skeletal information, extracts posture information, and evaluates musculoskeletal function without markers, considering the whole-body skeletal condition.
Enables non-invasive, accurate evaluation of locomotor functions by analyzing the whole-body posture, allowing for early detection of musculoskeletal diseases such as lameness and other abnormalities.
Smart Images

Figure 0007553971000002 
Figure 0007553971000007 
Figure 0007553971000015
Abstract
Description
[Technical field]
[0001] The present invention relates to an evaluation device, an evaluation method, an evaluation program, and a recording medium. [Background technology]
[0002] Musculoskeletal disease is one of the main causes of death and injury accidents in cattle. Musculoskeletal disease not only requires medical expenses, but is also known to cause a decline in cattle reproductive performance and a decrease in milk yield. Therefore, in order to stabilize livestock management, it is desirable to detect musculoskeletal disease early and lead to early treatment. However, with the recent increase in the size of cattle herds and the decrease in the number of livestock workers, it has become difficult to allocate sufficient observation time to each individual cattle to detect musculoskeletal disease. Technologies described in Patent Document 1 and Non-Patent Documents 1 to 9 are known as technologies that can solve such problems and detect musculoskeletal disease.
[0003] Patent Document 1 and Non-Patent Document 1 describe a technique for evaluating locomotor function based on images taken of livestock while the livestock is walking on a treadmill after markers are fixed to the livestock's head, back, limb joints, etc. Non-Patent Documents 2 to 4 describe a technique for evaluating locomotor function by processing images of livestock and extracting limb movements without fixing markers to the livestock Non-Patent Documents 5 and 6 describe a technique for evaluating motor function by processing images of livestock and extracting the dorsal line (the line connecting the shoulder, back, and ridge). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2003-228701 A [Non-patent literature]
[0005] [Non-Patent Document 1] Flower et al., J Dairy Sci 88:3166-3173, 2005 [Non-Patent Document 2] Song et al., Comput Electron Agric, 64:39-44, 2008 [Non-Patent Document 3] Zhao et al., Comput Electron Agric, 148:226-236, 2018 [Non-Patent Document 4] Wu et al., Biosyst Eng, 189:150-163, 2020 [Non-Patent Document 5] Poursaberi et al., Comput Electron Agric, 74:110-119, 2010 [Non-Patent Document 6] Jabbar et al., Biosyst Eng, 153:63-69, 2017 Summary of the Invention [Problem to be solved by the invention]
[0006] As described above, various techniques capable of evaluating the musculoskeletal function of livestock have been developed, but there is a need for the development of techniques that are less invasive and can evaluate musculoskeletal function with high accuracy. The techniques described in Patent Document 1 and Non-Patent Document 1 require markers to be fixed to livestock. The techniques described in Non-Patent Documents 2 to 4 evaluate only the limbs, and each limb is used as a whole for analysis, so the accuracy of the evaluation of musculoskeletal function is questionable. The techniques described in Non-Patent Documents 5 and 6 evaluate based on the dorsal line, and the state of the limbs is not taken into account, so the accuracy of the evaluation of musculoskeletal function is questionable.
[0007] One aspect of the present invention has been made to solve the above-mentioned problems, and its purpose is to realize a technique capable of evaluating musculoskeletal function. [Means for solving the problem]
[0008] An evaluation device according to one aspect of the present invention is an evaluation device for evaluating the posture of livestock, the evaluation device including an acquisition unit that acquires an image of the livestock captured by a camera, and a skeletal device that represents the skeleton of the livestock in the image. The system includes a detection unit that detects information, an extraction unit that refers to the skeletal information and extracts posture information representing the posture of the livestock, and an evaluation unit that refers to the posture information and evaluates the posture of the livestock.
[0009] An evaluation method according to one aspect of the present invention is a method for evaluating the posture of livestock, and includes an acquisition step of acquiring an image of the livestock captured using a camera, a detection step of detecting skeletal information representing the skeleton of the livestock in the image, an extraction step of extracting posture information representing the posture of the livestock by referring to the skeletal information, and an evaluation step of evaluating the posture of the livestock by referring to the posture information.
[0010] The evaluation device according to each aspect of the present invention may be realized by a computer. In this case, the evaluation program for the evaluation device, which causes the computer to operate as each unit (software element) of the evaluation device, thereby realizing the evaluation device on the computer, and the computer-readable recording medium on which the evaluation program is recorded, also fall within the scope of the present invention. Effect of the Invention
[0011] According to one aspect of the present invention, a technique capable of evaluating musculoskeletal function can be realized. [Brief description of the drawings]
[0012] [Figure 1] 1 is a block diagram showing a configuration of a main part of an evaluation device according to an embodiment of the present invention. [Diagram 2] FIG. 11 is a diagram showing an example of skeletal information. [Diagram 3] FIG. 11 is a diagram showing another example of skeletal information. [Figure 4] FIG. 13 is a diagram comparing skeletal information between healthy and lame cows. [Diagram 5]FIG. 13 is a diagram showing an example of posture information of a healthy cow. [Figure 6] FIG. 13 is a diagram showing an example of posture information of a lame cow. [Figure 7] FIG. 13 is a diagram showing another example of posture information of healthy cows and lame cows. [Figure 8] 1 is a flowchart showing an evaluation process performed by an evaluation device according to an aspect of the present invention. [Figure 9] FIG. 11 is a diagram showing an example of skeletal information to be referenced for diagnosing a slip or a fall in the first modification. [Figure 10] FIG. 13 is a diagram showing an example of skeletal information referenced for diagnosing an abnormality related to a limb gathering posture in Modification 2. [Figure 11] FIG. 13 is a diagram showing an example of skeletal information referenced for diagnosing a non-weight-bearing limb in Modification Example 3. [Figure 12] FIG. 13 is a diagram showing an example of skeletal information referenced for diagnosing an abnormality affecting tail lift in the fourth modification example. [Figure 13] FIG. 11 is a diagram showing an example of skeletal information detected in the embodiment. [Figure 14] 1 is a graph showing the change over time in the position coordinates of the right hind leg toe extracted in the examples. [Figure 15] FIG. 13 is a diagram showing posture information extracted from healthy cattle in the embodiment. [Figure 16] FIG. 1 is a diagram showing the average values and 95% confidence intervals of each posture information of healthy cows in an embodiment. [Figure 17] FIG. 13 is a diagram showing posture information extracted from a lame cow in an embodiment. [Figure 18] FIG. 13 is a diagram showing posture information extracted from a lame cow in an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] An evaluation device according to one aspect of the present invention evaluates the posture of livestock based on images of the livestock captured by a camera. Livestock whose posture is evaluated by the evaluation device are, for example, ungulates such as cows and horses. The postures of the livestock evaluated by the evaluation device are, for example, a standing posture, a lying posture, and a gait that represents the posture when walking. The evaluation device determines whether the posture of the livestock is normal or not, and whether the livestock is ill. The posture is evaluated as being characteristic of diseased livestock, characteristic of livestock with abnormalities in musculoskeletal function, characteristic of livestock with musculoskeletal disease, etc. Here, musculoskeletal disease refers to diseases of parts of livestock involved in movement, such as bones, tendons, joints, hooves, and muscles. An example of musculoskeletal disease is lameness.
[0014] [Evaluation device 10] Fig. 1 is a block diagram showing a main configuration of an evaluation device 10 according to one embodiment of the present invention. As shown in Fig. 1, the evaluation device 10 includes an acquisition unit 12, a detection unit 13, an extraction unit 14, and an evaluation unit 15. The evaluation device 10 further includes a diagnosis unit 16. The evaluation device 10 is connected to a display device 20, a camera 30, and a storage device 40 so as to be capable of data communication. The evaluation device 10, the display device 20, the camera 30, and the storage device 40 may each be an independent device, or these devices may be integrated into one device.
[0015] The evaluation device 10 includes a control unit 11 that controls each unit of the evaluation device 10. The control unit 11 is realized by a processor and a memory, for example. In this example, the processor accesses a storage (not shown), loads a program (not shown) stored in the storage into the memory, and executes a series of instructions included in the program. This constitutes each unit of the control unit 11. As each unit, the control unit 11 includes an acquisition unit 12, a detection unit 13, an extraction unit 14, an evaluation unit 15, and a diagnosis unit 16.
[0016] (Acquisition part 12) The acquisition unit 12 acquires images of livestock captured using a camera. The acquisition unit 12 may acquire an image every time the livestock is captured by the camera 30, or may acquire an image based on an input from a user indicating the start of image acquisition or the start of posture evaluation. The acquisition unit 12 may acquire images captured using a camera that are stored in the storage device 40.
[0017] The images acquired by the acquisition unit 12 may be continuous images of the livestock taken continuously for a predetermined period of time, or may be a video including the continuous images. As an example, the images acquired by the acquisition unit 12 may include images taken at 25 frames per second (25 fps) or more. The images may be visible light images or infrared images. The acquisition unit 12 may acquire multiple images captured using multiple cameras included in the camera 30. The acquisition unit 12 may acquire images captured from multiple directions, such as the side and rear of the livestock.
[0018] The acquisition unit 12 is implemented as a wireless or wired communication interface. The acquisition unit 12 outputs the acquired image data to the detection unit 13. The image data acquired by the acquisition unit 12 may be stored in the storage device 40.
[0019] (Detection unit 13) The detection unit 13 detects skeletal information representing the skeleton of the livestock in the image. The skeletal information includes information regarding the position, shape, and posture of the skeleton of the livestock. As an example, the skeletal information includes information representing the positions of characteristic points of the skeleton, including specific parts of the joints and bones, and at least one of the angles between the characteristic points. The detection unit 13 outputs the detected skeletal information to the extraction unit 14. The skeletal information detected by the detection unit 13 may also be stored in the storage device 40.
[0020] Examples of skeletal information will be described with reference to Figs. 2 and 3. Fig. 2 is a diagram showing an example of skeletal information, and Fig. 3 is a diagram showing another example of skeletal information. Fig. 2 shows the positions of 25 feature points, including the positions of joints and bones, in the skeleton of a cow. Fig. 3 shows 35 angles between the feature points shown in Fig. 2. The skeletal information may include information on the position coordinates and angles of these feature points in the image. The feature points and angles shown in Figs. 2 and 3 are used to evaluate the posture of the livestock. The feature points and angles are suitable for evaluating and diagnosing the locomotor function of livestock, but are not limited to these. The skeletal information is not limited to those shown in Figures 2 and 3, and may include information on other feature points in the whole skeleton of the livestock. The feature points and angles included in the skeletal information detected by the detection unit 13 can be appropriately selected depending on the purpose of evaluation or diagnosis.
[0021] The detection of skeletal information by the detection unit 13 can be performed using a detection model constructed to use images of livestock as input information and skeletal information as output information. Examples of the detection model include detection models constructed using known machine learning methods such as neural networks, decision trees, random forests, and support vector machines, and known deep learning methods such as deep neural networks.
[0022] The detection of skeletal information by the detection unit 13 can be extracted using a known system that is mainly used in human skeletal detection and posture estimation, such as OpenPose, DeepPose, DeepLabCut, and Associative Embedding. In addition, the detection unit 13 can use the techniques described in the following References 1 to 3 as techniques for detecting skeletal information of livestock based on images: Reference 1 Li et al., Comput Electron Agric, 164:104885, 2019; Reference 2 Cao et al., Proceedings of IEEE / CVF ICCV, 9498-9507, 2019; Reference 3 Mathis et al., Proceedings of IEEE / CVF WACV, 1859-1868, 2021. Here, the entirety of References 1 to 3 is incorporated herein by reference. nothing.
[0023] The skeletal information detected by the detection unit 13 may differ between healthy livestock and livestock suffering from musculoskeletal diseases, etc. FIG. 4 is a diagram comparing skeletal information between healthy and lame cows. FIG. 4 shows skeletal information of healthy and lame cows detected using a detection model constructed by deep learning in the detection unit 13, and the skeletal information is superimposed on an image of each cow. The image shown in FIG. 4 is an image captured of a cow walking in the X-axis direction. As shown in FIG. 4, the skeletal information of healthy and lame cows while walking is different.
[0024] It is preferable that the detection unit 13 detects skeletal information representing the whole skeleton of the livestock from the image. By detecting skeletal information representing the whole skeleton of the livestock and using it to evaluate the posture, it is possible to accurately evaluate the locomotor function based on the posture of the whole body of the livestock.
[0025] (Extraction part 14) The extraction unit 14 refers to the skeleton information and extracts posture information that represents the posture of the livestock. The extraction unit 14 outputs the extracted posture information to the evaluation unit 15. The posture information extracted by the extraction unit 14 may be stored in the storage device 40.
[0026] The posture information extracted by the extraction unit 14 may include information representing at least one of the standing posture, lying posture, and walking posture. The extraction unit 14 extracts at least one of the standing posture, lying posture, and gait. Here, the posture information represents the state of the livestock's skeleton, and may represent the state of the skeleton's feature points and the angle between the feature points. Therefore, the posture information of the standing posture may represent the state of the skeleton when the livestock is standing, the posture information of the lying posture may represent the state of the skeleton when the livestock is lying down, and the posture information of the gait may represent the state of the skeleton when the livestock is walking. In addition, when the skeleton information includes information representing the whole skeleton of the livestock, the extraction unit 14 can extract posture information representing the posture of the whole body of the livestock.
[0027] The extraction unit 14 may extract posture information that indicates a change in the posture of the livestock by referring to at least one of the changes in the positions of the characteristic points and the angles between the characteristic points within a predetermined time. The posture information that indicates a change in the posture of the livestock may be information that indicates the positional changes (movement distances) of the characteristic points of the skeleton of the livestock or the angle changes between the characteristic points, and is information that may correspond to the movements of the bones and joints of the livestock. The extraction unit 14 may extract posture information that indicates the changes in the posture of the livestock by referring to at least one of the changes in the positions of the characteristic points and the angles between the characteristic points within a predetermined time. Then, the posture information is calculated based on the time-series coordinate data of the feature points. The posture information may be calculated using known time-series analysis such as change point detection or anomaly detection.
[0028] Posture information showing changes in posture of livestock will be described with reference to Figs. 5 and 6. Fig. 5 is a diagram showing an example of posture information of a healthy cow, and Fig. 6 is a diagram showing an example of posture information of a lame cow. In Figs. 5 and 6, the upper graphs show the changes over time in the position coordinates of feature points, and the lower graphs show the changes over time in the angles between feature points. In Figs. 5 and 6, the left graphs show data for each feature point of the trunk, and the right graphs show data for each feature point of the limbs.
[0029] Moreover, the posture information may include information as shown in Fig. 7. Fig. 7 is a diagram showing another example of posture information of a healthy cow and a lame cow. For the characteristics of the trunk shown in Fig. 7, a numerical range of angles (angle fluctuation range) such as the angle range of the back line, and a range of positional changes of characteristic points such as the vertical movement range of the top of the head (movement distance of characteristic points) may be extracted as posture information. For the characteristics of the limbs shown in Fig. 7, the lengths of the swing phase and stance phase, stride length, speed, angle changes of the femoral joints (phalangeal joints and phalangeal joints), proportions of the swing phase and stance phase in the walking cycle, etc. may be calculated from skeletal information and extracted as posture information.
[0030] Furthermore, the posture information may include information regarding the difference in the angle change of each joint between the left and right forelimbs and between the left and right hindlimbs, which are assumed to move in the same manner. This allows the posture of the livestock to be evaluated without taking into account the difference in the skeletal structure of the front and rear limbs on the same side. The posture information may also include information regarding the difference in the proportion of the swing phase and stance phase in the walking cycle between the left and right limbs. This allows the posture of the livestock to be evaluated based on the proportion of the swing phase and stance phase in the walking cycle without taking into account the walking speed.
[0031] (Evaluation Section 15) The evaluation unit 15 evaluates the posture of the livestock by referring to the posture information. The evaluation unit 15 evaluates whether the posture of the livestock is normal, whether it is a posture characteristic of livestock suffering from a disease, whether it is a posture characteristic of a case in which there is an abnormality in the locomotor function, whether it is a posture characteristic of livestock that has developed a locomotor disease, etc. The evaluation unit 15 outputs the evaluation result to the diagnosis unit 16. In addition, the evaluation result by the evaluation unit 15 may be stored in the storage device 40.
[0032] For example, the evaluation unit 15 may evaluate the posture of the livestock using an evaluation model constructed so that the input information is posture information of the livestock and the output information is information indicating the presence or absence of abnormality in the posture of the livestock. For example, such an evaluation model can be constructed by performing machine learning as described above using learning data including posture information of the livestock and teacher data that associates the posture information of the livestock with the presence or absence of abnormality in the posture of the livestock. Note that, when the number of samples included in the learning data is small, a threshold value may be set to evaluate the posture of the livestock.
[0033] The evaluation unit 15 may evaluate the posture of the livestock to be evaluated by comparing at least one of the posture information of healthy livestock and the posture information of diseased livestock with the posture information of the livestock to be evaluated. As shown in Figs. 5 to 7, the posture information extracted from the skeletal information of the characteristic points and angles of the skeleton is different between healthy and lame cattle in both the trunk and the four limbs. For example, compared with healthy cattle, lame cattle have a back curve and a larger range of vertical movement of the top of the head. Also, compared with healthy cattle, the affected limb of lame cattle has a longer swing phase, a shorter stance phase, a slower speed, and a smaller change in angle of the phalangeal joint. That is, based on the posture information as shown in Figs. 5 to 7, it is possible to evaluate the presence or absence of lameness, the degree of lameness, and the mode of lameness (which leg is abnormal). As an example, based on the posture information shown in Figs. 5 to 7, it is possible to evaluate that lameness is caused by an abnormality in the right leg. The evaluation unit 15 is not limited to the evaluation based on the posture information of specific feature points of the livestock as described above, but may also be used to evaluate the posture of the whole body skeleton of the livestock. The posture of the livestock may be evaluated based on the information. This enables the evaluation unit 15 to comprehensively consider the posture information of the whole skeleton of the livestock and to perform a more detailed evaluation of the posture of the livestock.
[0034] Therefore, the evaluation unit 15 can evaluate whether or not there is an abnormality in the posture of the livestock being evaluated by determining whether the posture information of the livestock being evaluated is similar to the posture information of a healthy livestock or to the posture information of a diseased livestock.
[0035] The evaluation unit 15 is capable of performing the above-mentioned evaluation for all feature points and angles included in the skeletal information. When the livestock posture information includes information regarding the posture of the entire body of the livestock, the posture of each part of the livestock can be grasped. Therefore, the evaluation unit 15 can evaluate which part has an abnormality. Furthermore, the evaluation unit 15 can comprehensively evaluate the posture of the livestock based on the posture information regarding the posture of the entire body, so that a more accurate evaluation can be performed.
[0036] The evaluation unit 15 may also evaluate the vertical movement of the head during a walking cycle, calculated as a value (relative value) obtained by dividing the variance of the Y-axis value of the top of the head during the analysis period by the head length (the distance from the top of the head to the tip of the snout). This makes it possible to compare the postures of individual livestock animals while suppressing the influence of the size of the livestock in the captured images. The evaluation unit 15 may also calculate the time required for a walking cycle from a graph showing the movement of the hoof tips of the four limbs, and evaluate the proportions of the swing phase and stance phase in the walking cycle, calculated as the proportions of the swing phase and stance phase in that time. This evaluation is based on the knowledge found by the present inventors that the proportions of the swing phase and stance phase in the walking cycle are different between lame cattle and healthy cattle. This makes it possible to diagnose lameness using indices other than walking speed and the time required for the swing phase or stance phase.
[0037] (Diagnosis Section 16) The diagnosis unit 16 diagnoses whether or not there is an abnormality in the locomotor function of the livestock based on the evaluation result by the evaluation unit 15. For example, the diagnosis unit 16 diagnoses the degree of abnormality, the part where the abnormality is present, the name of the locomotor disease derived from the abnormality, and the like according to the evaluation result of the posture. The diagnosis unit 16 can diagnose various locomotor diseases that may cause abnormal posture, and for example, can diagnose hoof disease, arthritis, fractures, and the like that may cause lameness. The diagnosis unit 16 can also diagnose the part where the abnormality is present and the degree of the abnormality, as well as the presence or absence of an abnormality in the locomotor function of the livestock. For example, the diagnosis unit 16 can diagnose the lame cow shown in Figures 5 to 7 as having lameness due to pain in the right ankle joint.
[0038] Furthermore, the diagnosis unit 16 may diagnose the presence or absence of an abnormality in the musculoskeletal function of the livestock based on the posture information evaluated by the evaluation unit 15, using a predetermined threshold as a criterion. The diagnosis criterion in the diagnosis unit 16 may be set, for example, based on a 95% confidence interval of posture information of livestock without abnormalities. Conventionally, detection of abnormalities in the musculoskeletal function of livestock, such as lameness, has been performed visually, and no quantitative criterion has been known. According to the evaluation device 10, the presence or absence of an abnormality in the musculoskeletal function of the livestock can be diagnosed based on a 95% confidence interval of posture information of livestock without abnormalities. Furthermore, the diagnosis unit 16 may diagnose the presence or absence of an abnormality in the musculoskeletal function of the livestock using a model constructed by supervised machine learning based on skeletal information of the entire body of livestock with abnormalities in the musculoskeletal function, or by unsupervised machine learning based on deviations from normal changes.
[0039] The display device 20 displays the evaluation results obtained by the evaluation device 10. The display device 20 may also display the skeletal information detected by the evaluation device 10 and the posture information extracted together with the image of the livestock. For example, the display device 20 may display the skeletal information and posture information by superimposing them so as to correspond to the image of the livestock. The display device 20 may be a computer display or a mobile device display such as a smartphone that displays the information generated by the evaluation device 10. This is also possible.
[0040] As an example, the camera 30 is a visible light camera such as a digital camera or a smartphone camera. The camera 30 may be a compact digital camera or a surveillance camera that is inexpensive and easily available. The visible light camera includes an optical system such as a lens and a light detection element, and detects light from a subject to generate visible light image data. The camera 30 may be an infrared camera. The infrared camera includes an optical system such as a lens and an infrared detection element, and detects infrared rays emitted from a subject to generate infrared image data.
[0041] In the camera 30, image capture, and adjustment of the lens direction, angle of view, focus, zoom, etc. may be controlled by the control unit 11 of the evaluation device 10. The camera 30 may be composed of multiple cameras, which makes it possible to obtain multiple images captured from various directions. The installation position of the camera 30 is not particularly limited, but it is preferable that the camera 30 is installed in a position that does not interfere with the behavior of livestock and that provides a wide imaging range.
[0042] The storage device 40 stores programs and data used by the evaluation device 10. As an example, the storage device 40 stores images of livestock captured by the camera 30. As an example, the storage device 40 also stores skeletal images detected by the evaluation device 10 and extracted posture information for each livestock to be evaluated. As an example, the storage device 40 also stores the evaluation results and diagnosis results by the evaluation device 10 for each livestock to be evaluated. The storage device 40 may have a database on a cloud or a server that stores various data.
[0043] Furthermore, the evaluation device 10 may include an input device that accepts an input operation by a user to the evaluation device 10. The input device may be a keyboard or a mouse connected to a computer, or a touch panel of a mobile device.
[0044] According to the evaluation device 10, there is no need to attach markers or the like to the bodies of livestock, and the posture can be evaluated based on images of the livestock, so it is non-invasive. Also, according to the evaluation device 10, there is no need to make the livestock walk on a treadmill, and the posture can be evaluated using images of the livestock during normal breeding, so the burden on the livestock is small. Furthermore, according to the evaluation device 10, the posture of the livestock is evaluated by comprehensively analyzing the skeletal condition of the entire body of the livestock, not just the limbs and back line, so that it is possible to perform a more accurate evaluation.
[0045] [Evaluation process] The flow of the evaluation process (evaluation method) of the posture of a livestock by the evaluation device 10 will be described with reference to Fig. 8. Fig. 8 is a flowchart showing an example of the evaluation process executed by the evaluation device according to one aspect of the present invention.
[0046] As shown in FIG. 8, first, the acquisition unit 12 acquires an image of the livestock captured using a camera (step S1, acquisition step). Next, the detection unit 13 detects skeletal information representing the skeleton of the livestock in the image acquired by the acquisition unit 12 (step S2, detection step). The extraction unit 14 refers to the detected skeletal information and extracts posture information representing the posture of the livestock (step S3, extraction step). Then, the evaluation unit 15 evaluates the posture of the livestock by referring to the extracted posture information (step S4, evaluation step). The diagnosis unit 16 diagnoses the presence or absence of abnormality in the locomotor function of the livestock, the part with abnormality, and the degree of abnormality based on the evaluation result of the posture of the livestock (step S5, diagnosis step), and ends the evaluation process.
[0047] In this way, the evaluation process by the evaluation device 10 can evaluate the posture of the livestock based on the camera image. The evaluation device 10 can diagnose abnormalities in the locomotor function of the livestock based on the evaluation result of the posture. can be easily diagnosed.
[0048] [Software implementation example] The functions of the evaluation device 10 (hereinafter referred to as the "device") can be realized by an evaluation program for causing a computer to function as the device, and a program for causing a computer to function as each control block of the device (particularly each part included in the control unit 11).
[0049] In this case, the device includes a computer having at least one control device (e.g., a processor) and at least one storage device (e.g., a memory) as hardware for executing the program. The control device and storage device execute the program to realize each function described in each of the above embodiments.
[0050] The program may be non-transitory and may be recorded in one or more computer-readable recording media. The recording media may or may not be included in the device. In the latter case, the program may be provided to the device via any wired or wireless transmission medium.
[0051] In addition, some or all of the functions of each of the control blocks can be realized by a logic circuit. For example, an integrated circuit in which a logic circuit that functions as each of the control blocks is formed is also included in the scope of the present invention. In addition, the functions of each of the control blocks can be realized by, for example, a quantum computer.
[0052] In addition, each process described in each embodiment above may be implemented using AI (Artificial Intelligence). In this case, the AI may be executed by the control device, or may be executed by another device (for example, an edge computer or a cloud server).
[0053] [Variation 1] The evaluation device 10 can also diagnose slipping or falling. FIG. 9 is a diagram showing an example of skeletal information to be referred to in order to diagnose slipping or falling in the first modified example. The evaluation unit 15 evaluates the posture of the livestock by referring to the angles between the elbows, knees, and tarsus included in the skeletal information. The diagnosis unit 16 diagnoses slipping or falling of the livestock based on the evaluation result. As an example, slipping of the hind legs of the livestock is diagnosed with a threshold value of an angle between the elbows, knees, and tarsus of 180 degrees or more. In the case of a livestock without abnormalities, the angle between the elbows, knees, and tarsus may be less than 180 degrees. In addition, the diagnosis criterion in the diagnosis unit 16 may be set based on a 95% confidence interval of the above angle in a livestock without abnormalities. In addition, the evaluation device 10 may diagnose slipping or falling using a model constructed by supervised machine learning based on the skeletal information of the entire body of the livestock that has slipped or fallen, or by unsupervised machine learning based on deviations from normal changes.
[0054] [Modification 2] The evaluation device 10 can also evaluate the limb collection posture to diagnose abnormalities such as limb pain or abdominal pain. Fig. 10 is a diagram showing an example of skeletal information referenced to diagnose abnormalities related to the limb collection posture in the second modification. The evaluation unit 15 evaluates the posture of the livestock by referring to the positional relationship between the elbow and the carpal joint, the phalangeal joint, or the tip of the forelimb, and the positional relationship between the knee and the tarsal joint, the phalangeal joint, or the tip of the hindlimb, which are included in the skeletal information. The diagnosis unit 16 diagnoses abnormalities related to the limb collection posture, such as limb pain or abdominal pain, of the livestock based on the evaluation result.
[0055] For example, if the carpal joints, phalangeal joints, or the tips of the forelimbs are more prominent than the elbow joints, the horse is assessed as having stiff legs, and a diagnosis of joint contracture or hoof disease is made. If the joints or phalangeal joints or the tips of the hind legs are forward, or if the distance between the tips of the front and rear legs is short, the animal is evaluated as having a grouped-limbs posture, and an abnormality related to the grouped-limbs posture is diagnosed. The diagnostic criteria in the diagnosing unit 16 can also be set based on a 95% confidence interval of the above posture in livestock without abnormalities. The evaluation device 10 may also evaluate the grouped-limbs posture using a model constructed by supervised machine learning based on skeletal information of the entire body of a livestock exhibiting the grouped-limbs posture, or by unsupervised machine learning based on deviations from normal changes.
[0056] [Modification 3] The evaluation device 10 can also diagnose limbs that are not loaded. FIG. 11 is a diagram showing an example of skeletal information to be referred to in order to diagnose limbs that are not loaded in the third modification. The evaluation unit 15 evaluates the posture of the livestock by comparing the angle of the fetlock joint (phalangeal joint or phalangeal joint) of one limb included in the skeletal information with the angles of the fetlock joints of the other three limbs. The diagnosis unit 16 diagnoses the limbs that are not loaded in the livestock based on the evaluation result. As an example, when the angles of the left and right phalangeal joints are significantly different in a state where the livestock is not walking, the limb with the smaller angle is in a floating state and is diagnosed as not being loaded. It is possible to determine whether the livestock is walking or not from the moving speed of the head, etc. included in the skeletal information. The diagnosis criteria in the diagnosis unit 16 may be set based on the 95% confidence interval of the above posture of livestock without abnormalities. In addition, the evaluation device 10 may diagnose the non-weight-bearing limbs using a model constructed by supervised machine learning based on the fetlock angles and whole-body skeletal information of livestock with non-weight-bearing limbs, or by unsupervised machine learning based on deviations from normal changes.
[0057] [Modification 4] The evaluation device 10 can also diagnose abnormalities affecting the tail raising, such as discomfort around the vulva, excretion, and delivery. FIG. 12 is a diagram showing an example of skeletal information to be referred to in order to diagnose abnormalities affecting the tail raising in the fourth modification. The evaluation unit 15 evaluates the posture of the livestock by referring to the angle of the back, tail, or tail included in the skeletal information. The diagnosis unit 16 diagnoses abnormalities related to the tail raising based on the evaluation result. As an example, the tail raising obtained from the angle of the back, tail, or tail is compared with the tail raising of a livestock without abnormalities to diagnose discomfort around the vulva, excretion, delivery, and the like. The diagnosis criterion in the diagnosis unit 16 may be set based on a 95% confidence interval of the above posture of a livestock without abnormalities. The evaluation device 10 may also evaluate the tail raising and diagnose abnormalities affecting the tail raising using a model constructed by supervised machine learning based on the angle of the back, tail, or tail of a livestock with an abnormality affecting the tail raising, or on skeletal information of the entire body, or by unsupervised machine learning based on deviations from normal changes.
[0058] [Example] Five healthy cows and eight lame cows were evaluated for posture and diagnosed for musculoskeletal diseases based on images captured by a camera. Videos were taken from the side of freely walking cows at a distance of 2-3 m horizontally and at a height of 1.5-1.8 m above the ground using a digital camera (Olympus TG-4, Ricoh WG-20, GoPro GoPro Hero 9). Videos were taken at 30 fps to include 3-5 gait cycles (stance phase + swing phase). Videos were taken under various background conditions without adjusting the lighting.
[0059] Skeletal information of each cow was detected from the obtained images. An example of the detected skeletal information is shown in FIG. 13. FIG. 13 is a diagram showing an example of skeletal information detected in the embodiment. Posture information of each cow was extracted with reference to the detected skeletal information. The posture information was extracted by calculating each posture information based on the time-series coordinate data of each feature point. As posture information, the following were extracted: "up and down movement of head", change over time of "dorsal line angle" during a walking cycle, change over time of "tarsal joint angle", change over time of "carpal joint angle", change over time of "phalangeal joint angle", change over time of "phalangeal joint angle", and "proportion of swing phase and stance phase" in a walking cycle, as shown in FIG. 13.
[0060] The "up and down movement of the head" during the walking cycle was calculated as a relative value obtained by dividing the variance of the Y-axis value of the top of the head during the analysis period by the head length (the distance from the top of the head to the tip of the snout). The "proportion of the swing phase and stance phase" in the walking cycle was calculated by calculating the time required for the walking cycle from the graph showing the movement of the hoof tips of the four limbs shown in Figure 14, and calculating the proportion of the time occupied by the swing phase and stance phase. Figure 14 is a graph showing the change over time in the position coordinates of the right hind hoof tip extracted in the example.
[0061] Figure 15 shows the posture information extracted from five healthy cows, and Figure 16 shows the average value and 95% confidence interval of the five healthy cows calculated from the posture information shown in Figure 15. Figure 15 is a diagram showing posture information extracted from healthy cows in an example, and Figure 16 is a diagram showing the average value and 95% confidence interval of the posture information of healthy cows in an example. Figures 17 and 18 show the posture information extracted from eight lame cows. Figures 17 and 18 are diagrams showing posture information extracted from lame cows in an example.
[0062] Since it is necessary to take into consideration the difference in skeletal structure between the front and rear limbs on the same side, in this example, the average difference in the angle change of each joint between the left and right front limbs and the left and right hind limbs, which are assumed to move in the same way, was calculated for healthy cows and used for comparison with lame cows. In addition, since the proportions of the swing phase and stance phase may change depending on the walking speed, the difference in these proportions between the left and right limbs was calculated for healthy cows and used for comparison with lame cows.
[0063] As standards for evaluating the posture information of lame cows based on the posture information of healthy cows, the upper limit of the 95% confidence interval was set for the head up and down movement, the angle change of each joint, and the proportion of the swing phase and stance phase, and the lower limit of the 95% confidence interval was set for the back line angle. The setting of these standard values is based on the knowledge that lameness causes an increase in head up and down movement, a decrease in the back line angle (back curvature), a decrease in the amount of change in joint angles, and a change in the uniformity of walking rhythm.
[0064] In comparison with the standard values in healthy cows, 6 out of 8 lame cows showed increased head up-down movement, and 4 showed decreased dorsal line angle. In addition, as for abnormalities in the angle of the affected limbs, 1 out of 8 lame cows showed abnormal change in the angle of the phalangeal joint, and 2 showed abnormal change in the angle of the tarsal joint. Furthermore, in the affected limbs of all lame cows, shortening of the stance phase and lengthening of the swing phase were observed, indicating that the gait was no longer uniform.
[0065] In this way, it was shown that the presence or absence of lameness can be diagnosed by evaluating the posture of cows using posture information from healthy cows as a standard.
[0066] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]
[0067] 10 Evaluation equipment 12 Acquisition Department 13 Detection section 14 Extraction part 15 Evaluation Section 16 Diagnostic Department
Claims
1. An evaluation device for evaluating the posture of livestock, An acquisition unit that acquires images of livestock captured using a camera; A detection unit that detects skeleton information representing the skeleton of the livestock in the image; an extraction unit that refers to the skeleton information and extracts posture information that represents a posture of the livestock; an evaluation unit that evaluates the posture of the livestock by referring to the posture information; Equipped with The evaluation unit evaluates the up and down movement of the livestock's head during a walking cycle using a value obtained by dividing the variance of values indicating the height of the top of the livestock's head during an analysis period by the distance from the top of the head to the tip of the snout.
2. The evaluation device according to claim 1 , wherein the posture information includes information representing at least one of a standing posture, a lying posture, and a walking posture.
3. The evaluation device according to claim 1 , wherein the skeletal information includes information indicating at least one of positions of skeletal feature points including predetermined parts of joints and bones and angles between the feature points.
4. The evaluation device according to claim 3 , wherein the extraction unit extracts posture information representing a change in posture of the livestock by referring to a change in at least one of the positions of the feature points and an angle between the feature points within a predetermined time period.
5. The evaluation device according to claim 1 , wherein the detection unit detects skeletal information representing an entire skeleton of the livestock from the image.
6. The evaluation device according to claim 1 or 2, further comprising a diagnosis unit that diagnoses the presence or absence of an abnormality in locomotor function of the livestock based on the evaluation result by the evaluation unit.
7. A method for evaluating the posture of livestock, comprising the steps of: An acquisition step of acquiring images of livestock captured using a camera; a detection step of detecting skeleton information representing the skeleton of the livestock in the image; an extraction step of extracting posture information representing a posture of the livestock by referring to the skeleton information; an evaluation step of evaluating the posture of the livestock by referring to the posture information; Inclusive of In the evaluation step, the up and down movement of the livestock's head during a walking cycle is evaluated using a value obtained by dividing the variance of the value indicating the height of the top of the livestock's head during the analysis period by the distance from the top of the head to the tip of the snout.
8. 3. An evaluation program for causing a computer to function as the evaluation device according to claim 1, the evaluation program causing a computer to function as the detection unit, the extraction unit, and the evaluation unit.
9. A computer-readable recording medium on which the evaluation program according to claim 8 is recorded.
Citation Information
Patent Citations
Limping diagnostic system
JP2003228701A
System and method for diagnosing hoof condition
JP2005253435A
Central information processing system and method of mobile service robot having indoor information of hierarchical structure according to level of recognition / reasoning
JP2008254167A
Cow body diagnostic system and cow body diagnostic method
JP2016059300A
Posture analysis device, posture analysis method and program
JP2020052867A
