Table 2. Pig detection performance.
Network | IoU_Threshold = 0.5 | IoU_Threshold = 0.6 | ||||
---|---|---|---|---|---|---|
YOLOv3 | YOLOv4 | Additional layer ▪ mish | YOLOv3 | YOLOv4 | Additional layer ▪ mish | |
Precision | 0.91 | 0.93 | 0.92 | 0.76 | 0.81 | 0.76 |
Recall | 0.88 | 0.88 | 0.88 | 0.73 | 0.77 | 0.73 |
F1-score | 0.90 | 0.91 | 0.90 | 0.74 | 0.79 | 0.75 |
mAP | 91.26 | 91.69 | 91.49 | 73.02 | 77.26 | 74.58 |
IoU, intersection over union; YOLO, you-only-look-once; mAP, mean average precision.