Cargando…

Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT

This study aimed to produce a robust real-time pear fruit counter for mobile applications using only RGB data, the variants of the state-of-the-art object detection model YOLOv4, and the multiple object-tracking algorithm Deep SORT. This study also provided a systematic and pragmatic methodology for...

Descripción completa

Detalles Bibliográficos
Autores principales: Parico, Addie Ira Borja, Ahamed, Tofael
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8309787/
https://www.ncbi.nlm.nih.gov/pubmed/34300543
http://dx.doi.org/10.3390/s21144803
_version_ 1783728604734029824
author Parico, Addie Ira Borja
Ahamed, Tofael
author_facet Parico, Addie Ira Borja
Ahamed, Tofael
author_sort Parico, Addie Ira Borja
collection PubMed
description This study aimed to produce a robust real-time pear fruit counter for mobile applications using only RGB data, the variants of the state-of-the-art object detection model YOLOv4, and the multiple object-tracking algorithm Deep SORT. This study also provided a systematic and pragmatic methodology for choosing the most suitable model for a desired application in agricultural sciences. In terms of accuracy, YOLOv4-CSP was observed as the optimal model, with an AP@0.50 of 98%. In terms of speed and computational cost, YOLOv4-tiny was found to be the ideal model, with a speed of more than 50 FPS and FLOPS of 6.8–14.5. If considering the balance in terms of accuracy, speed and computational cost, YOLOv4 was found to be most suitable and had the highest accuracy metrics while satisfying a real time speed of greater than or equal to 24 FPS. Between the two methods of counting with Deep SORT, the unique ID method was found to be more reliable, with an F1count of 87.85%. This was because YOLOv4 had a very low false negative in detecting pear fruits. The ROI line is more reliable because of its more restrictive nature, but due to flickering in detection it was not able to count some pears despite their being detected.
format Online
Article
Text
id pubmed-8309787
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-83097872021-07-25 Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT Parico, Addie Ira Borja Ahamed, Tofael Sensors (Basel) Article This study aimed to produce a robust real-time pear fruit counter for mobile applications using only RGB data, the variants of the state-of-the-art object detection model YOLOv4, and the multiple object-tracking algorithm Deep SORT. This study also provided a systematic and pragmatic methodology for choosing the most suitable model for a desired application in agricultural sciences. In terms of accuracy, YOLOv4-CSP was observed as the optimal model, with an AP@0.50 of 98%. In terms of speed and computational cost, YOLOv4-tiny was found to be the ideal model, with a speed of more than 50 FPS and FLOPS of 6.8–14.5. If considering the balance in terms of accuracy, speed and computational cost, YOLOv4 was found to be most suitable and had the highest accuracy metrics while satisfying a real time speed of greater than or equal to 24 FPS. Between the two methods of counting with Deep SORT, the unique ID method was found to be more reliable, with an F1count of 87.85%. This was because YOLOv4 had a very low false negative in detecting pear fruits. The ROI line is more reliable because of its more restrictive nature, but due to flickering in detection it was not able to count some pears despite their being detected. MDPI 2021-07-14 /pmc/articles/PMC8309787/ /pubmed/34300543 http://dx.doi.org/10.3390/s21144803 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Parico, Addie Ira Borja
Ahamed, Tofael
Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT
title Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT
title_full Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT
title_fullStr Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT
title_full_unstemmed Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT
title_short Real Time Pear Fruit Detection and Counting Using YOLOv4 Models and Deep SORT
title_sort real time pear fruit detection and counting using yolov4 models and deep sort
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8309787/
https://www.ncbi.nlm.nih.gov/pubmed/34300543
http://dx.doi.org/10.3390/s21144803
work_keys_str_mv AT paricoaddieiraborja realtimepearfruitdetectionandcountingusingyolov4modelsanddeepsort
AT ahamedtofael realtimepearfruitdetectionandcountingusingyolov4modelsanddeepsort