Sozzi Marco, Pillan Giulio, Ciarelli Claudia, Marinello Francesco, Pirrone Fabrizio, Bordignon Francesco, Bordignon Alessandro, Xiccato Gerolamo, Trocino Angela
Department of Land, Environment, Agriculture and Forestry (TeSAF), University of Padova, Viale dell'Università 16, 35020 Padova, Italy.
Department of Comparative Biomedicine and Food Science (BCA), University of Padova, Viale dell'Università 16, 35020 Padova, Italy.
Animals (Basel). 2022 Dec 21;13(1):33. doi: 10.3390/ani13010033.
Image analysis using machine learning (ML) algorithms could provide a measure of animal welfare by measuring comfort behaviours and undesired behaviours. Using a PLF technique based on images, the present study aimed to test a machine learning tool for measuring the number of hens on the ground and identifying the number of dust-bathing hens in an experimental aviary. In addition, two YOLO (You Only Look Once) models were compared. YOLOv4-tiny needed about 4.26 h to train for 6000 epochs, compared to about 23.2 h for the full models of YOLOv4. In validation, the performance of the two models in terms of precision, recall, harmonic mean of precision and recall, and mean average precision (mAP) did not differ, while the value of frame per second was lower in YOLOv4 compared to the tiny version (31.35 vs. 208.5). The mAP stands at about 94% for the classification of hens on the floor, while the classification of dust-bathing hens was poor (28.2% in the YOLOv4-tiny compared to 31.6% in YOLOv4). In conclusion, ML successfully identified laying hens on the floor, whereas other PLF tools must be tested for the classification of dust-bathing hens.
使用机器学习(ML)算法进行图像分析,可以通过测量舒适行为和不良行为来衡量动物福利。本研究基于图像使用PLF技术,旨在测试一种机器学习工具,用于测量实验鸡舍中地面上母鸡的数量,并识别沙浴母鸡的数量。此外,还比较了两种YOLO(You Only Look Once)模型。YOLOv4-tiny训练6000个轮次大约需要4.26小时,而YOLOv4完整模型则需要约23.2小时。在验证过程中,两种模型在精度、召回率、精度和召回率的调和均值以及平均精度均值(mAP)方面的表现没有差异,而YOLOv4每秒帧数的值低于其tiny版本(31.35对208.5)。地面上母鸡分类的mAP约为94%,而沙浴母鸡的分类效果较差(YOLOv4-tiny中为28.2%,YOLOv4中为31.6%)。总之,机器学习成功识别了地面上的产蛋母鸡,而对于沙浴母鸡的分类,必须测试其他PLF工具。