Livestock assessment system

The livestock assessment system addresses the challenges of tracking and assessing livestock by using a walk-through passage with computer vision and machine learning for accurate and stress-free animal identification and weight measurement, enhancing productivity and payment accuracy while optimizing breeding and reducing environmental impact.

WO2024174045A1PCT designated stage expired Publication Date: 2024-08-29MOCCUS MAXIMUS INC

Patent Information

Application Number
PCT/CA2024/050230
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2024-02-26
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Current methods for tracking and assessing livestock are labor-intensive, costly, and stressful for animals, leading to inaccuracies in weight measurement and market readiness assessment, which results in inefficiencies and discrepancies in payment and breeding practices.

Method used

A livestock assessment system using a walk-through passage with a vision system and computer vision to identify and assess individual animals' weight and condition without the need for stationary scales, utilizing machine learning algorithms for rapid and accurate data collection and integration into the supply chain.

Benefits of technology

The system minimizes animal stress, increases assessment speed and accuracy, and provides verifiable data for improved productivity, payment accuracy, and breeding optimization, reducing environmental impact by enhancing feed efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CA2024050230_29082024_PF_FP_ABST
    Figure CA2024050230_29082024_PF_FP_ABST
Patent Text Reader

Abstract

An assessment station for automatically identifying and assessing livestock, in particular a pig, utilises computer vison to capture characteristics that enable a predetermined condition, such as the mass, to be determined. The assessment permits checking for overall animal health and well¬ being, rate of growth, market-readiness, estimated time of arrival at the processing plant, carcass quality, and environmental footprint. Pigs pass through the station and images of the pigs are processed in a GPU using functions embodying machine learning algorithms to extract features indicative of the predetermined condition. The data set provides an input to a machine learning data processor which outputs a value of the condition, typically the mass. An identity is accorded to pig and the assessed value and identity correlated for continuing monitoring and assessment. The assessment station includes a walk-through support structure to orient the animals in a consistent position. Multiple walk-through support structures are connected side-by-side to allow multiple pigs to pass through the system simultaneously. The functions are trained from a global training database and after training, the developed algorithms are transferred to the local computer that processes the input images in real time as the pigs move through the assessment station. The mass of the pig may thus be determined without requiring weighing of the pig on a scale, thereby mitigating human intervention.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Livestock assessment system

[0002] Field of the Invention

[0003] 0001. The invention relates to a method and apparatus for assisting in the management of livestock.

[0004] Background of the Invention

[0005] 0002. The provision of livestock from the producer to the food processing industry is a highly integrated and carefully managed process. To be profitable, the producer must produce animals in good condition in a reliable time frame while having regard for best practices of animal welfare. This requires careful management of the livestock and awareness of their condition and growth.

[0006] 0003. Typically, this has been done by experienced herdsmen who monitor the livestock, adjust the feed rations, identify those that may have health conditions and determine when the animal is ready for market. However, the use of skilled people in this role is expensive, people with this skill set are increasingly rare, and the results depend on the ability of the herdsmen to assess the condition of the animal amongst a herd of similar animals.

[0007] 0004. Attempts have been made to apply technology to this situation to address some of the difficulties that arise and produce a more consistent supply of animals.

[0008] 0005. It is highly desirable to identify individual animals, such as grower pigs, so they can be tracked throughout their lifetimes in the barn and on into the pork processing facility. [1, Thblke, H.; Wolf, P. Economic Advantages of Individual Animal Identification in Fattening Pigs. Agriculture 2022, 72, 126., 2, Zhang L, Gray H, Ye X, Collins L, Allinson N. Automatic Individual Pig Detection and Tracking in Pig Farms. Sensors (Basel). 2019 Mar 8; 19(5): 1188] Tracking of individual animals has become increasingly important to consumers who demand to know more about the food they consume. If there is a disease outbreak in the human population caused by foodbome pathogens in, for example, pork products, individual identification of animals and the cumulation of data throughout the animal’ s lifetime, makes it possible to trace the cause of the outbreak back to the individual animal, should the cause be there. Identification of animals allows the tracking of treatments for individual animals providing evidence for regulators and consumers that demonstrates that proper disease treatment and control processes have been followed. Tracking of individual animals also allows measures of productivity and efficiency like growth rate and feed conversion to be assessed at the level of the individual animal rather than the group, so genetic lines can be better tracked for breeders and feed can be better adjusted according to individual rather than group specifications.

[0009] 0006. Also, if the animals can be tracked across the divide between the barn they come from and the processing plant where they are to be slaughtered then individual animals can be linked to their carcasses thereby allowing data to guide breeding and feeding of animals for optimal carcass qualities. Currently, producers receive kill sheets with their payments for shipment of market animals, but they cannot link the kill sheet information back to individual animals shipped so discrepancies in grading or payment cannot be known or challenged, and information for the producers to adjust breeding and feeding regimes is limited. 7. Tracking of animals such as feeder pigs can currently be accomplished with electronic ear tags or injected transponders and UHF RFID readers; however, this method of identification is problematic in that it is labor-intensive in terms of installation of the ear tags or transponders at birth, can be unreliable when ear tags come dislodged and are lost, and costly in terms of the cost of the ear tags and transponders themselves and the required UHF RFID reader(s). Electronic ear tags and transponders are also a concern at the processing plants where they must assure that no such foreign material gets lodged in the meat, which can be problematic. For these reasons, grower-finisher pigs typically only get electronic ear tags or injected transponders in breeding and research barns, and not in commercial bams. [3, Zhang L, Gray H, Ye X, Collins L, Allinson N. Automatic Individual Pig Detection and Tracking in Pig Farms. Sensors (Basel)] 8. Proper care of the animals requires continuously assessing the general health and well-being of individual animals. Early detection and treatment of respiratory problems is important for animal health and well-being. Respiratory ailments can be detected through coughing, rapid breathing, eye and ear-based temperature and heart rate all of which can be observed by a skilled technician. However, because of the time required for manual inspection, by the time these ailments are detectable, the condition may be severe. 9. Computer vision has been proposed to allow early intervention and treatment regimes to be triggered and implemented as early as possible for maximum effectiveness. [4, Jorquera-Chavez M, Fuentes S, Dunshea FR, Warner RD, Poblete T, Morrison RS, Jongman EC. Remotely Sensed Imagery for Early Detection of Respiratory Disease in Pigs: A Pilot Study. Animals (Basel). 2020 Mar 9; 10(3):451] Animal lameness can also be ascertained by computer vision, [5, Kang, X, Zhang, X, Liu, G. Accurate detection of lameness in dairy cattle with computer vision: A new and individualized detection strategy based on the analysis of the supporting phase, Journal of Dairy Science, Volume 103, Issue 11, 2020, Pages 10628-10638] again allowing for early diagnosis and treatment, where possible. 0. Lean growth rate is the major factor for determining the daily requirements for amino acids for the growing animals, and therefore is a major determining factor for the mix of diet to be fed to those animals. Assessing rate of growth for growing animals allows diet specifications to be timely and accurate. Feed produced and fed to grower pigs is swine’s largest contributor to greenhouse gas emissions, energy usage, water usage, and land occupation. [8, Heller, M. Food Product Environmental Footprint: Pork. 2017. A Report by: Sustainable Systems, University of Michigan, (Oct 10, 2022)] Any increase in feed efficiency not only enhances the growth rate but also reduces that environmental footprint. 1. To determine rate of growth of animals, they need to be weighed regularly to determine their change in weight. The weighing of feeder pigs with traditional load-sensor scales which require the pig to be stationary is stressful for pigs which can slow their growth. The stress caused by load-sensor weighing is also an animal welfare concern and therefore should be minimized. Accuracy of weighing can also be an issue since loadsensor scales require frequent calibration and can be affected by pig manure and general pig activity around them. Also, when pigs become stressed due to confinement on a scale, they tend to flail about making accurate readings of load-sensor scales difficult.

[0010] 0012. A further challenge is the assessment of market readiness for animals set, for delivery to for example, pork processing facilities. Payment grids provided by pork processors define the desired weight range for market-ready grower pigs. These grids list premiums for delivering pigs in the desired weight range and discounts for missing that range, either above or below, with the delivered pigs. Typically, feeder pigs are not weighed on a load-sensor scale prior to shipping to a processing plant because scaling in this way is labor-intensive and the pigs can be stressed by the process of weighing which can lead to diminished quality of the meat. [6, Stajkovic, S, Teodorovic, V, Baltic, M, Karabasil, N. Pre-slaughter stress and pork quality. 2017 IOP Conf. Ser.: Earth Environ. Sci. 85 012034] Rather, trained technicians walk through the groups of pigs slated for delivery and mark with livestock spray those selected for loading because they appear to be of the desired weight. This process can be highly inaccurate and can lead to kill sheets with substantial discounted valuations because many of the animals do not fall into the target weight range. [7, Abner, V.A. (2021) Accurate and Rapid Weight Assessment of Finishing Pigs, A thesis submitted to the Graduate Faculty of North Carolina State University in partial fulfillment of the requirements for the degree of Master of Science Animal Science Raleigh, North Carolina 2021]

[0011] 0013. The manual assessment of market readiness can result in discrepancies between the pork producers and pork processors. Market readiness assessment (mainly pig weight) can differ between the producing barn and the processing plant and the lack of tracking of the identities of the feeder pigs across the divide. Producers raise and deliver live pigs and processing plants convert them into hog carcasses. It is carcasses that the processors are procuring, and the pig valuations allocated to the producers reflect the quality of those carcasses. The problem is that many of the carcasses procured by processors do not meet the specifications needed for optimal valuations, so the valuations are discounted in settlements to the producer. The absence of verifiable data prevents these discrepancies in weight, or grading, or payment from being clearly identified and settled.

[0012] 0014. The determination of the estimated time of arrival for the pig at the processing plant is also a salient factor. Pork processing plants schedule their workforce and processing facilities for planned daily throughput. That planning and scheduling relies on estimated times of arrival for pigs from producers who have pigs contracted with them. Problems arise when estimated times of arrival vary from those expected and inefficiencies in processing result due to errors in allocation of workers and facilities.

[0013] 0015. It is therefore an object of the present invention to obviate or mitigate the above disadvantages by providing a method and apparatus in which identification and assessment of the animal may be conducted in a minimally invasive manner and the results integrated into the supply chain.

[0014] Summary of the Invention 6. According to the first aspect of the invention there is provided an assessment station for assessment of livestock comprising a pair of laterally spaced barriers to define an open ended walk-through passage, a floor between the barriers with fiduciary on the floor to provide a datum, a vision system mounted above the barriers directed to the floor and including a camera to obtain a sequence of images of an animal passing along said passage, and a computer vision system to analyse said images and determine the identity and condition of said animal. 7. Preferably, the assessment station is constructed so multiple walk-through support structures can be connected side-by-side to allow multiple pigs to pass through the system simultaneously which works well due to the herding instinct of the pigs. The multiple pig walkthrough increases the rate at which whole herds can be assessed. 8. In a training mode, to expedite the collection of images and weight estimates for algorithm development the weighing system uses high-frequency sampling of load-cell data to automatically estimate a pig’s weight as it walks through the scale, eliminating the need for the pig to remain still as must be done with conventional stationary pig load-cell scales. 9. Additional statements to be added by JO

[0015] Description of Preferred embodiment

[0016] 0020. An embodiment of the invention will now be described by way of example only with reference to the accompanying drawings in which:

[0017] 0021. Fig. 1 is a schematic view of a complex made up of a series of barns and a processing plant;

[0018] 0022. Fig. 2 is a side elevation of an assessment station used in the complex of Figure 1,

[0019] 0023. Fig. 3 is a perspective view of the assessment station of Fig. 2;

[0020] 0024. Fig. 4 is a plan view of a portion of the complex of Fig. 1;

[0021] 0025. Fig. 5 is an end view of the assessment station of Fig. 2.

[0022] 0026. Fig. 6 is a perspective view of multiple assessment stations of Fig.2 connected to process multiple pigs simultaneously;

[0023] 0027. Fig 7 is a schematic representation of an image processing function of a data collection system implanted wit hthe assessment station of Fig. 2; and,

[0024] 0028. Fig .8 is a schematic representation of a training system used with the data collection system of Figure 7.

[0025] 0029. Referring first to Figs. 1 and 2, livestock, which is shown as a grower pig P but could be other livestock such as beef calves or feeders, or lambs, is raised in a series of barns C, D, E, and delivered to a slaughter plant F that together form a food processing complex B. As the livestock matures, it is moved between different parts of the complex, B, that are often located on different physical sites. In the case of pigs, they may be moved from the sow barn C where the piglets will weigh 6-9kg. through the nursery D where they weigh up to 22kg, to the feeder barn E where they may reach weights of 100+kg and to the slaughter plant F where they are converted into a carcass. In each area up until slaughter the pigs are contained in pens and are supplied with food from sows (piglets) or feed and drinking stations (nursery and grower pigs). 0. As shown in Fig. 4, an assessment stations 10 are located in each area of the complex, B, on a path that the pigs travel. Each time the pigs leave one part C,D,E, of the complex, B, and enter another they pass through at least one assessment station 10, and preferably through an assessment station 10 located within each area, C,D,E. In this way individual pig movements may be tracked to assess one or more predetermined conditions of interest, such as mass of the pig, from which other criteria, such as rate of growth, health status, expected times of arrival, carcass quality, market readiness, and environmental footprint, can be assessed. Based on that assessment the pigs P can be assigned monetary values for settlement if the animal ownership changes hands between parts of the complex B. While residing in complex parts D and E, the pigs are also walked through an internal assessment station 10 on numerous occasions, with frequency determined by the information needs of the management. 1. In the parts of complex D and E, for example, the assessment station 10 may be positioned in a partition sub-dividing a particular area of the bam or in a doorway through which the livestock must pass to for example, get to a feeding station. Alternatively, the assessment station 10 may be positioned in an alley way through which the pigs are routinely walked through, or the assessment station 10 may be positioned in an exit doorway where the pigs are walked through to be loaded on a truck for transport to the next part of the complex. The assessment station 10 need not be permanently located at a particular location and can be moved between different locations within the barn complex as needed. 2. The assessment station 10 is shown in more detail in Figs. 2, 3, and 5 and includes a pair of shoulder bars 12, 14, that are laterally spaced and attached to the floor 22. Each of the shoulder bars 12, 14 has a pair of posts 20 connected by an upper horizontal rail 18 and a lower horizontal rail 24. The posts 20 and rails 18, 24 are formed from tubing to provide a smooth exterior surface and are located to inhibit the lateral passage of the livestock between the posts 20 and so guide the pigs P from one end of the assessment station 10 to the other. 3. The lower end of the posts 20 have flanges 26 with holes to receive bolts 28 and secure the shoulder bars 12, 14 to the floor 22 of the barn. The bolts 28 may be secured into the floor substrate or to the gap between slats as are commonly found in bam structures to hold the shoulder bars 12, 14 at the required lateral spacing. 4. A pair of posts 30 are connected to each of the rails 18 and project vertically upward. The posts 30 are positioned inwardly from the ends of the rail 18 and connected at their upper end by a top plate 32. The top plate 32 is solidly secured to the posts 30 so the entire station can be moved intact and reinstalled at different locations while maintaining the configuration of equipment mounted on the top plate 32. 5. The assessment station 10 supports a vision system that includes a video camera 34 and a high resolution camera 35, each of which is supported on a top plate 32 at a fixed distance from the floor and longitudinally and laterally centered between the laterally spaced shoulder bars 12, 14. The cameras 34, 35 are directed toward the floor 22 between the shoulder bars 12, 14. The camera 34 is used to acquire images of the pig for subsequent evaluation by a graphic processing unit 54 that forms part of the data collection system 50. The data collection system 50 is implemented using machine learning algorithms trained to perform specific functions as explained more fully below. 6. The second higher resolution camera 35 is used to acquire an image of a specific location or feature on the pig P to provide a characteristic signature, or “fingerprint” for the pig P. Typically this is derived from a pattern of hair in the region imaged by the camera 35. 7. A light 36 illuminates the floor 22 between the shoulder bars 12, 14 and a top light 48 signals to the users the state of the operating system of the station with colored light signals including “ready to receive a pig” (white light), “tracking pig” (blue light), “image taken” (purple light), “pig has reached a specified weight” (green light), and “pig has not reached a specified weight” (red light). 8. A single video camera 34 may be used as shown, but if preferred multiple cameras may be used at different locations of the assessment station to enhance the information contained in the images obtained. Where multiple cameras are used, the spatial relationship of the cameras on the assessment station 10 is fixed to provide consistent relationship between the images. 9. The floor 22 is configured to accommodate a load-cell floor scale 40 that has a scale head 38 and is responsive to the passage of livestock across the floor to give an indication of mass, as will be described more fully below. The load cell 40 is in place only during the training phase of the machine learning algorithms and is thereafter removed and no longer needed. 0. One or more spray heads 42 are secured to one of the posts 20 just above the rail 18 and positioned to overlie the pig P. The heads 42 are controlled remotely as explained below and are oriented so the spray is directed on the rear of the animals as they exit the assessment station 10. Each of the spray heads 42 includes a remotely activated nozzle 44 to spray downwardly. A self contained aerosol of marker fluid with an actuator to operate the nozzle is preferred but a separate pressurised reservoir connected by a tube to the nozzle can be used where large numbers of livestock are to be assessed. 1. The dimensions of the assessment station 10 will depend on the size of livestock to be processed. The length of the shoulder bars should be greater than the anticipated length of the livestock and typically will be between 6 and 144 inches. The height of the rail 18 from the floor may be between 6 and 48 inches and the height of the poles 30 between 6 and 180 inches. The spacing of the shoulder bars 12, 14 is sufficient to permit free passage of one animal but not so far apart as to permit two side by side. Typically, a spacing of between 6 and 48 inches is appropriate. 2. The assessment stations 10 may be arranged in sets of multiple stations 10, as shown in figure 6, with each assessment station 10 having its own camera 34, 35. The parallel arrangement of stations 10 allows the pigs to follow their natural herding instincts and increases the productivity of the of the complex B. 3. As noted above, the camera 34 forms part of the data collection and information system 50 that implements machine learning algorithms to assess a pig P against one or more predetermined conditions. In general terms, assuming the system 50 has been initialised and trained, the camera 34 is a video camera that delivers a continuous stream of frames over a wireless LAN 54 to a graphical processing unit (GPU) 52. The GPU 52 implements a number of image processing and data extraction algorithms in software using machine learning techniques to provide a data set of features indicative of the mass of the pig P. A data processor 56 operates on the data set to generate an assessment of the mass of the pig P passing through the station 10. 4. The image from the camera 35 is similarly processed in the GPU 52 to obtain a data set that can be used to generate an identity for the pig P. The assessment of the mass and the identity of the pig P are correlated as an output and stored in a local data base 58 and a cloud based data base 59. The assessed mass may be compared with preset values in a comparator 57 to operate the spray heads and / or light 48 to indicate attainment of a predetermined condition. 5. More specifically, as illustrated in Fig 7 and again assuming the system has been initialised and trained, each frame of the video stream from camera 34 is first processed by an object detection algorithm 60 that isolates the image of the pig P from the background and extraneous information. Such a function may be implemented using an object detection algorithm such as that known as YOLO available from V7 Ltd. Where the object of the pig P cannot be recognised, due to it being cropped in the image or partially covered by another pig, the frame is rejected. 6. Each object detected is passed to a segmentation function 62. The segmentation function may be implemented using a vision Al application such as that available as YOLO v7 within a Py Torch environment and separates multiple images that may arise in each frame. 7. The segmentation function 62 is also implemented to determine when a pig passes through the assessment station 10 to provide a count of the number of pigs processed. A counter 64 is incremented to indicate the total number of pigs processed in an assessment. The threshold for determining when a pig has crossed the station 10 may be chosen to suit particular circumstances but it has been found that the centroid of the pig crossing the frame is a good indicator. 8. After segmentation, the image is passed to a pose detection function 66 that may be implemented using a commercially available neural network such as Perceptron 2. The pose detection function identifies the stance of the pig on the assessment station and therefore may predict key points that are not visible to the camera due to the stance of the pig. A “not visible” indication is returned for hidden keypoints. 9. The image is then passed to a feature extraction function 68 that identifies and marks criteria found to be indicative of the predetermined condition being assessed, in this example the mass of the pig P. By way of example, suitable features include the curvature of the spine, width of hips, width of shoulder, total pixels used to represent the image, and the colour or intensity of the image. Additionally, insignificant parts of the pig for market weight estimation may be excluded, such as the region from the neck to the snout and momentarily visible limbs from the overhead perspective. 0. The values obtained from the feature extraction provide a data set that is used as inputs to a neural network 70 that performs an image regression function. A suitable neural network is that available as open source API under the name KERAS. As implemented, the neural network has an input layer, and output layer and multiple hidden layers. The connections within the network are weighted based on the training of the network as will be described below. The output from the neural network is the assessed mass of the pig P that has been imaged. 1. The identity of an individual pig P may be determined using the second high resolution camera 35. The camera 35 is focused on a particular area of the pig when in the assessment station 10 and obtains an image of characteristic features in that area. The pattern of the hair on a particular area of the skin of the pig P has been found to be a unique identifier within a relatively large group of pigs and may be used as a “fingerprint” of the pig P. 2. The image obtained from the camera 35 is processed in a maimer similar to that of the camera 34 and is processed through an object detection function 80 followed by pig segmentation 82 and pose detection 84. 3. The features of the area of interest and the location of the area relative to keypoints is extracted (86) from the image and used to generate an identity ID accorded to the fingerprint of the pig as indicated at 88. The identity ID is validated against previously obtained identities to confirm that the pig P has been enrolled in the system 50 and a correct identification made. 4. The identity ID is associated with the assessed mass of the pig P and entered into local database 58 for subsequent use and comparison. The output from the neural network 70 may be used to operate the spray heads 42 indicating a particular state of the pig against threshold values. The output may also be used in management functions to assess other parameters, such as the growth performance of the pigs, their readiness for market etc. and is stored in local data base 58. 5. Each time the pig P passes through the assessment station 10, its identity may be recognised from the image obtained by the camera 35 and its mass updated in the database 58 and added to the history of the pig for future reference. 6. The assessed mass of the pig P can thus be obtained without the use of scales or human intervention with the pig P, which reduces the stress on the animal and facilities rapid processing of the livestock. 7. To obtain an assessment of the mass of the pig P, it is necessary to initialise and train the machine learning algorithms and obtain the optimum weights between the nodes of the neural networks implementing those functions. Referring to Fig 8, the functions are trained using a global training dataset 89 that provides a data set that correlates image features to mass. The global training dataset 89 may be supplied as part of the system 50 or may be generated locally from a subset of the pigs P in the complex B. 8. When the global training data set is used, the functions of the GPU 52 and data processor 56 may be trained without involvement of individual pigs P and the assessment of the pigs P in the complex B can proceed after enrollment of the pigs P that are in the complex B. 9. Where the global training data set 89 is not available, it may be generated locally from pigs within the complex. A subset of pigs P is selected and weighed individually on a stationary scale. An image of each pig in the subset is obtained from the camera 34 and to initialise the data set, data points are added manually. Once sufficient data points are obtained, the process may transition to an automated process using the output of the load cell 40 and image processing functions. 0. The mass of the pig 40 being imaged is obtained from the load cell 40 that is mounted in the assessment station 10. The output of the load cell 40 is processed in parallel to the image processing to provide a reference value against each image processed. Whilst any suitable load cell 40 may be used to obtain an indication of mass, it is preferred that the mass of the pig is obtained from the load cell 40 under conditions that correspond to those used when the pigs are imaged. 1. The load cell 40 may be of any convenient form such as that available from Global Industrial under product number T97244243. Each load cell is rectangular in shape, measuring approximately 1.48 meters in length and 0.51 meters in width, with a short slope on both sides leading to a large flat platform in the middle. Each scale is equipped with four 300-ohm strain gauges affixed to each contact point. The surface of the load cell is coated with a common epoxy paint mixed with play sand to create a neutral, nonreflective surface that closely mimics the concrete slats used in commercial bams. This provides a non-slip surface to ensure that the pigs could maintain their footing and have all four hooves on the scale without slipping. 2. The output from the load cell 40 is fed to a dynamic weight capture function 90 where it is sampled by an Analog-to-Digital Converter (ADC). A sample rate of 200 Hz has been found satisfactory. The ADC is a Digital Strain Guage Converter to USB (DSCusb) from Mantracourt. The DSCusb converter is powered via the USB bus, eliminating the need for an additional power supply. 3. The output from the ADC is processed using a binary segmentation method to split each walk-through of the pig P into individual steps, which allows the weight distribution for each step to be analysed separately. Using a change point detection on the walk -through data, the data is split into three segments and the segment with the highest average as the plateau of the walk -through identified. Walk-through samples that are too short are removed from the dataset. 4. A Time Series Feature Extraction Library (TSFEL) 92, which is a Python library designed to automatically extract features from time series data, is used to extract features from the plateau segments. The TSFEL provides a comprehensive set of features that can be calculated from time series data, including statistical, spectral, and temporal features. These features can capture various aspects of the time series, such as trends, patterns, and anomalies, which can be useful for various tasks such as classification, regression, and anomaly detection. 5. The TSFEL 92 is used to extract features from the plateau segments of the walk-through samples. These features capture the characteristics of the weight measurements during the period when the pig is fully on the scale, which is the most relevant part of the walk-through for weight estimation. 6. TSFEL is highly flexible and customizable allowing selection of the features to calculate and how to calculate them. It also handles the preprocessing of the time series data, such as resampling and smoothing, which can be important for ensuring accurate and meaningful feature extraction. By using TSFEL, it is feasible to efficiently and effectively transform the high-frequency sampling data into a form that can be used for machine learning. 7. After extracting features from the data provided by the load cell 40, feature scaling and selection function 94 is used to ensure that all features have the same scale, which is important for many machine learning algorithms. This can be done using a commercially available API such as the MinMaxScaler from the skleam library to scale the features. 8. Feature selection, can be performed using the GradientBoostingRegressor 96, also from the skleam library. The model is trained on the data and used to rank the importance of the features. The more significant features, for example the top 10% of features based on this ranking, may be used as inputs. This process of feature scaling and selection further refines the dataset, ensuring that the machine learning models would only be trained on the most relevant features. 9. A regression function 98 is implemented in a Convolutional Neural Network (CNN) Model designed with a focus on simplicity and efficiency. The model consists of multiple layers, including dense (fully connected) layers, ReLU (Rectified Linear Unit) activation layers, and normalization layers. The input layer takes in the features which are selected as the most informative from the original feature set using the GradientBoostingRegressor together with the image data and the output of the function is the image regressions function that correlates change of image to change of mass of the pig P. 0070. In an exemplary CNN, following the input layer, the architecture of the model is composed of repeating blocks, each block consisting of a dense layer with 32 neurons followed by a ReLU activation layer. After each block, a normalization layer is applied to standardize the inputs for the next block. This pattern repeats five times, creating a deep network of alternating dense, ReLU activation, and normalization layers. The final layer of the model is a dense layer with a single neuron, which outputs the assessed mass of the pig P. This model architecture provides a balance between complexity (to capture the underlying patterns in the data) and simplicity (to avoid overfitting and ensure efficient training). The output is provided to the global training data set 89 together with the image features and an ID attributed to the imaged pig P.

[0026] 0071. The identity of the pig P is generated during an enrollment process for new pigs introduced to the complex B, also shown in Fig 8. The high resolution camera 35 captures an image of a small area of the pigs skin that exhibits a unique characteristic, as discussed above to produce an ID. As the area of the pig P being imaged may change due to external influences encountered in the complex B, the signature extraction features are provided to a Siamese network 99 for comparison with prior or subsequent signatures. The ID is stored on an ID database 100 with the image features.

[0027] 0072. The enrollment continues for all newly introduced pigs P so the ID database 100 contains a locally stored record of all pigs within a particular area of the complex. The ID is also provided to the global training dataset 98 for record keeping.

[0028] 0073. The locally generated global training database 98 may then be used to train the functions of the GPU 52 and data processor 56, and, after training, the assessment of the pigs P may proceed. The load cell 40 may be removed from the assessment station 10 as the assessment of the mass is obtained from information within the image of the pig P.

[0029] 0074. In use, one or more assessment stations 10 are located within the bam complex and ideally in a path along which the livestock is constrained to move. By way of example, an assessment station 10 is located in the feeder bam E to monitor feeder pig rate of growth and another assessment station 10 is located in a doorway separating the bam from an outside lot for the pigs to pass through when they are loaded to be transported to the processor F. The assessment station is constructed so multiple walk-through support structures (Figure 6) can be connected side-by-side to allow multiple pigs to pass through the system simultaneously which works well due to the herding instinct of the pigs. The multiple pig walk -through increases the rate at which whole herds can be assessed.

[0030] 0075. The pigs P to be assessed pass between the shoulder bars 12, 14 of each assessment station 10 as a single line of animals. The configuration of the bars 12, 14 as an open-ended passage allows the animals to proceed without undue stress and the elevated structure of the top-plate 32 does not present a barrier to passage. The requirement for the pigs P to walk over the load-sensor floor scale is only in effect during the model training stage, otherwise they simply walk through the station with their feet on the normal slatted bam floor.

[0031] 0076. If not already done during training, the camera 35 is used to emoll each animal in the particular bam the first time the pigs P pass through an assessment station 10, typically as they enter the bam for the first time. The image from the camera 35 generates an ID to identify individual pigs that is recorded in the ID database 100.

[0032] 0077. Thereafter, movement of the pig P through the assessment station 10 generates an assessment of the mass from the data set produced from the image of camera 34 and the identity ID of the pig P obtained from the image of camera 35. The ID is validated with the ID’s enrolled in the ID database 100. The parameters are recorded in the local database 58 and in the cloud database 59 for management purposes.

[0033] 0078. An assessment is thus obtained that allows mass to be assessed from the image. In further passes through the assessment station 10, the ongoing use of the load cell is not required, and pigs can be moved through the station at high speed without loss of accuracy. If the genetics of the animal changes or varies farm-to- farm, a re-calibration can be made at each farm to generate a local global training dataset to take in to account the different characteristics. Algorithms can thus be trained to make them custom applications for each farm.

[0034] 0079. Whilst the mass of the pig P has been exemplified as the predetermined condition to be assessed, it will be appreciated that the system 50 may also be utilised to identify characteristics associated with early stages of a disease, such as lameness, glazing of the eye, ear-based temperature, or respiratory rates. Indicative characteristics may be extracted from the image in parallel to the assessment of the mass. If a condition is detected, the spray head 42 may be activated to mark the animal and allow it to be identified in the herd for further investigation. Multiple predetermined conditions may be monitored in parallel with implementation of different functions using the image obtained from the cameras 34, 35.

[0035] 0080. Successive passes of the animals through the assessment station 10 allow the development of the animals to be monitored and ultimately their market readiness assessed. The growth rate may be obtained by examination of successive records of a particular animal. By monitoring the growth rate, the anticipated delivery to market can be forecasted and communicated with the processing plant to allow efficient scheduling.

[0036] 0081. The consistent monitoring also allows feed patterns to be assessed and adjusted to optimise utilisation of feedstock to reduce waste and environmental footprint.

[0037] 0082. As the animals mature, they will attain a size suitable for market. As they pass through the assessment station, those animals meeting marketable conditions are detected and marked by one of the spray heads 42. Alternatively the farmer can use a swing gate that opens one way for market-ready pigs to proceed to the truck for transport to the slaughter plant and the other way for pigs not-yet-ready to be returned to their pens. The identity of the animals is also noted.

[0038] 0083. At the processing plant, the animals are again passed through an assessment station and identified using the data base made available by the producer and the identification protocol utilised by the processor cross referenced to that of the producer. The identification data stored on the server can also be made available to the processing plant which can use an assessment station to identify the livestock delivered and associate it with a carcass using their internal tracking protocols.

[0039] 0084. After processing, the processing plant provides a listing and evaluation of the carcasses, together with their grading. The grading of individual carcasses can be compared by the producer with the records of live animals from the bam and any discrepancies identified and queried. The feedback for the processor allows further refinement of the vision system to modify the evaluation of market readiness.

[0040] 0085. The provision of the assessment station ensures that the animals may be monitored in a consistent basis with minimal stress and trauma and with minimal human intervention. The assessment station is constructed so multiple walk-through support structures (Figure 6) can be connected side-by-side to allow multiple pigs to pass through the system simultaneously which works well due to the herding instinct of the pigs. The multiple pig walk-through increases the rate at which whole herds can be assessed.

Claims

What we claim is:-1. A livestock management system for assessment of livestock comprising an assessment station for directing livestock along a predetermined path, a vision system mounted relative to said assessment station and including a first camera to obtain an image of livestock moving along said predetermined path, a graphical processing unit to process said image from said first camera and extract therefrom a data set of features indicative of a predetermined physical condition of said livestock, and a data processor to process said data set and obtain therefrom a value of said predetermined physical condition.

2. The livestock management system of claim 1 wherein said data processor is implemented as a machine learning algorithm.

3. The livestock management system of claim 2 wherein said data processor is a neural network.

4. The livestock management system of claim 3 wherein said data set is provided as inputs to said neural network.

5. The livestock management system of any one of claims 1 to 4 wherein said predetermined condition is the mass of the livestock.

6. The livestock management system of any one of claims 1 to 5 wherein said graphical processing unit extracts information from which an identity of said animal may be accorded.

7. The livestock management system of claim 6 wherein vision system includes a second camera to obtain an image of a specific location on said livestock and said graphical processing unit extracts data from the image of said second camera to generate an identity.

8. The livestock management system of any one of claims 6 and 7 wherein said value of said predetermined condition and said identity are correlated and stored in a data base.

9. The livestock management system of any one of claims 6 to 8 wherein an identity of said animal obtained by said graphical processing unit is validated against identities previously obtained.

10. The livestock management system according to any one of claims 1 to 9 wherein said graphical processing unit operates on said image from a first camera to detect an object corresponding to said livestock and extract therefrom values of characteristics indicative of said predetermined condition.

11. The livestock management system of claim 10 wherein said graphical processing unit further operates to segment objects detected on said image and operates on each of said segmented objects.

12. The livestock management system of claim 11 wherein said graphical processing unit determines a pose of said livestock.

13. The livestock management system of any one of claims 1 to 12 wherein said data set includes values of features selected from the group comprising the curvature of the spine, width of hips, width of shoulder, total pixels used to represent the image, and the colour and intensity of the image.

14. The livestock management system of any one of claims 1 to 13 wherein each of said assessment stations includes a pair of laterally spaced bars to guide said livestock along a predetermined path and an elevated support above and between said bars to support said camera.

15. The livestock management system of claim 14 wherein a plurality of assessment stations are arranged in parallel.

16. The livestock management system of any one of claims 1 to 15 wherein a marker is associated with each of said assessment stations and said marker is operated upon attained of a preset value of said predetermined condition.

17. A method of assessing a predetermined condition in livestock comprising the steps of guiding an animal along a predetermined path, obtaining an image of said animal as it passes along said path, extracting from said image a data set of features indicative of said predetermined condition, using said data set as an input to a data processor and obtaining from said data processor a value indicative of said predetermined condition.

18. The method of claim 17 including the step of generating an identity of said animal and associating said identity with said value obtained from said data processor.

19. The method of any one of claims 17 and 18 wherein said data processor implements a machine learning algorithm on said data set to obtain said value.

20. The method according to any one of claims 17 to 19 including processing said image in a graphical processing unit to extract said data set of features.

21. The method of claim 20 wherein said graphical processing unit implements machine learning algorithms to extract said data set.

22. The method of claim 21 wherein said graphical processing unit implements functions to detect an object in said image and to segment said objects in said image.

23. The method of claim 22 wherein said graphical processing unit implements a function to determine the pose of the animal in the assessment station.

24. The method of any one of claims 17 to 23 including counting said animals as they pass through said predetermined path.

25. The method of anyone of claims 19 to 22 including the step of training said machine learning algorithms from a global training data set.

26. A livestock assessment station including a pair of laterally spaced bars to guide said livestock along a predetermined path and an elevated support above and betweensaid bars to support a camera to image an animal passing along said predetermined path.

27. The livestock assessment station according to claim 26 wherein a second camera is provided on said support.

28. The livestock assessment station of any one of claims 26 and 27 including a marker positioned on said bars to mark an animal as it passes along said predetermined path.

Citation Information

Patent Citations

  • Imaging and three dimensional reconstruction for weight estimation

    US10701905B2

  • A method and apparatus for determining the identity of an animal of a herd of animals

    US20220284725A1

Cited By

  • Rapid detection system for porcine intestinal coronavirus

    CN119453102A

  • Intelligent counting and weight detecting method and device for livestock

    CN121438175A