Real-time UAV-based vehicle counting method based on deep learning

Vision-based vehicle counting is essential in the traffic field. By utilizing intersection surveillance cameras, Unmanned Aerial Vehicles (UAVs), or existing filming devices, vision-based vehicle detection and counting can provide reliable traffic flow information to traffic control systems. Among t...

Full description

Saved in:
Bibliographic Details
Main Author: Dang, Zichen
Other Authors: Yap Kim Hui
Format: Thesis-Master by Coursework
Language:English
Published: Nanyang Technological University 2024
Subjects:
UAV
Online Access:https://hdl.handle.net/10356/180873
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-180873
record_format dspace
spelling sg-ntu-dr.10356-1808732024-11-01T15:45:50Z Real-time UAV-based vehicle counting method based on deep learning Dang, Zichen Yap Kim Hui School of Electrical and Electronic Engineering EKHYap@ntu.edu.sg Computer and Information Science Object counting FasterNet Attention module YOLOv7 DeepSORT UAV Vision-based vehicle counting is essential in the traffic field. By utilizing intersection surveillance cameras, Unmanned Aerial Vehicles (UAVs), or existing filming devices, vision-based vehicle detection and counting can provide reliable traffic flow information to traffic control systems. Among these methods, UAV-based vehicle counting has gained significant attention due to its high flexibility, wide field of view, and fast deployment capabilities. Typically, real-time video vehicle counting methods are employed to reflect traffic flow data instantaneously. However, deep learning-based vehicle detection and counting still face challenges related to efficiency and accuracy. To address these issues, this dissertation proposes a video vehicle counting method that integrates an improved YOLOv7 with the DeepSORT tracking algorithm. In the design of the detector, the high altitude of images captured by UAVs typically results in smaller vehicle sizes, while the traffic scene often presents a complex background. Additionally, real-time video detection demands processing speeds. To address these challenges, this dissertation proposes an improved YOLOv7 detector. The detector uses FasterNet as its backbone network and replaces traditional convolution with partial convolution, effectively reducing computational redundancy and minimizing memory access, thereby improving detection speed. Furthermore, a Convolutional Block Attention Module (CBAM) is integrated into the feature fusion network to improve feature discrimination ability in complex environments, thus improving both detection accuracy and robustness across various traffic scenarios. The experimental results demonstrate that the improved detector outperforms traditional networks in terms of detection accuracy and processing speed. In the counting algorithm, a tracking-by-detection strategy is employed, combining the improved YOLOv7 detector with the DeepSORT tracker to effectively track and count vehicles. The method determines the counting area by delineating a judgment line, and determines the number of vehicles passing through the intersection by checking if the tracking trajectory crosses this line. The experimental results indicate that the proposed counting model demonstrates significant advantages in both real-time processing speed and counting accuracy when compared to the baseline model. Master's degree 2024-10-31T10:47:21Z 2024-10-31T10:47:21Z 2024 Thesis-Master by Coursework Dang, Z. (2024). Real-time UAV-based vehicle counting method based on deep learning. Master's thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/180873 https://hdl.handle.net/10356/180873 en application/pdf Nanyang Technological University
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Computer and Information Science
Object counting
FasterNet
Attention module
YOLOv7
DeepSORT
UAV
spellingShingle Computer and Information Science
Object counting
FasterNet
Attention module
YOLOv7
DeepSORT
UAV
Dang, Zichen
Real-time UAV-based vehicle counting method based on deep learning
description Vision-based vehicle counting is essential in the traffic field. By utilizing intersection surveillance cameras, Unmanned Aerial Vehicles (UAVs), or existing filming devices, vision-based vehicle detection and counting can provide reliable traffic flow information to traffic control systems. Among these methods, UAV-based vehicle counting has gained significant attention due to its high flexibility, wide field of view, and fast deployment capabilities. Typically, real-time video vehicle counting methods are employed to reflect traffic flow data instantaneously. However, deep learning-based vehicle detection and counting still face challenges related to efficiency and accuracy. To address these issues, this dissertation proposes a video vehicle counting method that integrates an improved YOLOv7 with the DeepSORT tracking algorithm. In the design of the detector, the high altitude of images captured by UAVs typically results in smaller vehicle sizes, while the traffic scene often presents a complex background. Additionally, real-time video detection demands processing speeds. To address these challenges, this dissertation proposes an improved YOLOv7 detector. The detector uses FasterNet as its backbone network and replaces traditional convolution with partial convolution, effectively reducing computational redundancy and minimizing memory access, thereby improving detection speed. Furthermore, a Convolutional Block Attention Module (CBAM) is integrated into the feature fusion network to improve feature discrimination ability in complex environments, thus improving both detection accuracy and robustness across various traffic scenarios. The experimental results demonstrate that the improved detector outperforms traditional networks in terms of detection accuracy and processing speed. In the counting algorithm, a tracking-by-detection strategy is employed, combining the improved YOLOv7 detector with the DeepSORT tracker to effectively track and count vehicles. The method determines the counting area by delineating a judgment line, and determines the number of vehicles passing through the intersection by checking if the tracking trajectory crosses this line. The experimental results indicate that the proposed counting model demonstrates significant advantages in both real-time processing speed and counting accuracy when compared to the baseline model.
author2 Yap Kim Hui
author_facet Yap Kim Hui
Dang, Zichen
format Thesis-Master by Coursework
author Dang, Zichen
author_sort Dang, Zichen
title Real-time UAV-based vehicle counting method based on deep learning
title_short Real-time UAV-based vehicle counting method based on deep learning
title_full Real-time UAV-based vehicle counting method based on deep learning
title_fullStr Real-time UAV-based vehicle counting method based on deep learning
title_full_unstemmed Real-time UAV-based vehicle counting method based on deep learning
title_sort real-time uav-based vehicle counting method based on deep learning
publisher Nanyang Technological University
publishDate 2024
url https://hdl.handle.net/10356/180873
_version_ 1814777766462095360