Skip to main content

Datasets

Standard Dataset

DIIP-Dataset for Pig interaction identification with an Enriched Environment

Citation Author(s):
Naeem Ayoub (Queen’s University Belfast, Northern Ireland, United Kingdom)
Ilias Kyriazakis (Queen’s University Belfast, Northern Ireland, United Kingdom)
Submitted by:
Naeem Ayoub
Last updated:
DOI:
10.21227/97ed-pf11
Data Format:
No Ratings Yet

Abstract

Identification of changes in pig behavior or interaction such as playing, sniffing, chewing, lying, or aggression is important for taking the necessary action if needed. Manual identification of pig behavior by human observers is not possible because it requires  continuous monitoring. It is, therefore, essential to develop an automated method that quantifies pig behavior. The proposed dataset consists of 7187 images with corresponding annotated files in text and XML format of different behavior classes, which focus mainly on the interaction of pigs with elements of their environment. This annotated dataset can be used to train the AI Algorithm for the development of Deep Learning computer vision models for pig interaction identification.

Instructions:

Pig's Interaction with Enrichment

 

Interaction type                                               Description

 

Interacting with standard enrichment          Pig actively sniffs, noses, bites, chews, or holds a plastic toy or softwood in a mouth

 

Interacting with jute bags                            Pig actively sniffs, noses, bite, chews, or hold a jute bag in their mouth (observed only in enriched pigs)

 

Feeding                                                       Pig's head in fodder beet, eating or chewing

 

 

 

 

We annotated 6 different class labels (Feeding, Jute bag, Pig Head, Snout, Toy, Wooden Beam)with a bounding box in each image.

parameters:

            class-label – integer value representing the object class starting from 0, 1, 2, 3, 4, 5

            respective bounding box coordinates: x_center, y_center, width, height

 

 

 

Dataset folder Structure:

    The directory structure is as shown below:

          xml_annotated – folder containing images and labels (XML)

         yolo_annotated – folder containing images and labels (YOLO).

 

This annotation label directory is compatible with XML, YOLOv4, and YOLOv7 without modification. There are 7187 plus corresponding bounding boxes files.

There is also a data preprocessing file that can be used to process the data to create training metadata either for YOLOv4 or YOLOv7.

 

Funding:

This research is part of the EU-China HealthyLivestock project funded by the European Union H2020 research and innovation program under grant agreement number 773436. The European Commission’s support to produce this publication does not constitute an endorsement of the contents, which reflect the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

 

Acknowledgment:

We are grateful to Stephanie M. Matheson and Katarína Bučková both of QUB for help with image annotation.

Funding Agency
European Union H2020
Grant Number
773436