Accuracy Comparison of YOLOv7 and YOLOv4 Regarding Image Annotation Quality for Apple Flower Bud Classification
Author:
Open Access
- 20 February 2023
- journal article
- research article
- Published by MDPI AG in Agriengineering
- Vol. 5 (1) , 413-424
Abstract
Object detection is one of the most promising research topics currently, whose application in agriculture, however, can be challenged by the difficulty of annotating complex and crowded scenes. This study presents a brief performance assessment of YOLOv7, the state-of-the-art object detector, in comparison to YOLOv4 for apple flower bud classification using datasets with artificially manipulated image annotation qualities from 100% to 5%. Seven YOLOv7 models were developed and compared to corresponding YOLOv4 models in terms of average precisions (APs) of four apple flower bud growth stages and mean APs (mAPs). Based on the same test dataset, YOLOv7 outperformed YOLOv4 for all growth stages at all training image annotation quality levels. A 0.80 mAP was achieved by YOLOv7 with 100% training image annotation quality, meanwhile a 0.63 mAP was achieved with only 5% training image annotation quality. YOLOv7 improved YOLOv4 APs by 1.52% to 166.48% and mAPs by 3.43% to 53.45%, depending on the apple flower bud growth stage and training image annotation quality. Fewer training instances were required by YOLOv7 than YOLOv4 to achieve the same levels of classification accuracies. The most YOLOv7 AP increase was observed in the training instance number range of roughly 0 to 2000. It was concluded that YOLOv7 is undoubtedly a superior apple flower bud classifier than YOLOv4, especially when training image annotation quality is suboptimal.Keywords
This publication has 23 references indexed in Scilit:
- Applications of Photonics in Agriculture Sector: A ReviewMolecules, 2019
- Object Detection With Deep Learning: A ReviewIEEE Transactions on Neural Networks and Learning Systems, 2019
- Optimizing the Trade-Off between Single-Stage and Two-Stage Deep Object Detectors using Image Difficulty Prediction2018
- A survey of recent advances in CNN-based single image crowd counting and density estimationPattern Recognition Letters, 2018
- YOLO9000: Better, Faster, Stronger2017
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- Real-time Wearable Computer Vision System for Improved Museum Experience2016
- You Only Look Once: Unified, Real-Time Object Detection2016
- Microsoft COCO: Common Objects in Context2014
- The Pascal Visual Object Classes (VOC) ChallengeInternational Journal of Computer Vision, 2009