Application of Image Processing Techniques for UAV Detection Using Deep Learning and Distance-Wise Analysis
Abstract
:1. Introduction
2. Related Work and Contributions
- A large dataset of various types of UAVs in various terrains was used, which addresses the issue of model overfitting and provides a benchmark for testing the model in various backgrounds, ensuring the model’s reliability in real-world scenarios.
- Different image processing techniques were performed on the dataset before feeding them to the model, which led to an increment in the accuracies of the models.
- Recent versions of the state-of-the-art object detection algorithms are used in this paper, providing higher accuracies than the previous ones.
- Distance-wise analysis was conducted to test the performances of models with image-processed data in close, mid, and far ranges, which is critical when analyzing the performances of different models.
3. Methodology
3.1. Object Detectors
- (1)
- Find an arbitrary number of objects;
- (2)
- Classify each item and use a bounding box to estimate its size.
3.2. YOLO
3.3. Image Preprocessing
3.3.1. RGB
3.3.2. Grayscale
3.3.3. Hue Augmentation
3.3.4. Edge Enhancement
4. Experimental Setup
4.1. Dataset
4.2. Parameters
- Precision—the ratio of positive instances that is correctly classified to the total number of positive instances.
- Recall—calculated by dividing the positive examples in the test set by the number of correctly categorized positive examples.
- Confidence score—tells us the classifier’s level of assurance and the likelihood that the box includes an object of interest; the confidence score would ideally be zero if there is no object in the box.
- Intersection Over Union (IoU)—a ratio that indicates how much overlap occurs between two bounding boxes (Figure 4). The higher value of IoU signifies a closer match between the expected and actual bounding boxes.
- IoU threshold—refers to the minimum IoU value between the actual and predicted bounding boxes for the prediction to be considered a true positive.
- Average Precision(AP)—defined as the area under the PR curve (precision–recall curve). For example, AP50 refers to the average precision score when the IOU threshold is 50%.
- MAP score—mAP or mean average precision is simply all of the AP values averaged in different classes/categories. Since there is only one class in our study (drone), AP and mAP are the same.
4.3. Working
5. Results and Explanation
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Hassan, S.A.; Rahim, T.; Shin, S.Y. Real-time uav detection based on deep learning network. In Proceedings of the 2019 International Conference on Information and Communication Technology Convergence (ICTC), Jeju Island, Republic of Korea, 16–18 October 2019; pp. 630–632. [Google Scholar]
- Hu, Y.; Wu, X.; Zheng, G.; Liu, X. Object detection of UAV for anti-UAV based on improved YOLOv3. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019; pp. 8386–8390. [Google Scholar]
- Niu, R.; Qu, Y.; Wang, Z. UAV Detection Based on Improved YOLOv4 Object Detection Model. In Proceedings of the 2021 2nd International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE), Zhuhai, China, 24–26 September 2021; pp. 25–29. [Google Scholar]
- Huang, Y.; Cui, H.; Ma, J.; Hao, Y. Research on an aerial object detection algorithm based on improved YOLOv5. In Proceedings of the 2022 3rd International Conference on Computer Vision, Image and Deep Learning & International Conference on Computer Engineering and Applications (CVIDL & ICCEA), Changchun, China, 20–22 May 2022; pp. 396–400. [Google Scholar]
- Cui, B.; Zhang, Y.; Li, J.; Liu, Z. Unmanned Aerial Vehicle (UAV) Object Detection in High-Resolution Image Based on Improved YOLOv5. In Proceedings of the CIBDA 2022—3rd International Conference on Computer Information and Big Data Applications, Chennai, India, 12–13 November 2022; pp. 1–4. [Google Scholar]
- Al-Qubaydhi, N.; Alenezi, A.; Alanazi, T.; Senyor, A.; Alanezi, N.; Alotaibi, B.; Alotaibi, M.; Razaque, A.; Abdelhamid, A.A.; Alotaibi, A. Detection of Unauthorized Unmanned Aerial Vehicles Using YOLOv5 and Transfer Learning. Electronics 2022, 11, 2669. [Google Scholar] [CrossRef]
- Aker, C.; Kalkan, S. Using deep networks for drone detection. In Proceedings of the 2017 14th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), Lecce, Italy, 29 August–1 September 2017; pp. 1–6. [Google Scholar]
- Nalamati, M.; Kapoor, A.; Saqib, M.; Sharma, N.; Blumenstein, M. Drone detection in long-range surveillance videos. In Proceedings of the 2019 16th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), Taipei, Taiwan, 18–21 September 2019; pp. 1–6. [Google Scholar]
- Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.Y.; Berg, A.C. Ssd: Single shot multibox detector. In Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands, 11–14 October 2016; pp. 21–37. [Google Scholar]
- Szegedy, C.; Vanhoucke, V.; Ioffe, S.; Shlens, J.; Wojna, Z. Rethinking the inception architecture for computer vision. In Proceedings of the Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 26 June–1 July 2016; pp. 2818–2826. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 26 June–1 July 2016; pp. 770–778. [Google Scholar]
- Wang, C.; Tian, J.; Cao, J.; Wang, X. Deep Learning-Based UAV Detection in Pulse-Doppler Radar. IEEE Trans. Geosci. Remote. Sens. 2022, 60, 1–12. [Google Scholar] [CrossRef]
- Dadrass Javan, F.; Samadzadegan, F.; Gholamshahi, M.; Ashatari Mahini, F. A Modified YOLOv4 Deep Learning Network for Vision-Based UAV Recognition. Drones 2022, 6, 160. [Google Scholar] [CrossRef]
- Nie, W.; Han, Z.C.; Li, Y.; He, W.; Xie, L.B.; Yang, X.L.; Zhou, M. UAV Detection and Localization Based on Multi-Dimensional Signal Features. IEEE Sensors J. 2022, 22, 5150–5162. [Google Scholar] [CrossRef]
- Zheng, Y.; Chen, Z.; Lv, D.; Li, Z.; Lan, Z.; Zhao, S. Air-to-Air Visual Detection of Micro-UAVs: An Experimental Evaluation of Deep Learning. IEEE Robot. Autom. Lett. 2021, 6, 1020–1027. [Google Scholar] [CrossRef]
- Dong, Q.; Zou, Q. Visual UAV detection method with online feature classification. In Proceedings of the 2017 IEEE 2nd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), Chengdu, China, 15–17 December 2017; pp. 429–432. [Google Scholar] [CrossRef]
- Sun, P.; Ding, X. UAV image detection algorithm based on improved YOLOv5. In Proceedings of the 2022 IEEE 5th International Conference on Information Systems and Computer Aided Education (ICISCAE), Dalian, China, 23–25 September 2022; pp. 757–760. [Google Scholar] [CrossRef]
- Cheng, Q.; Wang, H.; Zhu, B.; Shi, Y.; Xie, B. A Real-Time UAV Target Detection Algorithm Based on Edge Computing. Drones 2023, 7, 95. [Google Scholar] [CrossRef]
- Aydin, B.; Singha, S. Drone Detection Using YOLOv5. Eng 2023, 4, 416–433. [Google Scholar] [CrossRef]
- Zhizhong, X.; Jingen, W.; Zhenghao, H.; Yuhui, S. Research on multi UAV target detection algorithm in the air based on improved CenterNet. In Proceedings of the 2020 International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE), Bangkok, Thailand, 30 October–1 November 2020; pp. 367–372. [Google Scholar] [CrossRef]
- Lu, Z.; Yueping, P.; Zecong, Y.; Rongqi, J.; Tongtong, Z. Infrared Small UAV Target Detection Algorithm Based on Enhanced Adaptive Feature Pyramid Networks. IEEE Access 2022, 10, 115988–115995. [Google Scholar] [CrossRef]
- Huang, X.; Wang, Z.; Peng, Q.; Xu, H.; He, Z. LSS UAV target intelligent detection in urban complex environment. In Proceedings of the 2021 IEEE 3rd International Conference on Civil Aviation Safety and Information Technology (ICCASIT), Dali, China, 11–13 October 2021; pp. 648–650. [Google Scholar] [CrossRef]
- Ding, Y.; Qu, Y.; Zhang, Q.; Tong, J.; Yang, X.; Sun, J. Research on UAV Detection Technology of Gm-APD Lidar Based on YOLO Model. In Proceedings of the 2021 IEEE International Conference on Unmanned Systems (ICUS), Beijing, China, 15–17 October 2021; pp. 105–109. [Google Scholar] [CrossRef]
- Li, J.; Ye, D.H.; Kolsch, M.; Wachs, J.P.; Bouman, C.A. Fast and Robust UAV to UAV Detection and Tracking From Video. IEEE Trans. Emerg. Top. Comput. 2022, 10, 1519–1531. [Google Scholar] [CrossRef]
- Dataset Link. Available online: https://www.kaggle.com/datasets/dasmehdixtr/drone-dataset-uav (accessed on 20 December 2023).
Model | Image Augmentation | Precision | Recall | mAP Score | |
---|---|---|---|---|---|
IoU Threshold | |||||
0.5 | 0.5:0.95 | ||||
YOLOv5 | RGB | 93.1 | 92.7 | 95.7 | 58.3 |
Grayscale | 93.7 | 93.7 | 96.4 | 58.2 | |
Hue | 95.0 | 95.6 | 96.7 | 61.4 | |
Edge Enhancement Mask-1 | 94.4 | 91.1 | 94.9 | 58.5 | |
Edge Enhancement Mask-1 | 94.2 | 89.1 | 94.7 | 60.1 | |
YOLOv7 | RGB | 91.5 | 91.1 | 93.6 | 54.6 |
Grayscale | 82.8 | 77.4 | 83.5 | 44.7 | |
Hue | 85.6 | 85.6 | 88.1 | 46.1 | |
Edge Enhancement Mask-1 | 87.1 | 78.2 | 84.9 | 40 | |
Edge Enhancement Mask-2 | 90.6 | 75.3 | 87 | 42.39 |
Sr No. | Models | Image Pre-Processing | Close | Mid | Far | |||
---|---|---|---|---|---|---|---|---|
Figure no. | ||||||||
1. | YOLOv5 (Confidence Scores) | 8 | 9 | 10 | 11 | 12 | 13 | |
RGB | 0.83 | 0.80 | 0.70 | 0.84 | 0.78 | 0.37 | ||
Hue | 0.80 | 0.89 | 0.78 | 0.87 | 0.82 | 0.90 | ||
Grayscale | 0.83 | 0.87 | 0.83 | 0.63 | 0.92 | 0.84 | ||
EE mask-1 | 0.83 | 0.87 | 0.80 | 0.88 | 0.87 | 0.69 | ||
EE mask-2 | 0.79 | 0.89 | 0.82 | 0.69 | 0.76 | 0.60 | ||
2. | YOLOv7 (Confidence Scores) | RGB | 0.79 | 0.63 | 0.63 | ND | 0.79 | ND |
Hue | 0.71 | ND | ND | ND | ND | ND | ||
Grayscale | 0.62 | ND | 0.47 | ND | 0.60 | 0.38 | ||
EE mask-1 | 0.69 | ND | ND | ND | ND | ND | ||
EE mask-2 | 0.78 | ND | ND | ND | 0.56 | 0.39 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. 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/).
Share and Cite
Dewangan, V.; Saxena, A.; Thakur, R.; Tripathi, S. Application of Image Processing Techniques for UAV Detection Using Deep Learning and Distance-Wise Analysis. Drones 2023, 7, 174. https://doi.org/10.3390/drones7030174
Dewangan V, Saxena A, Thakur R, Tripathi S. Application of Image Processing Techniques for UAV Detection Using Deep Learning and Distance-Wise Analysis. Drones. 2023; 7(3):174. https://doi.org/10.3390/drones7030174
Chicago/Turabian StyleDewangan, Vedanshu, Aditya Saxena, Rahul Thakur, and Shrivishal Tripathi. 2023. "Application of Image Processing Techniques for UAV Detection Using Deep Learning and Distance-Wise Analysis" Drones 7, no. 3: 174. https://doi.org/10.3390/drones7030174
APA StyleDewangan, V., Saxena, A., Thakur, R., & Tripathi, S. (2023). Application of Image Processing Techniques for UAV Detection Using Deep Learning and Distance-Wise Analysis. Drones, 7(3), 174. https://doi.org/10.3390/drones7030174