Introduction #
The authors of the Automatic Monitoring of Pigs dataset recognized the significance of animals expressing their internal and external stimuli through behaviour changes, particularly in assessing their health and welfare. They designed an algorithm based on deep learning for detecting and tracking pig posture and locomotion activities. This algorithm aimed to measure behaviour changes in an experimental pig barn under different greenhouse gas (GHG) levels.
The study involved elevating GHG levels in the barn by closing ventilators for specific durations throughout the day and night. Simultaneously, the corresponding pig posture and locomotion activities were observed before, during, and after each treatment. The results indicated that as GHG concentration increased, pig activity levels decreased, resulting in longer durations of lateral-lying posture. Moreover, activities like standing, sternal-lying, and walking decreased as GHG levels rose. This suggested that monitoring and tracking pig physical behaviours through a simple RGB camera and deep learning models could effectively assess individual pig health and welfare.
Pig Posture and Label | Identification Convention | Instances |
---|---|---|
standing pig (standing_pig) | Only feet or feet and snout in contact with the floor | 10,124 |
sternal lying pig (sl_pig) | Belly and folded limbs in contact with the floor | 9364 |
lateral lying pig (ll_pig) | Side trunk and extended limbs in contact with the ground | 10,745 |
The experimental setup took place in a controlled pig barn, with specific conditions (see details in the paper) applied to raise GHG concentrations. The study involved five Yorkshire breed pigs, and their conditions were well-documented, including feeding schedules and markings for visual identification.
The GHG concentrations were measured using gas chromatography, with carbon dioxide (CO2) being the dominant GHG. The concentrations were analyzed before, after, and one hour after treatment. The authors provided data and graphs illustrating the GHG concentrations of CO2_ppm and CO_NO_CH4_N2O_ppm over time.
Average greenhouse gas (GHG) concentrations before, during, and after an hour of treatment. The x-axis represents the time (hh:mm) of day, whereas the left y-axis represents the average CO2 concentration, and the right y-axis represents the average CO, NO, CH4, and N2O.
The study also included group-wise pig posture and walking behaviour score, which were assessed by counting the number of pigs exhibiting specific behaviours in each frame before treatment, during treatment, and after treatment. These scores revealed that pig behaviour was affected by GHG levels, with increased lateral lying and reduced standing and walking activities during elevated GHG conditions.
Group-wise average posture and walking frame scores of pigs: (a) standing score, (b) walking score, © sternal-lying score, and (d) lateral-lying score. The scores show the average number of pigs in a frame with a particular posture. The bars represent the average activity scores obtained in three days at an hour before, during, and after the treatment period in the morning, day, and nighttime.
Additionally, the authors presented locomotion patterns and distances travelled by walking pigs during the experiments. These observations provided insights into how GHG levels influenced pig activities throughout the day.
Total distance travelled by the pigs in the group and the day 1-morning time locomotion activities: (a) the total distance travelled by all pigs during the study period, (b) locomotion of the group pigs before treatment in the morning of day 1, © during the treatment, and (d) after the treatment.
In summary, the authors conducted a comprehensive study to assess the impact of elevated GHG levels on pig behaviour using computer vision and deep learning techniques. Their findings underscored the potential of this approach for non-invasive monitoring of pig health and welfare under varying environmental conditions.
Summary #
Automatic Monitoring of Pigs` Physico-Temporal Activities at Different Greenhouse Gas Concentrations is a dataset for an object detection task. It is used in the livestock industry.
The dataset consists of 667 images with 3183 labeled objects belonging to 1 single class (pig).
Images in the Automatic Monitoring of Pigs dataset have bounding box annotations. All images are labeled (i.e. with annotations). There are no pre-defined train/val/test splits in the dataset. Every image has information about CO2_ppm and CO_NO_CH4_N2O_ppm gas concentrations, while every object has information about it’s posture: standing pig, sternal lying pig, lateral lying pig; and it’s treatment score and state: before treatment, during treatment, after treatment. To explore postures and treatments of every pig, run dataset in supervisely. The dataset was released in 2021 by the Gyeongsang National University, Korea and Ministry of Communication and Information Technology, Nepal.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/automatic-monitoring-pigs/main/visualizations/poster.png?width=1200)
Explore #
Automatic Monitoring of Pigs dataset has 667 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/9/yj/M8H1EhwiFOyDSBAqybadeeASTiK6ulDy8zKXkfxDHA6BU1YqNzCYaQshMppzeJObnhanDsJ4dTAwBbiHgwqKuA2afKlZ2E2n8TkmlSWHyCofNGa69C9s5yQvgA7W.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/D/h/MO/NrCntrBNV0X5avjbNLgqTBmpNeE0TjPwfezIOOMhwr0HtzBBUASKTHR0nIPOgaKU7yWMwVDJhlQujFowmE2y9wAkSG7s8KpXMXnek6A6JMCzYXpwZUnUYWCS2TvS.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/0/b/yj/PlMbartaupllW9neTWsCM5A4K6OxsxiHvIgu2qLttDHlkOUZem19Tcrkt09YORaU8vdMB4TqbDhUmK80vS72rRoIx1N0CZC9TKZHftAbsvA392ZUCzvXKuoJ6Sgj.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/G/iE/dFOJgtn4A7PENzkCiHXzFP8MNiym6v5yWqiPejoRkVSOfl8C03ZbzAUtOttGs7bYT918qk0GEBi2pE2ORjZSr6TAVrei1M8BnazvTEfOKYBPOO9qLe075dJUecBG.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/f/s/vh/ek7hyTiTBLZFdo89jI1eNfIhDUUxysG10Br0gyEIvwz2zAMcnEmjSqi9LnqPclokapwtoXp04obtX6gHKRxsjOTLUVZOTubyp183iitSJ12wMqYS8rSAzJGeDdPM.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/4/s/iT/sbNZ8DdGwYjWSZIGN6aTSw47MLzIue9SD6xeVWoAMcTSSBme1qpdxLo8WHv3keriV1zuF78hsop2e6tZKR4Q5vn4GDr9aQHYjp9pJuLnXfdtr3p2RziEi1FVYUIS.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/k/v/wz/DZnSzTAqPuBZy5SU6tRV9piqwSttruCq5dR0B4algaRGApZNRs9kcZXKyAGQ3JHoAZohbFtYHFxoRS0X1tXXk5k0NkyGq6rJiDtfwxckXcYlIoL44g02VJeb874i.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/8/m/Vt/Jqn4PSGNTKGTDqNJZwU2UMbxApkxyzkToDThxpIhXzKxL6gcUj9E06ZSJFS0G4UvSH7LriWjhwHcFUZLO6rbq2Gnk3eeUq9roPHQC47za0s416LbvJ5JNuLTK7FV.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/A/F9/AL2LTbLY6tTuX0fpOD92dRmdj3K50sHEe8YoqKOHQhfpd9OFlTlfyQOQ2UKUCY9ro6bi3l0WHm6esjgZeaRktFdnw2z4NLhyNXk9oP3sNEaZfGcmnKfJtT8yCTJX.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/4/bg/fqNDKFdQ0YSDPI36mCOppyn4BzkdH7Y6Q6u28QsFO4PX9cnunDdmYVMv3m9r6rYt3dIhkrmtAA69W3VEPd3ci5smAgRYKTjrG9pgq96lZuJDjszs3CIU9qD1rEDP.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/g/o/r0/MK9OqKBfNMhWIl02Ov3mzGF31QZKK9YWmnjEdI5bcP4pfD7CUGqc8SbYkA7te5YaT6ydV3Yit1AXJVc0oNf9uGwCP9rY7RRn3kTsTCxGKsnWak4YMqEcXSAvcRKs.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/I/35/oDWJmibH3dJ1gyIX3QM3cpwW4efOkCDkrJAYlSDmIaOtwOQhEqvnAH7z89JFzoeHwdk3N62D7iTBxq1RGRVje2n4ZVZr3iBx1PZn9FeosTNjYQsWnnJGfB5k1mQ7.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Z/y/Jw/QnBFbjFhQBfJIlzJHoJ8Vb9hdmi7As7utWcrMra8ngd6sAQ01LeH1XVin3NgZSiRjhO94qPsGhAALA2NZLv5gUlt3fWKKT0lWIBvrEKNgKvQyalO3DDeAagaclAv.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/w/O/8D/juO8JJyFiGdSllguxUWl7pwE2FZmYYE8zmPVnE5rkF9EBmMorwYVL2R7unxOujXj3wQnMicn39h10D9l3ovPav8zWriX9c1zRvqtJZELJfGJ3shaAFyuXm0vfLON.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/4/X/A4/U9HvvAN5GUgNM46j1zzLKZan9kBGREKzL7dygyuTMSOxuV92mKZp5HyzazZN8HKiMQzosZkVS1yXTZ5OTLOynLu86d5zH8CiuTZSenq5RdXxjyHpuPGS4NjqCGQD.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/l/H/P4/ua8maVoEmUKcwMipYmT5995QCkVwfjFe7qjCojWV0c1Y0uzWSxkhXt9QVcGnbU9TvXgV9lxDLZBpIs7JgzbTVIKa1f1N79jOosEaC7MHSFxcTYwMC55Q39ZtH9w8.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/R/J/mP/t9Gi8BF3IJL13ocXBLR15lK7kCS61jkq5Hu6Jv3R7suDTpI1tEeGbfTPDB2rOJwYMcHSfhL9FSbl6ikVB2kRjSk65Bvq45kgo266eX7BMjiSWrBdv7Z9SVs9nGHX.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/9/C/tK/8EoS1R0QePO2cdxULJFnJLMQU5hO3Zwlnklu3ubKsxRymAZP7rypziM1gHaHMVVQULcG5uWDHJP1NiUe6mxwZz391Fga6Oznqw2bjzyQGGQxAzshwAuV357ZKYoB.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/Y/oL/0j5g118dwzX4KTMJw9pyMJF8Dgro17iTU23jnXu52jGtLoAoe7n64OwW06J0MY7jc9G34jLs8qk0zYJUQ4Tz9kQkgCb4ivVI5ybrNcqw8V8CAfzqSCRXzpbpT0bz.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/o/h/gC/yCh05yGAjNcacVkMOa2pvQohKScIiRePQtNOsX1pH5ai5HkOZoD8Ub7IFNbvzXsvDriWfpnpasr8DlmGX0J0n65VD3T0RkQVmH3hyk5bbwuWeTENmHmJrGqkyZMC.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/h/V/Fv/sdddrm5cQn9tPgso9VcqjWTfq3POE2hmC2AUN2GNp7xHTYuXmMDeUVdeomFV15TS0ZuGsLqAafKavK2UqqpMZNAiKmAjcDirIEYGgzp5VmEpzjnd3Kq0ebqYywCL.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Q/E/BC/axG3MU8KsNH8b1BOv5dowPORhaEndk3dndOUjt0Nd8lnYFCXg55qDvHWYUGPJ4xqsU2bD1QPwoposxEvcTaCyCl82hwlyEONDMZTloHfACprVIPQcRJf4k0HwBE3.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/y/0e/bv6r35tiVlzjj1WLjsu3IqVlfbceal5GWCkOoAweuP8lmx23QOQq8LwquleUiEutgdOjE28LNVV5sdMrrd15pdVliFYB2dG8VUyuogdeiRTZT7zwweFZdyA3Jfif.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/3/O/88/EbwSmqmU6HKeM1sNxX4m8ErqVwdAY5BnifEe3gkg2HdvOYeKxSLaDbok2SRAZk4ahOZqz6k6SJ7lSGNiUVF9ZsyqpJUWKCnhQ01DZ22EZi83wsDGVe0O40zdC3iC.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/Z/YW/2CneXJ5fZdIGRCLds64XPzndDuuPZFp1WU6wUrljaM5zHrd23E7a18qBWQ1yhsfW1cHgZxXTu86MPa2HRnpRk4GAMjTjJnhXtAXbSw1iTRCdTgleEqoW1pKEk85r.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/I/R/uN/Bo6KTHNVPyeNOXPoZBuiTPXQbaJPRIanH61LCVP113k4hs7suJBRKZmk3E85sVh6UGyZRkrsfpXBAviRo0ecjeq0APq6AX08fPFsT5ChKwmp985uOWyu4UpvMLmR.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/I/cF/JoWPAKRv5QgTepqCo2a4m4feyXUlp1xdh7cRSvx357vfkyxhQDMEpYiRWFDiKay5zFtlbHetQW3rp3OgkQeCsXO6UXOPgyUe9FGEoMrWNlxgriNwCM21YzORne3D.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/u/J/3X/1Vr6Whopa0THdZ2YDb7srxReShoL90sCUYes6sTfWnlQ3GDv7IFgarDmCL2Vbe0DHo4YpUUzwNuldHBkBds4qFqUYwovOOhmSdzkS55GDsRUNCa32Ch6nvHyDn1A.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/M/Y/bd/DBCmvGm0GftDpofWQcI3EJmqSx67bl0NyJNY7hNyPHB1QKJzdbxxsgkApcBmSIE9i91jkUZ7nK0tKaVY78IB8jlFv0l58B2yn7H1auB4KpupPjJ7IGP7cMDck2BZ.jpg)
![Sample image from Automatic Monitoring of Pigs](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/u/K7/C2djnpBhMsLHd857q7mYwYw4IiM4cevvRM0ipBNy9IHu9Zk3o08i1pcexI8N1J94TOIsX4W6AeWjiHvayheJ4a916xx7jHw2f9Ox0JQlLasz00w4JLjIFILNGMV4.jpg)
Class balance #
There are 1 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class ã…¤ | Images ã…¤ | Objects ã…¤ | Count on image average | Area on image average |
---|---|---|---|---|
pigâž” rectangle | 667 | 3183 | 4.77 | 30.31% |
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Object distribution #
Interactive heatmap chart for every class with object distribution shows how many images are in the dataset with a certain number of objects of a specific class. Users can click cell and see the list of all corresponding images.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pig rectangle | 3183 | 7.04% | 15.86% | 2.1% | 77px | 13.37% | 339px | 58.85% | 200px | 34.65% | 57px | 8.1% | 268px | 38.07% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/automatic-monitoring-pigs/main/stats/classes_heatmaps.png)
Objects #
Table contains all 3183 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID ã…¤ | Class ã…¤ | Image name click row to open | Image size height x width | Height ã…¤ | Height ã…¤ | Width ã…¤ | Width ã…¤ | Area ã…¤ |
---|---|---|---|---|---|---|---|---|
1âž” | pig rectangle | 0702 18-16-21.jpg | 576 x 704 | 173px | 30.03% | 193px | 27.41% | 8.23% |
2âž” | pig rectangle | 0702 18-16-21.jpg | 576 x 704 | 104px | 18.06% | 137px | 19.46% | 3.51% |
3âž” | pig rectangle | 0702 18-16-21.jpg | 576 x 704 | 171px | 29.69% | 208px | 29.55% | 8.77% |
4âž” | pig rectangle | 0702 18-16-21.jpg | 576 x 704 | 258px | 44.79% | 120px | 17.05% | 7.63% |
5âž” | pig rectangle | 0702 08-00-39.jpg | 576 x 704 | 264px | 45.83% | 75px | 10.65% | 4.88% |
6âž” | pig rectangle | 0702 08-00-39.jpg | 576 x 704 | 102px | 17.71% | 221px | 31.39% | 5.56% |
7âž” | pig rectangle | 0702 08-00-39.jpg | 576 x 704 | 235px | 40.8% | 162px | 23.01% | 9.39% |
8âž” | pig rectangle | 0702 08-00-39.jpg | 576 x 704 | 245px | 42.53% | 94px | 13.35% | 5.68% |
9âž” | pig rectangle | 0702 08-00-39.jpg | 576 x 704 | 135px | 23.44% | 174px | 24.72% | 5.79% |
10âž” | pig rectangle | 0714 10-25-30.jpg | 576 x 704 | 256px | 44.44% | 98px | 13.92% | 6.19% |
License #
Citation #
If you make use of the Automatic Monitoring of Pigs data, please cite the following reference:
@Article{ani11113089,
AUTHOR = {Bhujel, Anil and Arulmozhi, Elanchezhian and Moon, Byeong-Eun and Kim, Hyeon-Tae},
TITLE = {Deep-Learning-Based Automatic Monitoring of Pigs’ Physico-Temporal Activities at Different Greenhouse Gas Concentrations},
JOURNAL = {Animals},
VOLUME = {11},
YEAR = {2021},
NUMBER = {11},
ARTICLE-NUMBER = {3089},
URL = {https://www.mdpi.com/2076-2615/11/11/3089},
PubMedID = {34827821},
ISSN = {2076-2615},
ABSTRACT = {Pig behavior is an integral part of health and welfare management, as pigs usually reflect their inner emotions through behavior change. The livestock environment plays a key role in pigs’ health and wellbeing. A poor farm environment increases the toxic GHGs, which might deteriorate pigs’ health and welfare. In this study a computer-vision-based automatic monitoring and tracking model was proposed to detect pigs’ short-term physical activities in the compromised environment. The ventilators of the livestock barn were closed for an hour, three times in a day (07:00–08:00, 13:00–14:00, and 20:00–21:00) to create a compromised environment, which increases the GHGs level significantly. The corresponding pig activities were observed before, during, and after an hour of the treatment. Two widely used object detection models (YOLOv4 and Faster R-CNN) were trained and compared their performances in terms of pig localization and posture detection. The YOLOv4, which outperformed the Faster R-CNN model, was coupled with a Deep-SORT tracking algorithm to detect and track the pig activities. The results revealed that the pigs became more inactive with the increase in GHG concentration, reducing their standing and walking activities. Moreover, the pigs shortened their sternal-lying posture, increasing the lateral lying posture duration at higher GHG concentration. The high detection accuracy (mAP: 98.67%) and tracking accuracy (MOTA: 93.86% and MOTP: 82.41%) signify the models’ efficacy in the monitoring and tracking of pigs’ physical activities non-invasively.},
DOI = {10.3390/ani11113089}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-automatic-monitoring-pigs-dataset,
title = { Visualization Tools for Automatic Monitoring of Pigs Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/automatic-monitoring-pigs } },
url = { https://datasetninja.com/automatic-monitoring-pigs },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset Automatic Monitoring of Pigs can be downloaded in Supervisely format:
As an alternative, it can be downloaded with dataset-tools package:
pip install --upgrade dataset-tools
… using following python code:
import dataset_tools as dtools
dtools.download(dataset='Automatic Monitoring of Pigs', dst_dir='~/dataset-ninja/')
Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.
The data in original format can be downloaded here.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.