Livestock health monitoring method and system based on artificial intelligence

By analyzing the multi-dimensional health data of livestock and forage image characteristics, the forage viscosity is calculated, which solves the problem of inaccurate detection of forage viscosity and eating time in the existing technology, and improves the precision and accuracy of livestock health monitoring.

CN114638536BActive Publication Date: 2024-09-10BEIJING VOCATIONAL COLLEGE OF AGRI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210342637.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2024-09-10
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

Existing livestock health monitoring methods based on thermal imaging data can easily lead to misidentification and inaccurate analysis results, especially in the detection of forage viscosity and eating time.

Method used

By obtaining the multi-dimensional health data vector of livestock, analyzing the abnormality probability, and combining the forage image feature points, edge information and gray level co-occurrence matrix, the forage viscosity is calculated, the corresponding relationship between eating time and forage viscosity is determined, and the livestock health status is judged.

Benefits of technology

It improves the accuracy of health monitoring, optimizes forage quality evaluation, reduces misidentifications in cattle health monitoring, and enhances the accuracy of monitoring results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114638536B
    Figure CN114638536B
Patent Text Reader

Abstract

The present invention relates to the field of artificial intelligence technology, and in particular to a livestock health monitoring method and system based on artificial intelligence, the method comprising: obtaining standard health data of livestock to form a multidimensional health data vector; analyzing the multidimensional health data vector to obtain the abnormal probability of each dimension, selecting the health data of the corresponding dimension when the abnormal probability is the maximum as the abnormal data; when the abnormal data is the eating time, obtaining the current grass viscosity; according to the corresponding relationship between the eating time and the grass viscosity when the livestock health status is normal, analyzing the current livestock actual eating time and the actual grass viscosity, determining whether the corresponding relationship between the actual eating time and the actual grass viscosity is abnormal, and when it is abnormal, the livestock health status is unhealthy; when it is normal, analyzing other health data except the abnormal data to determine the livestock health detection result. The present invention can improve the monitoring accuracy of health monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an artificial intelligence-based livestock health monitoring method and system. Background Art

[0002] As artificial intelligence technology is increasingly used in animal husbandry management, information-based animal husbandry management systems based on artificial intelligence technology are emerging one after another, which greatly improves the management efficiency of animal husbandry, reduces management costs, and can monitor the health of livestock in real time. At present, the existing health monitoring methods use thermal imaging data to monitor body temperature and analyze image features, which often only obtains a single feature related to livestock, which is easy to cause misidentification and lead to inaccurate analysis results. Summary of the invention

[0003] In order to solve the above technical problems, the purpose of the present invention is to provide a livestock health monitoring method and system based on artificial intelligence. The technical solutions adopted are as follows:

[0004] Obtain standard health data of livestock to form a multi-dimensional health data vector; analyze the multi-dimensional health data vector to obtain the abnormal probability of each dimension, and select the health data of the corresponding dimension when the abnormal probability is the largest as the abnormal data;

[0005] When the abnormal data is the feeding time, obtaining the current forage viscosity;

[0006] Wherein, the method for obtaining the viscosity of the forage is:

[0007] Collecting images of the feeding trough area when livestock are eating, and dividing the images of the feeding trough area to obtain initial forage images of the livestock eating area;

[0008] Obtain edge information of an initial forage image, use each edge information as an image feature point, cluster the image feature points to obtain different distribution areas, and record the distribution areas as a forage distribution image;

[0009] The difference between the initial forage image and the forage distribution image is calculated to obtain the forage hole area image, the forage hole areas are clustered to obtain the hole area distribution clusters, and the hole area distribution entropy is obtained according to the area and number of the hole areas in the hole area distribution clusters and the area of ​​the forage distribution image;

[0010] Using any pixel point in the initial forage image and adjacent pixel points to form a pixel point pair, a gray level co-occurrence matrix is ​​constructed to obtain contrast information of the gray level co-occurrence matrix; and the forage viscosity is obtained according to the distribution entropy and contrast information of the hole area;

[0011] According to the correspondence between the eating time and the forage viscosity when the livestock is in normal health, the current actual eating time and the actual forage viscosity of the livestock are analyzed to determine whether the correspondence between the actual eating time and the actual forage viscosity is abnormal. If it is abnormal, the livestock health status is unhealthy; if it is normal, other health data except the abnormal data are analyzed to determine the livestock health test results.

[0012] Preferably, the method for analyzing the actual current livestock eating time and actual forage viscosity is specifically as follows:

[0013] The difference between the eating time of the livestock when it is healthy and the current actual eating time is calculated to obtain the eating time difference. When the eating time difference is greater than or equal to the difference threshold, the corresponding relationship between the actual eating time and the actual forage viscosity is abnormal, and the livestock health status is judged to be unhealthy.

[0014] When the eating time difference is less than the difference threshold, the correspondence between the actual eating time and the actual forage viscosity is normal. After deleting the current actual eating time of the livestock, the remaining health data is analyzed to determine the livestock health test results.

[0015] Preferably, the calculation method of the cavity area distribution entropy is:

[0016]

[0017] Among them, N1 is the distribution entropy of the hole area, K is the number of hole areas in the hole area distribution cluster, S j ,j=1,2,…,K, is the area of ​​the hole region, and S is the area of ​​the forage distribution image.

[0018] Preferably, the calculation method of the forage viscosity is:

[0019]

[0020] Among them, N is the viscosity of the grass, N1 is the distribution entropy of the cavity area, and con is the contrast information.

[0021] Preferably, the standard health data includes the livestock's eating action information, degree of walking abnormality, body temperature, amount of exercise, and eating time.

[0022] Preferably, the method for analyzing the multidimensional health data vector is specifically: inputting the multidimensional health data vector into an anomaly detection network, and outputting the anomaly probability of each dimension.

[0023] Preferably, the method for acquiring the eating time is specifically as follows: inputting the livestock image into the action recognition network, outputting the livestock eating state probability, and when the eating state probability is the largest, detecting the livestock eating action information, and acquiring the livestock eating time.

[0024] The present invention also provides an artificial intelligence-based livestock health monitoring system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of an artificial intelligence-based livestock health monitoring method are implemented.

[0025] The embodiments of the present invention have at least the following beneficial effects:

[0026] The present invention analyzes the viscosity of forage through forage image features, and analyzes the actual feeding time and actual forage viscosity of the current livestock through the corresponding relationship between the feeding time of normal livestock and the forage viscosity, and obtains the health detection result. The present invention can optimize the misidentification in the health monitoring of cattle through the quality evaluation of forage, and improve the monitoring accuracy of health monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 A method flow chart of an artificial intelligence-based livestock health monitoring method. DETAILED DESCRIPTION

[0029] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a livestock health monitoring method and system based on artificial intelligence proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures, or characteristics in one or more embodiments may be combined in any suitable form.

[0030] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0031] The following is a detailed description of a specific solution of an artificial intelligence-based livestock health monitoring method and system provided by the present invention in conjunction with the accompanying drawings.

[0032] Embodiment 1:

[0033] The specific scenario targeted by the present invention is: health monitoring within a livestock breeding production base, where image data of livestock and image data of the inside of a feeding trough are collected by a monitoring camera. The monitoring camera has a variable focal length, which is conducive to better obtaining a panoramic image of the breeding area and a local image of the inside of the feeding trough.

[0034] Specifically, this embodiment takes yellow cattle as an example, and combines the attached Figure 1 To explain, Figure 1 A flowchart of a livestock health monitoring method based on artificial intelligence provided by an embodiment of the present invention is shown, and the method includes the following steps:

[0035] First, the video images of cattle in the breeding area are obtained through surveillance cameras, and then the target detection network is used to detect the target in the collected video images to obtain the image of the cattle area. The target detection network uses a trained network, such as: RCNN target detection network, YOLO target detection network, and the implementer can choose according to the needs.

[0036] To track and identify cattle through continuous video frames, in order to avoid mis-tracking and identification between multiple cattle, cattle can wear smart ear tags (smart ear tags have GPS positioning functions to distinguish and locate different cattle, and can also be used to store health data) to distinguish between different cattle images. Based on the location information of the cattle, continuous frame image acquisition of a single cattle is completed.

[0037] Then, the behavior actions in the continuous frame images of a single cattle are recognized, and the behavior action recognition includes: eating action recognition and walking action recognition. The action recognition network adopts a key point detection network, such as: OpenPose network, AlphaPose network, and the implementer can choose according to the needs. In this embodiment, the AlphaPose network is used. Specifically, a single cattle area image is input through the network, and the Encoder encoder is used to obtain the cattle's eating posture feature vector. The standard feature vector of the eating posture is used to measure the similarity with the eating posture feature vector. The cosine distance between the feature vectors is used as the discriminant loss function for eating action recognition. Finally, the probability of the cattle's eating state is output through the Decoder decoder to realize the cattle's eating action recognition.

[0038] Similarly, the walking posture feature vector of the cattle is obtained through the encoder of the action recognition network, and the posture similarity between the walking posture feature vectors of the continuous frame images is evaluated. The standard walking posture feature vector is used to measure the similarity with the walking posture feature vector of the input cattle area image, and the abnormal probability value of the walking posture of the cattle area image is output through the decoder. The smaller the output probability value, the greater the abnormality of the current cattle's walking posture. The loss function of the action recognition network is the cosine distance loss function. At this point, the cattle's eating information and walking abnormality information are obtained.

[0039] Through the above steps, it can be seen that when the probability of the cattle's eating state is the highest, the cattle's eating action information is detected, and the cattle's eating time data is obtained through the smart ear tag worn by the cattle. At the same time, other physiological health information of the cattle can also be obtained through the smart ear tag worn by the cattle, including: body temperature, exercise volume. The cattle's eating action information, walking abnormality, body temperature, exercise volume and eating time constitute the cattle's health data.

[0040] Next, a multidimensional health data vector is constructed based on the health data of the scalper. The multidimensional health data vector is analyzed to obtain the abnormal probability of each dimension, and the health data of the corresponding dimension when the abnormal probability is the largest is selected as the abnormal data, and analyzed.

[0041] Specifically, the health data of the cattle obtained in the above steps is obtained to form a multi-dimensional health data vector. The standard health data of the cattle is marked as a judgment label, and then the multi-dimensional health data vector is trained. The feature tensor of the multi-dimensional health data vector is obtained through the anomaly detection network encoder, convolution, and pooling. The anomaly detection network fully connected layer is used to output the abnormal probability of each dimension in the multi-dimensional health data vector, and the abnormal data vector is obtained through the Softmax function. The structure of the anomaly detection network is: Encoder-FC, and the loss function of the anomaly detection network is: cross entropy loss function. At the same time, the health data of the corresponding dimension when the abnormal probability is the largest is selected as the abnormal data.

[0042] When the abnormal data is the feeding time, the current forage viscosity is obtained.

[0043] Among them, the method for obtaining the viscosity of the forage is: collecting images of the trough area when the cattle are eating, and dividing the images of the trough area to obtain an initial forage image of the cattle eating area; obtaining edge information of the initial forage image, using each edge information as an image feature point, clustering the image feature points to obtain different distribution areas, and recording the distribution area as a forage distribution image.

[0044] The difference between the initial forage image and the forage distribution image is calculated to obtain the forage hole area image, the forage hole areas are clustered to obtain the hole area distribution clusters, and the hole area distribution entropy is obtained according to the area and number of the hole areas in the hole area distribution clusters and the area of ​​the forage distribution image; any pixel point in the initial forage image is used with adjacent pixel points to form a pixel pair, a grayscale co-occurrence matrix is ​​constructed, and the contrast information of the grayscale co-occurrence matrix is ​​obtained; the forage viscosity is obtained according to the hole area distribution entropy and the contrast information.

[0045] Specifically, when the above steps detect the eating action information of the cattle, the surveillance camera is triggered to zoom in and obtain the image of the feeding trough area. In order to better obtain the image of the grass eaten by each cattle, this embodiment does not consider the problem of the cattle blocking the feeding trough when eating, and only analyzes the image characteristics of the grass that the cattle are about to eat.

[0046] According to the location information of each cattle as the area segmentation point, the trough area segmentation line is made in the vertical direction between the segmentation point and the trough, and the trough area image is divided into regions according to the distance between the segmentation lines. In this embodiment, the midline of the area between the segmentation lines is selected as the eating image segmentation line by default, and then the eating areas of different cattle are obtained. The area between the two midlines is the eating area of ​​a cattle. The initial forage image of the cattle eating area is obtained, and then the initial forage image features are analyzed.

[0047] It should be noted that cattle have certain requirements for the dryness and degree of crushing of the grass they feed. When the grass is not crushed or is not crushed completely, the cattle have to chew it continuously to be absorbed by the final abomasum, which can easily lead to too long eating time; when the grass is too dry and hard, it will cause indigestion in the cattle and too short eating time. In general, the grass should be crushed and mixed with concentrated feed to increase the viscosity of the feed, so as to ensure that the cattle will not have abnormal eating time problems due to the grass. Therefore, this embodiment analyzes the viscosity of the grass through the initial grass image features to achieve grass quality detection and analysis of abnormal eating time problems of cattle. Among them, the reasons for the change in grass viscosity may include: dry weather, problems with the water addition ratio of the breeder or the automatic feeder, etc.

[0048] The initial forage image of the cattle feeding area is obtained, and then the initial forage image features are analyzed. The forage viscosity is obtained according to the distribution entropy and contrast information of the hollow area, which is expressed as: Where N is the forage viscosity, N1 is the entropy of the cavity area distribution, and con is the contrast information. At the same time, in order to eliminate the influence of dimensions, the forage viscosity evaluation index is normalized and the value range is [0,1].

[0049] The method for obtaining the above-mentioned void area distribution entropy is:

[0050] The initial forage image of the cattle feeding area is grayed to obtain a grayscale image, and Canny edge detection is performed on the grayscale image to obtain all edges of the initial forage image, and the edges of the initial forage image are used as image feature points.

[0051] When the grass is not completely crushed, there will be many long independent edges, gaps between the edges, and large grayscale voids in the grayscale image. When the grass viscosity is too small, the grass is scattered and the surface is smooth. When the grass viscosity is normal, the grass is adhered to form a mass, the overall surface of the grass is uneven, the edge details are closely connected, and there are no voids. Since the grass is scattered and crisscrossed, the edges obtained are mostly discontinuous edges. Therefore, the edges of the initial grass image are used as image feature points for analysis.

[0052] The image feature points are clustered using DBSCAN. The initial minimum radius r is set for clustering. In this embodiment, r=2. The initial center point is the center point of the initial forage image. The distribution area after clustering is recorded as the forage distribution image.

[0053] Then, the difference between the initial forage image and the forage distribution image is calculated to obtain the forage hole area image. Then, the distribution of the hole areas on the forage hole area image is analyzed, and the hole areas are clustered using the mean shift clustering algorithm. The center point of a hole area is randomly selected as the clustering starting point, and the clustering radius is set to R. In this embodiment, R=10, and the distance between all the hole areas in the image and the initial clustering center point is calculated to obtain a shift mean. Among them, x represents the center point, and k represents the number of center points of the hole area within the initial circle. Through the Euclidean distance of the hole area within the initial clustering radius, the hole area with a closer distance is selected as the direction of updating the initial clustering center point to obtain the hole area distribution cluster.

[0054] Furthermore, the hole region distribution entropy is obtained according to the area and number of the hole regions in the hole region distribution cluster and the area of ​​the forage distribution image.

[0055] Then the calculation method of the distribution entropy of the void area is:

[0056]

[0057] Among them, N1 is the distribution entropy of the hole area, K is the number of hole areas in the hole area distribution cluster, S j ,j=1,2,…,K, is the area of ​​the hole region, and S is the area of ​​the forage distribution image. It should be noted that, in general, the area of ​​the hole region S j No more than 30% of the forage distribution image area.

[0058] The above contrast information acquisition method is:

[0059] The gray-level co-occurrence matrix is ​​constructed by using any pixel in the initial forage image and its adjacent pixel to form a pixel pair. The contrast information of the gray-level co-occurrence matrix is ​​used to reflect the depth of the texture in the image.

[0060] The contrast information calculation formula is:

[0061]

[0062] Among them, i, j represents the number of rows and columns of pixel pairs in the gray-level co-occurrence matrix, which reflects the degree of deviation from the diagonal line. P(i, j) represents the probability of the pixel pair appearing in the gray-level co-occurrence matrix, which can be calculated by statistical frequency.

[0063] It should be noted that when there are more hollow areas, the hollow area distribution entropy N1 is larger, that is, the forage is scattered, and the forage surface is smooth, the contrast information con is smaller, and the forage viscosity N is smaller; when there are fewer hollow areas, the hollow area distribution entropy N1 is smaller, that is, there is adhesion between the forage and forms a clumping shape, and the forage surface is uneven, the contrast information con is larger, and the forage viscosity N is larger. In addition, when the forage viscosity is kept within a certain range, the problem of livestock picky eating can be reduced. This is common knowledge and will not be elaborated here.

[0064] Finally, based on the correspondence between the eating time and the viscosity of the forage when the cattle are healthy and normal, the actual eating time and the actual forage viscosity of the cattle are analyzed to determine whether the correspondence between the actual eating time and the actual forage viscosity is abnormal. If it is abnormal, the health status of the cattle is unhealthy; if it is normal, other health data except the abnormal data are analyzed to determine the health test results of the cattle.

[0065] Specifically, the corresponding relationship in the above steps can be a mapping relationship between the normal cattle eating time and the grass viscosity, or a functional relationship. In this embodiment, the historical data of the normal cattle eating time and the grass viscosity are used for data fitting to obtain the functional relationship. The functional relationship can be a linear function, such as y=kx+b, or a nonlinear function, such as y=e x , the specific functional relationship shall be subject to the actual data fitting.

[0066] Calculate the difference between the feeding time of a normal yellow cattle and the current actual feeding time to obtain the feeding time difference ρ. In this embodiment, the difference threshold is set as M1 = 2 min. When the feeding time difference is greater than or equal to the difference threshold, that is, ρ ≥ M1, the corresponding relationship between the actual feeding time and the actual forage viscosity is in an abnormal state. It is considered that the actual forage viscosity and the actual feeding time do not match. It can be seen that there is no correlation between the actual forage viscosity and the actual feeding time. Then, it is due to other reasons that the feeding time of the yellow cattle is abnormal. Therefore, it is determined that the health status of the yellow cattle is unhealthy.

[0067] When the feeding time difference is less than the difference threshold, that is, ρ < M1, the corresponding relationship between the actual feeding time and the actual forage viscosity is in a normal state. It is considered that the actual forage viscosity and the actual feeding time match. It can be seen that the current actual forage viscosity determines the actual feeding time of the yellow cattle. Therefore, the data of the actual feeding time is excluded, and after deleting the actual feeding time in the current multi-dimensional health data vector of the yellow cattle, the abnormal detection network is used again for analysis to obtain the health detection result of the yellow cattle. As another implementation method, other multi-dimensional health data can also be directly compared with the corresponding set thresholds to judge the health status of the yellow cattle.

[0068] It should be noted that the above judgment of the matching between the actual forage viscosity and the actual feeding time can determine the influence of the actual forage viscosity on the actual feeding time of the livestock, and further determine whether the feeding time is abnormal due to the health status of the livestock, so as to accurately evaluate the health status of the livestock. At the same time, when the matching is normal, it can also exclude the interference of the abnormal feeding time factor on the health status of the livestock, and then further analyze other health data.

[0069] Embodiment 2:

[0070] This embodiment provides an artificial intelligence-based livestock health monitoring system, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of an artificial intelligence-based livestock health monitoring method. Since Embodiment 1 has already introduced in detail an artificial intelligence-based livestock health monitoring method, it will not be introduced too much here.

[0071] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0072] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0073] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A livestock health monitoring method based on artificial intelligence, characterized in that: The method comprises the following steps: Obtain standard health data of livestock to form a multi-dimensional health data vector; analyze the multi-dimensional health data vector to obtain the abnormal probability of each dimension, and select the health data of the corresponding dimension when the abnormal probability is the largest as the abnormal data; When the abnormal data is the feeding time, obtaining the current forage viscosity; Wherein, the method for obtaining the viscosity of the forage is: Collecting images of the feeding trough area when livestock are eating, and dividing the images of the feeding trough area to obtain initial forage images of the livestock eating area; Obtain edge information of an initial forage image, use each edge information as an image feature point, cluster the image feature points to obtain different distribution areas, and record the distribution areas as a forage distribution image; The difference between the initial forage image and the forage distribution image is calculated to obtain the forage hole area image, the forage hole areas are clustered to obtain the hole area distribution clusters, and the hole area distribution entropy is obtained according to the area and number of the hole areas in the hole area distribution clusters and the area of ​​the forage distribution image; Using any pixel point in the initial forage image and adjacent pixel points to form a pixel point pair, a gray level co-occurrence matrix is ​​constructed to obtain contrast information of the gray level co-occurrence matrix; and the forage viscosity is obtained according to the distribution entropy and contrast information of the hole area; According to the correspondence between the feeding time and the forage viscosity when the livestock's health status is normal, the actual feeding time and the actual forage viscosity of the current livestock are analyzed to determine whether the correspondence between the actual feeding time and the actual forage viscosity is abnormal. If it is abnormal, the livestock's health status is unhealthy; if it is normal, other health data except the abnormal data are analyzed to determine the livestock's health test results; The method for analyzing the actual feeding time and actual forage viscosity of the current livestock is specifically as follows: The difference between the eating time of the livestock when it is healthy and the current actual eating time is calculated to obtain the eating time difference. When the eating time difference is greater than or equal to the difference threshold, the corresponding relationship between the actual eating time and the actual forage viscosity is abnormal, and the livestock health status is judged to be unhealthy. When the eating time difference is less than the difference threshold, the correspondence between the actual eating time and the actual forage viscosity is normal. After deleting the current actual eating time of the livestock, the remaining health data is analyzed to determine the livestock health test results; The calculation method of the cavity area distribution entropy is: Among them, N1 is the distribution entropy of the hole area, K is the number of hole areas in the hole area distribution cluster, S j is the area of ​​the hole region, j = 1, 2, …, K, S is the area of ​​the forage distribution image; The calculation method of the forage viscosity is: Among them, N is the viscosity of the forage, N1 is the distribution entropy of the cavity area, and con is the contrast information; The standard health data includes the livestock's eating action information, abnormal walking degree, body temperature, exercise volume and eating time; The contrast information calculation formula is: Among them, i, j represent the number of rows and columns of pixel pairs in the gray-level co-occurrence matrix, and P(i, j) represents the probability of the pixel pair appearing in the gray-level co-occurrence matrix.

2. The livestock health monitoring method based on artificial intelligence according to claim 1, characterized in that: The method for analyzing the multidimensional health data vector is specifically as follows: the multidimensional health data vector is input into an anomaly detection network, and the anomaly probability of each dimension is output.

3. The livestock health monitoring method based on artificial intelligence according to claim 2, characterized in that: The method for obtaining the eating time is specifically as follows: inputting the livestock image into the action recognition network, outputting the livestock eating state probability, and when the eating state probability is the largest, detecting the livestock eating action information, and obtaining the livestock eating time.

4. A livestock health monitoring system based on artificial intelligence, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of the livestock health monitoring method based on artificial intelligence as described in any one of claims 1 to 3 are implemented.