TY - JOUR
T1 - Impact of proximity definitions and sampling rates on social networks in pigs based on tracking using computer vision
AU - Orsini, Clémence A.E.M.
AU - Hegedűs, Bernadett
AU - van der Zande, Lisette E.
AU - Reimert, Inonge
AU - Bijma, Piter
AU - Bolhuis, Elizabeth
PY - 2025/12
Y1 - 2025/12
N2 - In farm animals, social network analysis has become a popular approach to explore preferential associations. This study investigated how different spatial proximity definitions and sampling rates affect social networks based on proximity using computer vision. Video data collected over three days in 21 pens (6 pigs/pen), either enriched or barren, were analyzed using a tracking-by-detection method based on bounding boxes. Networks were constructed with five different definitions of proximity: (1) distance between centroids of bounding boxes < 50 cm, (2) occurrence of overlap of surfaces of bounding boxes, (3) surface overlap of bounding boxes > 20%, (4) a combination of (1) and (3), and (5) the harmonic mean of the distance between the two individuals. For each proximity definition, networks built with downsampled data were compared to a network built with 0.5 frames per second. The network metric degree centrality was less affected by proximity definitions compared to eigenvector centrality and clustering coefficient. To maintain high correlations with the complete network (r > 0.90), downsampling should not go beyond 1 frame every 6 min. This work shows how computer vision data can be used for social network analysis in livestock with limited space and choice of social environment, and how metrics depend on proximity definitions and sampling rates.
AB - In farm animals, social network analysis has become a popular approach to explore preferential associations. This study investigated how different spatial proximity definitions and sampling rates affect social networks based on proximity using computer vision. Video data collected over three days in 21 pens (6 pigs/pen), either enriched or barren, were analyzed using a tracking-by-detection method based on bounding boxes. Networks were constructed with five different definitions of proximity: (1) distance between centroids of bounding boxes < 50 cm, (2) occurrence of overlap of surfaces of bounding boxes, (3) surface overlap of bounding boxes > 20%, (4) a combination of (1) and (3), and (5) the harmonic mean of the distance between the two individuals. For each proximity definition, networks built with downsampled data were compared to a network built with 0.5 frames per second. The network metric degree centrality was less affected by proximity definitions compared to eigenvector centrality and clustering coefficient. To maintain high correlations with the complete network (r > 0.90), downsampling should not go beyond 1 frame every 6 min. This work shows how computer vision data can be used for social network analysis in livestock with limited space and choice of social environment, and how metrics depend on proximity definitions and sampling rates.
U2 - 10.1038/s41598-025-93830-8
DO - 10.1038/s41598-025-93830-8
M3 - Article
AN - SCOPUS:105000505303
SN - 2045-2322
VL - 15
JO - Scientific Reports
JF - Scientific Reports
IS - 1
M1 - 9759
ER -