IP Library Granted Patent US 12,499,560
Granted Patent B2
US 12,499,560 · App. 18/001,965 · Granted Dec 16, 2025

Materials and methods for long-term tracking of group-housed livestock

Inventors: Eric T. Psota (Lincoln, NE); Lance C. Perez (Lincoln, NE); Ty Schmidt (Eagle, NE); Benny Mote (Lincoln, NE)
Assignee: NUtech Ventures
G06T7/246A01K11/006G06T7/73G06V10/764G06V10/82G06V20/40G06V40/10G06T2207/10016G06T2207/20076G06T2207/20084G06T2207/30204
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,499,560
App. No.
18/001,965
Granted
Dec 16, 2025
Kind
B2
Abstract

The invention relates to a computer-implemented method of tracking animals is provided. Such a method typically includes recognizing, by using at least one data processor, individual animals in images of a plurality of the animals; and tracking the animals using a probabilistic tracking-by-detection process. In another aspect, a system for recognizing animals is provided. Such a system typically includes an instance detection and part localization module; a visual marker classification module; a fixed-cardinality track interpolation module; and a maximum a posteriori estimation of animal identity module.

Claims (52)

1 . A computer-implemented method of tracking animals, the method comprising:

recognizing, by using at least one data processor, individual animals in images of a plurality of the individual animals;

tracking the individual animals using a probabilistic tracking-by-detection process;

using association vectors generated by a classification network to evaluate a probability that an ear tag belongs to a particular animal in the plurality of the individual animals; and

initializing the probability with a uniform probability, wherein for each ear tag and each detected instance of an animal in the plurality of the individual animals, the probability is modified using a weighted summation of an output of the classification network and the uniform probability.

2 . The method of claim 1 , further comprising:

using fixed cardinality of the individual animals to generate a continuous set of tracks of the plurality of the individual animals, and

using a forward-backward algorithm to assign ear-tag identification probabilities to each detected animal in the plurality of the individual animals, wherein the plurality of the individual animals have ear tags and the method further comprises using the classification network to assign unique identification to each detected animal.

3 . The method of claim 1 , further comprising using a deep, fully-convolutional network to detect each animal in the plurality of the individual animals as a collection of anatomical features.

4 . The method of claim 1 , further comprising:

using ear tags for visual identification of each animal in the plurality of the individual animals; and

using a maximum a posteriori (MAP) forward-backward process to assign ear tag identities to each animal by merging ear tag classification probabilities with identified frame-to-frame movements for the animal.

5 . The method of claim 1 , further comprising processing frames of a video using an instance detection and part localization module to detect target animals in the plurality of the individual animals and determine image coordinates of each detected target animal.

6 . The method of claim 1 , wherein recognizing individual animals comprises (i) recognizing a plurality of body parts of the plurality of the individual animals based on processing image data of the plurality of the individual animals and (ii) determining first estimated positions of the plurality of body parts, wherein the plurality of body parts include a plurality of types of body parts.

7 . The method of claim 6 , further comprising (i) recognizing a plurality of first associations of body parts based on processing the image data and (ii) determining relative positions of body parts in each first association, wherein each first association identifies a relationship between a body part of an animal and at least one other body part of the same animal.

8 . The method of claim 1 , wherein the individual animals are tracked with an average precision and recall greater than 50%.

9 . The method of claim 1 , further comprising providing a probabilistic framework for merging classification likelihoods to detections of the individual animals.

10 . The method of claim 1 , further comprising:

applying at least one recognition module to at least one image of animals to recognize body parts of the animals, in which the body parts include a plurality of types of body parts, and the at least one recognition module outputs first estimated positions of the recognized body parts in the at least one image;

applying the at least one recognition module to the at least one image of animals to recognize first associations of body parts of the animals, in which each first association of body parts associates a body part of an animal with at least one other body part of the same animal, and the at least one recognition module outputs relative positions of the body parts in each recognized first association of body parts;

determining, based on the first estimated positions of the recognized body parts and the relative positions of the body parts in the recognized first associations of body parts, second associations of body parts in which each second association of body parts associates a recognized body part of an animal with at least one other recognized body part of the same animal; and

recognizing individual animals in the at least one image based on the second associations of body parts of the animals.

11 . The method of claim 1 , further comprising:

applying at least one recognition module to at least one image of animals to recognize individual body parts of the animals,

wherein the at least one recognition module outputs first estimated locations of the recognized individual body parts in the at least one image;

applying the at least one recognition module to the at least one image of animals to recognize groups of body parts of the animals,

wherein the at least one recognition module outputs relative positions of the body parts in each recognized group of body parts;

determining associations of recognized individual body parts based on (i) the first estimated locations of the recognized individual body parts of the animals and (ii) the relative positions of the body parts in the recognized groups of body parts; and

recognizing individual animals in the at least one image based on the associations of recognized individual body parts of the animals.

12 . The method of claim 1 , further comprising:

applying at least one recognition module to at least one image of pigs to recognize body parts of the pigs, in which the body parts include shoulder portions, tail portions, left ears, and right ears of the pigs,

wherein the at least one recognition module outputs first estimated locations of the recognized shoulder portions, the recognized tail portions, the recognized left ears, and the recognized right ears in the at least one image;

applying the at least one recognition module to the at least one image of pigs to recognize pairs of body parts of the pigs, including recognizing a pair of shoulder portion and tail portion of each of at least some of the pigs, recognizing a pair of shoulder portion and left ear of each of at least some of the pigs, and recognizing a pair of shoulder portion and right ear of each of at least some of the pigs, and

wherein the at least one recognition module outputs a position of the tail portion relative to the corresponding shoulder portion in each recognized pair of shoulder portion and tail portion, a position of the left ear relative to the corresponding shoulder portion in each recognized pair of shoulder portion and left ear, and a position of the right ear relative to the corresponding shoulder portion in each recognized pair of shoulder portion and right ear;

determining, for each of at least some of the recognized shoulder portions, an association with a recognized tail portion, a recognized left ear, and a recognized right ear of the same pig based on (i) the first estimated positions of the recognized shoulder portions, tail portions, left ears and right rears, and (ii) the relative positions of the tail portion and the corresponding shoulder portion in each recognized pair of shoulder portion and tail portion, the relative positions of the left ear and the corresponding shoulder portion in each recognized pair of shoulder portion and left ear, and the relative position of the right ear and the corresponding shoulder portion in each recognized pair of shoulder portion and right ear; and

recognizing individual pigs in the at least one image of pigs based on the associations of recognized shoulder portions with recognized tail portions.

13 . The method of claim 1 , wherein recognizing individual animals comprises using a convolutional detector to recognize the individual animals to provide visible key points of the individual animals, and

wherein the probabilistic tracking-by-detection process comprises using, as input, the visible key points of the individual animals provided by the convolutional detector to track the animals over a period of time.

14 . The method of claim 7 , further comprising:

determining, based on the first estimated positions of the plurality of body parts and the relative positions of body parts in the first associations, a plurality of second associations of body parts, wherein each second association identifies a relationship between a body part of an animal and at least one other body part of the same animal; and

recognizing the individual animals in the image data based on the second associations.

15 . The method of claim 1 , further comprising:

determining a first probability of observation given a specific identity for the particular animal;

determining a second probability of the particular animal transitioning between frames from one location to another; and

using the first and second probabilities to calculate a Maximum A-Posteriori (MAP) estimate of an identity of the particular animal.

16 . A system for tracking animals, comprising:

at least one data processor; and

at least one storage device storing instructions that when executed by the at least one data processor, cause the system to perform operations that include:

recognizing, by using the at least one data processor, individual animals in images of a plurality of the individual animals;

tracking the individual animals using a probabilistic tracking-by-detection process;

using association vectors generated by a classification network to evaluate a probability that an ear tag belongs to a particular animal in the plurality of the individual animals; and

initializing the probability with a uniform probability, wherein for each ear tag and each detected instance of an animal in the plurality of the individual animals, the probability is modified using a weighted summation of an output of the classification network and the uniform probability.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 20, 2023
From: PSOTA, ERIC T.; PEREZ, LANCE C.; SCHMIDT, TY; MOTE, BENNY
To: NEBRASKA, BOARD OF REGENTS OF THE UNIVERSITY OF
Reel/Frame 062432/0212 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 20, 2023
From: BOARD OF REGENTS OF THE UNIVERSITY OF NEBRASKA
To: NUTECH VENTURES
Reel/Frame 062432/0227 →
Continuity (2)
Provisional Application 63040951 · Jun 18, 2020
Related Publication 20230230258A1 · Jul 20, 2023
References Cited (90)
US 8391548B1 · Medioni · 2013 [cited by examiner]
US 10762644B1 · Mahadevan · 2020 [cited by examiner]
US 20030058340A1 · Lin · 2003 [cited by examiner]
US 20060215880A1 · Berthilsson · 2006 [cited by examiner]
US 20080059885A1 · Loui · 2008 [cited by examiner]
US 20110135166A1 · Wechsler · 2011 [cited by examiner]
US 20160026895A1 · Huffman et al. · 2016 [cited by applicant]
US 20180228129A1 · Yajima · 2018 [cited by examiner]
US 20190096066A1 · Chen · 2019 [cited by examiner]
US 20190138801A1 · Psota · 2019 [cited by examiner]
US 20200120899A1 · Labrecque et al. · 2020 [cited by applicant]
US 20200226360A1 · Bouchard et al. · 2020 [cited by applicant]
US 20210134387A1 · McMaster-Schraiber · 2021 [cited by examiner]
US 20230230258A1 · Psota · 2023 [cited by examiner]
An Algorithm for Multiple Object Trajectory Tracking. Han et al. (Year: 2004). [cited by examiner]
Multi-Pig Part Detection and Association with a Fully-Convolutional Network. Psota et al. (Year: 2018). [cited by examiner]
Alvarenga et al., “Using a three-axis accelerometer to identify and classify sheep behaviour at pasture,” Appl. Anim. Behav. Sci., Aug. 2016, 181:91-99. [cited by applicant]
Andriluka et al., “Paper: 2d human pose estimation: New benchmark and state of the art analysis,” Paper, Presented at Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, Jun… [cited by applicant]
Ardö et al., “Convolutional neural network-based cow interaction watchdog,” IET Comput. Vision, 2017, 12(2):171-177. [cited by applicant]
Banhazi et al., “Precision livestock farming: An international review of scientific and commercial aspects,” Int. J. Agric. Biol. Eng., Jan. 2012, 5(3):1-9. [cited by applicant]
Bochinski et al., “Paper: High-speed tracking-by-detection without using image information,” Paper, Presented at Proceedings of the 2017 14th IEEE International Conference on Advanced Video and Signal Based Surveillance… [cited by applicant]
Burgunder et al., “Fractal measures in activity patterns: Do gastrointestinal parasites affect the complexity of sheep behaviour?,” Appl. Anim. Behav. Sci., Aug. 2018, 205:44-53. [cited by applicant]
Cao et al., “Paper: Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields,” Paper, Presented at Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, Jul. 21-26, 2017… [cited by applicant]
Chen et al., “Markov Approximation for Combinatorial Network Optimization,” IEEE Trans. Inf Theory, 2013, 59:6301-6327, 17 pages. [cited by applicant]
Chen et al., “Paper: Encoder-decoder with atrous separable convolution for semantic image segmentation,” Paper, Presented at Proceedings of the European conference on computer vision (ECCV), Munich, Germany, Sep. 8-14, … [cited by applicant]
Choi et al., “Individual Pig Detection Using Kinect Depth Information,” KIPS Trans. Comput. Commun. Syst., 2016, 5(10):319-326 (with English abstract). [cited by applicant]
Clark et al., “An advanced, low-cost, GPS-based animal tracking system,” Rangeland Ecol. Manag., May 2006, 59(3):334-340. [cited by applicant]
Cordts et al., “Paper: The cityscapes dataset for semantic urban scene understanding,” Paper, Presented at Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, Jun. 26-Jul. 1, 20… [cited by applicant]
Dehghan et al., “Paper: GMMCP Tracker: Globally optimal generalized maximum multi clique problem for multiple object tracking,” Paper, Presented at Proceedings of the IEEE Conference on Computer Vision and Pattern Recog… [cited by applicant]
Deng et al., “Paper: ImageNet: A large-scale hierarchical image database,” Paper, Presented at Proceedings of the 2009 IEEE conference on computer vision and pattern recognition, Miami Beach, FL, Jun. 25-29, 2009, pp. 2… [cited by applicant]
Escalante et al., “Sow-activity classification from acceleration patterns: A machine learning approach,” Comput. Electron. Agric., Apr. 2013, 93:17-26. [cited by applicant]
Everingham et al., “The PASCAL visual object classes challenge: A retrospective,” Int. J. Comput. Vision, 2015, 111:98-136, 39 pages. [cited by applicant]
Feng et al., “Development and evaluation on a RFID-based traceability system for cattle/beef quality safety in China,” Food Control, Jun. 2013, 31(2):314-325. [cited by applicant]
Fernandes et al., “A novel automated system to acquire biometric and morphological measurements, and predict body weight of pigs via 3D computer vision,” J. Anim. Sci., 2018, 97:496-508. [cited by applicant]
Floyd, “RFID in animal-tracking applications,” IEEE Potentials, Sep. 2015, 34:32-33. [cited by applicant]
Giancola et al., “Paper: UWB MAC and network solutions for low data rate with location and tracking applications,” Paper, Presented at Proceedings of the 2005 IEEE International Conference on Ultra-Wideband, Zurich, Swi… [cited by applicant]
Girshick et al., “Paper: Rich feature hierarchies for accurate object detection and semantic segmentation,” Paper, Presented at Proceedings of the IEEE conference on computer vision and pattern recognition, Columbus, OH… [cited by applicant]
Hansen et al., “Towards on-farm pig face recognition using convolutional neural networks,” Comput. Ind., Jun. 2018, 98:145-152. [cited by applicant]
He et al., “Paper: Deep residual learning for image recognition,” Paper, Presented at Proceedings of the IEEE conference on computer vision and pattern recognition, Las Vegas, NV, Jun. 26-Jul. 1, 2016, pp. 770-778, 12 p… [cited by applicant]
He et al., “Paper: Mask r-cnn,” Paper, Presented At Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, Oct. 22-29, 2017, 9 pages. [cited by applicant]
Huang et al., “Paper: Densely connected convolutional networks,” Paper, Presented at Proceedings of the IEEE conference on computer vision and pattern recognition, Venice, Italy, Oct. 22-29, 2017, pp. 4700-4708. [cited by applicant]
International Preliminary Report on Patentability in International Appln. No. PCT/US2021/037967, mailed Dec. 29, 2022, 8 pages. [cited by applicant]
International Search Report and Written Opinion in International Appln. No. PCT/US2021/037967, mailed Sep. 22, 2021, 11 pages. [cited by applicant]
Iredale et al., “The influence of observer presence on baboon ( [cited by applicant]
Jack et al., “The effects of observer presence on the behavior of Cebus capucinus in Costa Rica,” Am. J. Primatol., May 2008, 70(5):490-494. [cited by applicant]
Jia et al., “Paper: Caffe: Convolutional architecture for fast feature embedding,” Paper, Presented at Proceedings of the 22nd ACM international conference on Multimedia. ACM, Orlando, FL, Nov. 3-7, 2014, pp. 675-678, 4… [cited by applicant]
Ju et al., “A Kinect-Based Segmentation of Touching-Pigs for Real-Time Monitoring,” Sensors, May 2018, 18(6):1746, 24 pages. [cited by applicant]
Kashiha et al., “Automatic monitoring of pig locomotion using image analysis,” Livest. Sci., Jan. 2014, 159:141-148, 19 pages. [cited by applicant]
Kim et al., “Depth-Based Detection of Standing-Pigs in Moving Noise Environments,” Sensors, Nov. 2017, 17(12):2757, 19 pages. [cited by applicant]
Kim et al., “Paper: Animal situation tracking service using RFID, GPS, and sensors,” Paper, Presented at Proceedings of the 2010 Second International Conference on Computer and Network Technology (ICCNT), Bangkok, Thail… [cited by applicant]
Kirk, “NVIDIA CUDA software and GPU parallel computing architecture,” Paper, Presented at Proceedings of the ISMM, New York, NY, May 19-25, 2007, pp. 103-104, 65 pages. [cited by applicant]
Kongsro, “Estimation of pig weight using a Microsoft Kinect prototype imaging system,” Comput. Electron. Agric., Nov. 2014, 109:32-35. [cited by applicant]
Krizhevsky et al., “Paper: ImageNet classification with deep convolutional neural networks,” Paper, Presented at Proceedings of the Advances in neural information processing systems, Lake Tahoe, NV, Dec. 3-8, 2012, pp. … [cited by applicant]
Lao et al., “Automatic recognition of lactating sow behaviors through depth image processing,” Comput. Electron. Agric., Jul. 2016, 125:56-62. [cited by applicant]
LeCun et al., “Gradient-based learning applied to document recognition,” Proc. IEEE, 1998, 86:2278-2324. [cited by applicant]
Lee et al., “Automatic Recognition of Aggressive Behavior in Pigs Using a Kinect Depth Sensor,” Sensors, May 2016, 16(5):631, 11 pages. [cited by applicant]
Leruste et al., “Effects of the observation method (direct v. from video) and of the presence of an observer on behavioural results in veal calves,” Animal, Nov. 2013, 7(11):1858-1864. [cited by applicant]
Lin et al., “Paper: Microsoft COCO: Common objects in context,” Paper, Presented at Proceedings of the European Conference on Computer Vision, New-York, NY, Sep. 6-12, 2014, pp. 740-755. [cited by applicant]
Liu et al., “Paper: Ssd: Single shot multi box detector,” Paper, Presented at Proceedings of the European conference on computer vision, Amsterdam, The Netherlands, Oct. 11-14, 2016, pp. 21-37, 17 pages. [cited by applicant]
Matthews et al., “Automated tracking to measure behavioural changes in pigs for health and welfare monitoring,” Sci. Rep., Dec. 2017, 7(1):17582, 12 pages. [cited by applicant]
Matthews et al., “Early detection of health and welfare compromises through automated detection of behavioural changes in pigs,” Vet. J., Nov. 2016, 217:43-51. [cited by applicant]
Mayer et al., “Paper: Cattle health monitoring using wireless sensor networks,” Paper, Presented at Proceedings of the Communication and Computer Networks Conference, Cambridge, MA, Nov. 8-10, 2004, 8 pages. [cited by applicant]
Milan et al., “MOT16: A benchmark for multi-object tracking,” arXiv Preprint, 2016, arXiv:1603.00831, 12 pages. [cited by applicant]
Mittek et al., “Paper: Health Monitoring of Group-Housed Pigs using Depth-Enabled Multi-Object Tracking,” Paper, Presented at Proceedings of the Visual observation and analysis of Vertebrate And Insect Behavior, Cancun,… [cited by applicant]
Mittek et al., “Tracking of group-housed pigs using multi-ellipsoid expectation maximisation,” IET Comput. Vision, Dec. 2017, 12(2):121-128. [cited by applicant]
Nasirahmadi et al., “Using machine vision for investigation of changes in pig group lying patterns,” Comput. Electron. Agric., Nov. 2015, 119:184-190, 19 pages. [cited by applicant]
Neethirajan, “Recent advances in wearable sensors for animal health management,” Sens. Bio-Sens. Res., Feb. 2017, 12:15-29. [cited by applicant]
Nilsson et al., “Paper: Learning based image segmentation of pigs in a pen,” Paper, Presented at Proceedings of the Visual observation and analysis of Vertebrate And Insect Behavior—Workshop at the 22nd International Co… [cited by applicant]
Papandreou et al., “Paper: PersonLab: Person Pose Estimation and Instance Segmentation with a Bottom-Up, Part-Based, Geometric Embedding Model,” Paper, Presented at Proceedings of the European Conference on Computer Vis… [cited by applicant]
Pezzuolo et al., “On-barn pig weight estimation based on body measurements by a Kinect vl depth camera,” Comput. Electron. Agric., May 2018, 148:29-36. [cited by applicant]
PIC North America, “Standard Animal Care: Daily Routines,” Wean-to-Finish manual, PIC North America: Hendersonville, TN, USA, 2014, pp. 23-24. [cited by applicant]
Porto et al., “Localisation and identification performances of a real-time location system based on ultra wide band technology for monitoring and tracking dairy cow behaviour in a semi-open free-stall barn,” Comput. Ele… [cited by applicant]
Psota et al., “Long-Term Tracking of Group-Housed Livestock Using Keypoint Detection and MAP Estimation for Individual Animal Identification,” Sensors, 2020, 20:3670, 23 pages. [cited by applicant]
Psota et al., “Multi-Pig Part Detection and Association with a Fully-Convolutional Network,” Sensors, Feb. 2019, 19(4):852, 24 pages. [cited by applicant]
Redmon and Farhadi, “Paper: YOLO9000: Better, Faster, Stronger,” Paper, Presented at Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, Jul. 21-26, 2017, 9 pages. [cited by applicant]
Ristani and Tomasi, “Paper: Features for multi-target multi-camera tracking and re-identification,” Paper, Presented at Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, … [cited by applicant]
Ronneberger et al., “Paper: U-net: Convolutional networks for biomedical image segmentation,” Paper, Presented at Proceedings of the International Conference on Medical image computing and computer-assisted intervention… [cited by applicant]
Ruiz-Garcia et al., “A Review of Wireless Sensor Technologies and Applications in Agriculture and Food Industry: State of the Art and Current Trends,” Sensors, 2009, 9(6):4728-4750. [cited by applicant]
Schleppe et al., “Challenges in the design of a GNSS ear tag for feedlot cattle,” Comput. Electron. Agric., Jan. 2010, 70(1):84-95. [cited by applicant]
Schwager et al., “Robust classification of animal tracking data,” Comput. Electron. Agric., Mar. 2007, 56(1):46-59. [cited by applicant]
Stavrakakis et al., “Validity of the Microsoft Kinect sensor for assessment of normal walking patterns in pigs,” Comput. Electron. Agric., Sep. 2015, 117:1-7. [cited by applicant]
Tullo et al., “Paper: Precision livestock farming: An overview of image and sound labelling,” Paper, Presented at Proceedings of the European Conference on Precision Livestock Farming 2013:(PLF) EC-PLF, KU Leuven, Belgi… [cited by applicant]
Tuyttens et al., “Observer bias in animal behaviour research: Can we believe what we score, if we score what we believe?,” Anim. Behav., Apr. 2014, 90:273-280. [cited by applicant]
Voulodimos et al., “A complete farm management system based on animal identification using RFID technology,” Comput. Electron. Agric., Mar. 2010, 70(2):380-388. [cited by applicant]
Wathes et al., “Is precision livestock farming an engineer's daydream or nightmare, an animal's friend or foe, and a farmer's panacea or pitfall?,” Comput. Electron. Agric., Nov. 2008, 64(1):2-10. [cited by applicant]
Wedin et al., “Early indicators of tail biting outbreaks in pigs,” Appl. Anim. Behav. Sci., Nov. 2018, 208:7-13. [cited by applicant]
Zhang et al., “Automatic individual pig detection and tracking in pig farms,” Sensors, Mar. 2019, 19(5):1188, 20 pages. [cited by applicant]
Zhang, “Microsoft kinect sensor and its effect,” IEEE Multimedia, Feb. 2012, 19(2):4-10. [cited by applicant]
Zhong et al., “Paper: Re-ranking person re-identification with k-reciprocal encoding,” Paper, Presented at Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Venice, Italy, Oct. 22-29, 2017, … [cited by applicant]
Zhu et al., “Paper: Automatic Animal Detection from Kinect Sensed Images for Livestock Monitoring and Assessment,” Paper, Presented at Proceedings of the 2015 IEEE International Conference on Computer and Information Te… [cited by applicant]