Paper · 2023 · Frontiers in Plant Science

TBC-YOLOv7: a refined YOLOv7-based algorithm for tea bud grading detection

Siyang Wang; Dasheng Wu; Xinyu Zheng

8
claims
16
verbatim quotes
23
citations
2
research areas
✓
Open access · cc-by

Abstract

Introduction Accurate grading identification of tea buds is a prerequisite for automated tea-picking based on machine vision system. However, current target detection algorithms face challenges in detecting tea bud grades in complex backgrounds. In this paper, an improved YOLOv7 tea bud grading detection algorithm TBC-YOLOv7 is proposed. Methods The TBC-YOLOv7 algorithm incorporates the transformer architecture design in the natural language processing field, integrating the transformer module based on the contextual information in the feature map into the YOLOv7 algorithm, thereby facilitating self-attention learning and enhancing the connection of global feature information. To fuse feature information at different scales, the TBC-YOLOv7 algorithm employs a bidirectional feature pyramid network. In addition, coordinate attention is embedded into the critical positions of the network to suppress useless background details while paying more attention to the prominent features of tea buds. The SIOU loss function is applied as the bounding box loss function to improve the convergence speed of the network. Result The results of the experiments indicate that the TBC-YOLOv7 is effective in all grades of samples in the test set. Specifically, the model achieves a precision of 88.2% and 86.9%, with corresponding recall of 81% and 75.9%. The mean average precision of the model reaches 87.5%, 3.4% higher than the original YOLOv7, with average precision values of up to 90% for one bud with one leaf. Furthermore, the F1 score reaches 0.83. The model’s performance outperforms the YOLOv7 model in terms of the number of parameters. Finally, the results of the model detection exhibit a high degree of correlation with the actual manual annotation results ( R2 =0.89), with the root mean square error of 1.54. Discussion The TBC-YOLOv7 model proposed in this paper exhibits superior performance in vision recognition, indicating that the improved YOLOv7 model fused with transformer-style module can achieve higher grading accuracy on densely growing tea buds, thereby enables the grade detection of tea buds in practical scenarios, providing solution and technical support for automated collection of tea buds and the judging of grades.

Abstract from the paper’s OpenAlex record; open copy licensed cc-by. Read at the source ↗

The text the model read, with the source record’s inline markup (italics, sub- and superscripts) rendered and its character entities decoded; quote offsets refer to the raw text.

Claims 8

Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

The TBC-YOLOv7 model reaches a mean average precision of 87.5%, 3.4% higher than the original YOLOv7.

Taxon
teat0
Outcome
mean average precisione1
Direction
highere1
Value
87.5%e1
Comparator
the original YOLOv7e1

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e1

“The mean average precision of the model reaches 87.5%, 3.4% higher than the original YOLOv7”

✓ located verbatim in the source · abstract, characters 1352–1443 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

The TBC-YOLOv7 model reaches average precision values of up to 90% for one bud with one leaf.

Taxon
teat0
Organ / stage
one bud with one leafe2
Outcome
average precision valuese2
Value
90%e2

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e2

“with average precision values of up to 90% for one bud with one leaf”

✓ located verbatim in the source · abstract, characters 1445–1513 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

The TBC-YOLOv7 model reaches an F1 score of 0.83.

Taxon
teat0
Outcome
F1 scoree3
Value
0.83e3

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e3

“Furthermore, the F1 score reaches 0.83”

✓ located verbatim in the source · abstract, characters 1515–1553 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

The TBC-YOLOv7 model outperforms the YOLOv7 model in number of parameters.

Taxon
teat0
Outcome
number of parameterse4
Direction
outperformse4
Comparator
the YOLOv7 modele4

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e4

“The model’s performance outperforms the YOLOv7 model in terms of the number of parameters”

✓ located verbatim in the source · abstract, characters 1555–1644 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

Model detection results correlate highly with the actual manual annotation results (R2 = 0.89).

Taxon
teat0
Outcome
correlatione5
Value
R2 =0.89e5
Comparator
the actual manual annotation resultse5

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e5

“the results of the model detection exhibit a high degree of correlation with the actual manual annotation results ( R2 =0.89)”

✓ located verbatim in the source · abstract, characters 1655–1780 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

The root mean square error of model detection is 1.54.

Taxon
teat0
Outcome
root mean square errore6
Value
1.54e6

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e6

“with the root mean square error of 1.54”

✓ located verbatim in the source · abstract, characters 1782–1821 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

The model achieves a precision of 88.2% and 86.9%.

Taxon
teat0
Outcome
precisione7
Value
88.2% and 86.9%e7

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e7

“the model achieves a precision of 88.2% and 86.9%, with corresponding recall of 81% and 75.9%”

✓ located verbatim in the source · abstract, characters 1257–1350 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

The model achieves a recall of 81% and 75.9%.

Taxon
teat0
Outcome
recalle7
Value
81% and 75.9%e7

Verbatim

t0

“tea bud grading detection”

✓ located verbatim in the source · title, characters 49–74 · show in text ↑
e7

“the model achieves a precision of 88.2% and 86.9%, with corresponding recall of 81% and 75.9%”

✓ located verbatim in the source · abstract, characters 1257–1350 · show in text ↑