PigDetect: A benchmark dataset for pig detection in images
Authors/Creators
Description
The PigDetect dataset was designed to support the benchmarking of pig detection algorithms from images as introduced in the "A Large-Scale Longitudinal Dataset for Pig Tracking and Re-Identification" article. To ensure both diversity and representation, two data allocation strategies were applied. The first followed the standard practice by randomly sampling frames across the dataset. The second method targeted high-density scenarios by ranking frames according to the mean Intersection over Union (IoU) of all objects within each frame, and removing subsequent neighbouring frames (N = 5) to avoid over‑representation of similar viewpoints. From the selected pool of images, the top 200 frames were retained for subsequent random sampling. For both allocation strategies, the same imaging days were used to define the training/validation/test splits. Fourteen imaging days (representing different groups, ages, and pen sizes) were assigned to the test subset (N = 280 frames), while the remaining 202 days formed the training and validation pool (N = 4,040 frames). For each imaging day and group, 20 frames were randomly selected from the curated subset. The final training/validation data was partitioned using a 90:10 split, while the testing subset was generated using separate held-out days, representing approx. 7% of the combined training and validation sets.
Files
PigDetect-High_IoU.zip
Files
(22.0 GB)
| Name | Size | Download all |
|---|---|---|
|
md5:fe5900a0d2dfdef66a6866e45f93f180
|
10.5 GB | Preview Download |
|
md5:e1d12b25ca74f2bd3de993a4728e5863
|
185.8 MB | Preview Download |
|
md5:5a6a4a7f961766e7402df37701474166
|
282.7 MB | Preview Download |
|
md5:1bd365d77d2ade865d21f112bb07b98e
|
10.4 GB | Preview Download |
|
md5:16053772e0331e44ac780b08b4145df6
|
371.7 MB | Preview Download |
|
md5:808e20641ecd2822dc3725b92354850d
|
260.5 MB | Preview Download |
|
md5:8c90050ce98ad2a0f2aa9239b02046a6
|
3.6 kB | Preview Download |
|
md5:2f4f319795e9a46da58fcdba32c87581
|
1.8 kB | Download |
Additional details
Funding
- Biotechnology and Biological Sciences Research Council
- Pig ID: developing a deep learning machine vision system to track pigs using individual biometrics BB/X001385/1