https://doi.org/10.1140/epje/s10189-023-00290-x
Regular Article - Flowing Matter
Benchmarking YOLOv5 and YOLOv7 models with DeepSORT for droplet tracking applications
1
Center for Life Nano- & Neuro-Science, Fondazione Istituto Italiano di Tecnologia (IIT), viale Regina Elena 295, 00161, Rome, Italy
2
NEST, Istituto Nanoscienze-CNR and Scuola Normale Superiore, Piazza San Silvestro 12, 56127, Pisa, Italy
3
Istituto per le Applicazioni del Calcolo del Consiglio Nazionale delle Ricerche, via dei Taurini 19, 00185, Rome, Italy
4
Dipartimento di Ingegneria Civile, Informatica e delle Tecnologie Aeronautiche, Università degli Studi Roma TRE, via Vito Volterra 62, 00146, Rome, Italy
5
Dipartimento di Fisica, Università di Pisa, Largo B. Pontecorvo 3, 56127, Pisa, Italy
6
Physics Department, Harvard University, 17 Oxford Street, 02138, Cambridge, MA, USA
Received:
21
January
2023
Accepted:
15
April
2023
Published online:
8
May
2023
Tracking droplets in microfluidics is a challenging task. The difficulty arises in choosing a tool to analyze general microfluidic videos to infer physical quantities. The state-of-the-art object detector algorithm You Only Look Once (YOLO) and the object tracking algorithm Simple Online and Realtime Tracking with a Deep Association Metric (DeepSORT) are customizable for droplet identification and tracking. The customization includes training YOLO and DeepSORT networks to identify and track the objects of interest. We trained several YOLOv5 and YOLOv7 models and the DeepSORT network for droplet identification and tracking from microfluidic experimental videos. We compare the performance of the droplet tracking applications with YOLOv5 and YOLOv7 in terms of training time and time to analyze a given video across various hardware configurations. Despite the latest YOLOv7 being 10% faster, the real-time tracking is only achieved by lighter YOLO models on RTX 3070 Ti GPU machine due to additional significant droplet tracking costs arising from the DeepSORT algorithm. This work is a benchmark study for the YOLOv5 and YOLOv7 networks with DeepSORT in terms of the training time and inference time for a custom dataset of microfluidic droplets.
© The Author(s) 2023
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.