• No results found

Vehicle detection and tracking method

N/A
N/A
Protected

Academic year: 2021

Share "Vehicle detection and tracking method"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

VEHICLE DETECTION AND TRACKING

METHOD

SUZANA BINTI MOHAMED SALLEH

Bachelor of Computer Science

(Graphic and Multimedia Technology)

UNIVERSITI MALAYSIA PAHANG

(2)

SUPERVISOR’S DECLARATION

I hereby declare that I have checked this thesis and in my opinion, this thesis is adequate in terms of scope and quality for the award of the degree of Bachelor of Computer Science in Graphic and Multimedia Technology.

_______________________________ (Supervisor’s Signature)

Full Name : Dr. Ferda Ernawan

Position : Senior Lecturer

(3)

STUDENT’S DECLARATION

I hereby declare that the work in this thesis is based on my original work except for quotations and citations which have been duly acknowledged. I also declare that it has not been previously or concurrently submitted for any other degree at Universiti Malaysia Pahang or any other institutions.

_______________________________ (Student’s Signature)

Full Name : SUZANA BINTI MOHAMED SALLEH

ID Number : CD15066

(4)

VEHICLE DETECTION AND TRACKING METHOD

SUZANA BINTI MOHAMED SALLEH

Thesis submitted in fulfillment of the requirements for the award of the Bachelor Degree

Faculty of Computer System & Software Engineering UNIVERSITI MALAYSIA PAHANG

(5)

ACKNOWLEDGEMENTS

In preparing this thesis, I was in many contacts with many people, researchers and academicians. They have contributed towards my understanding and thoughts. Furthermore, I wish to express my sincere appreciations to my thesis supervisor, Dr. Ferda Ernawan. Without his continued support and interest, this thesis would not be presented as same as here.

I would like to thank you on my Final year project coordinator, Sir Mohd Arfian bin Ismail and also my faculty, Faculty of Computer System & Software Engineeering of Universiti Malaysia Pahang for providing the necessary resources, information, and knowledge required to complete this thesis.

I would like to thank my family and friends that have supported and motivated me. I would like to apologize for my mistaken and if I have missed out anyone who had helped me throughout the process of completing this thesis.

(6)

ABSTRAK

Sistem pengawasan lalu lintas atau dikenali sebagai Sistem Pengangkutan Pintar (ITS) merupakan isu penting dalam pengurusan pemantauan lalu lintas. Teknik berasaskan penglihatan komputer adalah salah satu kaedah yang paling popular digunakan dalam aplikasi pengawasan video. Beberapa teknik pengesanan kenderaan, klasifikasi, pengiraan dan pengesanan telah dicadangkan oleh banyak penyelidik. Oleh itu, teknik sedia ada yang telah digunakan sekarang masih mempunyai masalah mengenai kualiti sistem pemantauan lalu lintas yang paling rendah dan kadang-kadang rendah terhadap keberkesanan dan ketepatan mereka. Tumpuan pada sistem pengesanan dan pengesanan kenderaan, aliran optik digunakan untuk mengesan dan menjejaki kenderaan. Penapis Kalman adalah kaedah pengesanan objek yang popular dalam sistem sedia ada yang sedia ada, bagaimanapun, kaedah berasaskan aliran optik memberikan hasil prestasi yang lebih baik daripada filter kalman berdasarkan analisis penyelidikan yang telah dilakukan. Walaupun, untuk kaedah pengesanan latar depan, kaedah yang sering digunakan ialah pendekatan kaedah penolakan Latar Belakang tetapi dalam kajian ini, lebih menumpukan kepada pengurangan Latar Belakang Adaptif. Objektif kajian ini adalah untuk membangunkan Sistem Pengesanan dan Penjejakan Kenderaan dan untuk meningkatkan ketepatannya dengan menggunakan pengurangan Latar Belakang Adaptif dengan Penapis Median Adaptif untuk menapis penyimpangan bunyi dalam video yang diperoleh. Kaedah yang dicadangkan ini datang dari analisis perbandingan kaedah sedia ada yang menumpukan pada penapisan hingar yang merupakan penapis Median dan penapis Median Adaptif yang akan memberi hasil yang memuaskan untuk ketepatan pengesanan kenderaan.

(7)

ABSTRACT

Traffic surveillance system or as known as Intelligent Transportation System (ITS) is an important issue in traffic monitoring management. A computer-vision based technique is the one of the most popular methods applied in video surveillance application. Several techniques of vehicle detection, classification, counting and tracking have been proposed by many researchers. Therefore, the existing techniques that have been used now still have an issue regarding to lowest quality of the traffic monitoring systems and sometimes low on their effectiveness and accuracy. Focus on vehicle detection and tracking system, Optical flow is used in order to detect and track vehicles. Kalman filter is the popular object tracking method implement in current existing system, however, Optical flow based method give better performance result rather than kalman filter based on the research analysis that have been done. While, for foreground detection method, the frequently used method is Background subtraction method approach but in this research, more focusing on Adaptive Background subtraction. This research objective is to develop Vehicle Detection and Tracking System and to enhance its accuracy using Adaptive Background subtraction with Adaptive Median Filter to filter the noise distortion in the acquired video. The proposed methods come from comparison analysis of existing method focusing on noise filtering which is Median filter and Adaptive Median filter that will give satisfied result for the vehicle’s detection accuracy.

(8)

TABLE OF CONTENT DECLARATION TITLE PAGE ACKNOWLEDGEMENTS i ABSTRAK ii ABSTRACT 4 TABLE OF CONTENT iv LIST OF TABLES v

LIST OF FIGURES vii

LIST OF ABBREVIATIONS viii

CHAPTER 1 INTRODUCTION 1 1.0 Background of study 1 1.1 ResearchProblem 2 1.1 ResearchQuestions 3 1.3 ResearchObjective 4 1.4 Scope 4 1.5 Thesis organization 5

CHAPTER 2 LITERATURE REVIEW 6

2.1 Vehicle Detection 6

2.2 Studies on existing Techniques 7

(9)

B. Gaussian Mixture Model 7-8 C. Blob Detection 8 C. Blob Analysis 9-10 D. Kalman Filter 11-13 E. Optical Flow 13 E. Median Filter 15

2.3 Comparison to existing techniques 17

CHAPTER 3 METHODOLOGY 22

3.0 Introduction 20

3.1 Vehicle Detection and Tracking 20-21

3.2 Adaptive Background Subtraction 22-23

3.3 Adaptive Median Filter 23-24

3.4 Evaluation to vehicle detection and tracking 26

CHAPTER 4 RESULT AND DISCUSSION 27

4.0 Introduction 27

4.1 Overview Of Vehicle Detection Method 27

4.1.1 Existing Vehicle Detection Schemes 28-29

4.1.2 List Of Tools And Source 29

4.2 Result And Discussion 29-36

4.3 Performance Evaluation 37

(10)

5.0 Introduction 35

5.1 Research Constraint 35

5.2 Research Conclusion 36

5.3 Future Work 36

REFERENCES 41-43

(11)

LIST OF TABLES

Table 2.3 Comparison between 3 Existing Techniques 17

Table 3.0 Average processing time of various stages between Lucas-Kanade 18 &Horn-Schunk

Table 4.0 Results of the detection test 19

Table 4.2a Detection result and comparison value for 2 types of existing 29 method

(12)

LIST OF FIGURES

Figure 1.0 Extracted features from Blob Analysis and detection on original 10 frame

Figure 2.0 Extracted features from Blob Analysis and detection on 11 foreground frame

Figure 3.0 Extracted features without using Kalman Filter for vehicle 12 tracking

Figure 4.0 Extracted features with using Kalman Filter for vehicle tracking 13

Figure 5.0 Original video 15

Figure 6.0 Motion vector by optical flow computation on the detected 15 vehicles

Figure 7.0 Image output before applying median filter 16

Figure 8.0 Image output after applying median filter 16

Figure 3.1 Simple Block diagram of Proposed Method for Vehicle 21 detection and tracking

Figure 4.1a Flow diagram of vehicle detection using Optical flow and 26 Blob analysis

Figure 4.1b Flow diagram of vehicle detection using Kalman filter and 27

Blob analysis.

Figure 4.1c Flow diagram of proposed method. 28

(13)

LIST OF ABBREVIATIONS

ITS Intelligent Transportation System GMM Gaussian Mixture Model

2D Two Dimensional DR Detection Rate

(14)

1 CHAPTER 1 INTRODUCTION 1.0 Background of study

“Traffic congestion is a global issue, it is a matter of how we are going to solve it”(Andy,2017) shows that the problem related to traffic jam is a part of huge issues in our country. The development of economic growth and increases of human populations has increase the number of vehicles amount in a freeway. Related to that, some problem of traffic congestion has come out due to several factors such as the inefficiency and non-reliability of traffic management. Nowadays, there have many strategies that have been analysed to overcome that issue by the uses of technology and some logical approaches but, there is not enough solution to solve current issues with efficient management. According to that, vehicle detection and tracking plays an effective and significant role in the area of traffic surveillance system where efficient traffic management and safety is the main concern (Bhaskar, Yong, 2014) for better future of Intelligent Transportation System (ITS).

The object detection and tracking main target is vehicles. This approach will undergo the process to detect and tracking vehicles based on the video frames sequence. Back to the current system, the detection equipment has limited capabilities and reliability issues. Mostly, a current system use inductive loop which is placed in pavement surface that are unable to measure certain traffic parameters to accessing accurately traffic conditions. But, this method are no longer used because there have another way that more better to implement. Video surveillance and monitoring that use computer vision which lies on several image processing techniques as a strategy to produce more reliable and faster result. Most of the existing vehicle detection and tracking techniques use background subtraction and kalman filter as their method. There are many of

(15)

2

methods that can be used for object detection such as frame differencing, optical flow, background subtraction, blob analysis and feature – based method. The common use by researcher is background subtraction methods that produce the foreground and background frames that enable the methods to differentiate which pixels in the image represent a vehicle from the video sequence. Object tracking also widely used in many applications like video surveillance for traffic management and Pedestrian tracking purpose.

However, Adaptive Background Subtraction and Adaptive Median Filter are example of method that can be implementing in object detection and tracking process that can help in increasing the accuracy and effectiveness of vehicle detection and tracking system. Economic, more reliable and flexible detection method is needed to produce a better traffic surveillance to reduce traffic congestion problems. Therefore, research has been made to propose new method that can be used to enhance the effectiveness and accuracy of vehicle detection and tracking. The motion-based multiple object tracking method will be the main focus that will be implement in this research. This proposed method is to identify, analyse and implement combination of detecting and tracking method in order to achieve the objectives.

1.1 Research Problem

Nowadays, the amount of car that used on the roads increasing from time to time especially this days we need a transportation to go anywhere and transportation help us to go to the place faster and safe. But, the increases of vehicles have led to some problem such as traffic jammed. In order to help to reduce the number of traffic accidents and traffic jammed in urban area, video surveillance is one of the tools that have been widely used for the solution (Djalalov, Nisar, Salih, & Malek, 2010). However, the existing techniques that have been used now still have an issue regarding to lowest quality of the traffic monitoring systems (Zhang, Gao, Xue, Zhao, & Liu, 2018).

(16)

3

Traffic surveillance and monitoring approach are relies on several techniques of computer vision. There are various kind of techniques that can be used in vehicle detection and tracking system in order to increase accuracy and the effectiveness but until now there are still have another approaches have been studied by other researcher. Recent study shows commonly used method in vehicle detection and tracking is Kalman Filter. There are four types of Kalman Filter such as Kalman filter, Extended Kalman filter, Unscented Kalman filter and Complex Kalman filter (Mohanty & Kar, 2009). But, this extension of Kalman filter is not enough to ensure the accuracy for all type state systems. To locate and tracking object in low-contrast and high illumination are difficult (Wu, Kao, Jen, Li, Cheng, & Juang, 2014). Kalman also is not good enough to tracking motion object with non-linear state system. Therefore another tracking method needs to be design to increase the accuracy of vehicle detection and tracking system.

Object detection approaches exist in literature can classify into three categories which is frame differencing, optical flow and the background subtraction approaches (S. Parek, Thakore, & K. Jaliya, 2014). Background subtraction method is the famous used in motion object detection application, therefore there are various type of approach regarding background subtraction process. However, this method has many constraints like noise from image digitization and threshold selection from segmentation step (Elharrouss, Moujahid, Elkaitouni, & Tairi, 2016). The detection results still not give accurate detection. The error value for object classification and detection still high when misused of method applied. Therefore, Adaptive Background Subtraction approach can be introduced in order to enhance the accuracy detection of desired object in vehicles detection.

1.2 Research Questions

Q1: What is the suitable technique to use for applying in Vehicle Detection and Tracking System?

(17)

41

REFERENCES

Aslani, S., Mahdavi-Nasab, H. (2013). Optical Flow Based Moving Object Detection

And Tracking For Traffic Surveillance. International Journal Of Electrical, Computer,

Electronic And Communication Engineering, Vol(7), No(9).

Berntop. (2015). Feedback Particle Filter: Application and Evaluation. 18th

International Conference on Information

Fusion.https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7266752

Bhaskar, Yong. (2014). Image processing based vehicle detection and tracking method.

Computer and Information Sciences (ICCOINS), 2014 International Conference on, doi: 10.1109/ICCOINS.2014.6868357

Chavan, Gengaje. (2017). Multiple Object Detection Using GMM Techniques and

Tracking using Kalman Filter. International Journal Of Computer Applications

(0975-8887), 172(3).

Djalalov, Nisar, Salih, Malek. (2010). AN ALGORITHM FOR VEHICLE

DETECTION AND TRACKING. Intelligent and Advanced Systems (ICIAS), 2010

International Conference, doi: 10.1109/ICIAS.2010.5716189.

Elharrouss, Moujahid, Elkaitouni, Tairi. (2016). An effective foreground detection

approach using a block-based background modeling. 2016 13th International

Conference Computer Graphics, Imaging and Visualization, 190 – 195, doi: 10.1109/CGiV.2016.44

Kohli, Kaur. (2015). Noise Removal In Image Processing Using Median, Adaptive Median And Proposed Median Filter and Respective Image Quality Comparison.

(18)

42

International Journal Of Engineering Technology, Management And Applied Sciences (ISSN 2349-4476).

Maharjan, Shrestha. (2015). Automatic Vehicle Detection and Road Traffic Congestion

Mappingwith Image Processing Techniques. International journal of computer

applications (0975-8887), 114(16).

Nurhadiyatna, Jatmiko, Hardjono. (2013). Background Subtraction Using Gaussian

Mixture. 2013 IEEE International Conference on Systems, Man, and Cybernetics, doi:

10.1109/SMC.2013.684.

Rahmat, Rahmat, Jumari. (2015, Jun 15). VEHICLE DETECTION USING IMAGE PROCESSING FOR TRAFFIC CONTROL AND SURVEILLANCE SYSTEM. Retrieved from

https://www.researchgate.net/publication/265481813_VEHICLE_DETECTION_USIN G_IMAGE_PROCESSING_FOR_TRAFFIC_CONTROL_AND_SURVEILLANCE_S YSTEM

Reeja, Latha, Rinisha. (2015). DETECTING AND TRACKING MOVING VEHICLES

FOR TRAFFIC SURVEILLANCE. ARPN Journal of Engineering and Applied

Sciences, Vol.

10(4).http://www.arpnjournals.com/jeas/research_papers/rp_2015/jeas_0315_1692. pdf

Shantaiya, S.,Verma, K., Mehta, K. (2015). Multiple Object Tracking Using Kalman

Filter And Optical Flow. European Journal Of Advances In Engineering And

Technology, 2(2), 34-39.

S. Parek, Thakore, K. Jaliya. (2014). A Survey on Object Detection and Tracking

(19)

43 Communication Engineering, Vol. 2(2).

https://pdfs.semanticscholar.org/25a6/c5dff9a7019475daa81cd5a7f1f2dcdb5cf1.pdf

Tourani, Shahbahrami. (2015). Vehicle counting method based on digital image

processing algorithms. Pattern Recognition and Image Analysis (IPRIA), 2015 2nd

References

Related documents

The other guarantee funds considered are the Fondo di rotazione per la solidarietà alle vittime dei reati di tipo mafioso, delle richieste estorsive e dell'usura - Revolving fund

solve the central bank’s robust decision problem, examine the nature of the speci…cation errors that it fears, document how these speci…cation errors distort the expectation

In fact, he argued that “people who study sensemaking oscillate ontologically because that is what helps them understand the actions of people in everyday life

hemerocallidea extract, hypoxoside and their respective AuNPs can lower the pro-in fl ammatory cytokine levels in the macrophages cells, while only AuNPs produced from hypoxoside

This study, as well as other studies, has found that patients with early predictors of haematoma expansion such as large haematoma, 28 anticoagulation treatment and spot sign 3 19

This study demonstrated the concept of goods transportation through an air tunnel using the aerodynamic forces created by the presence of the pressure difference

amend the ordinance that originally adopted the code, as amended, unless the original ordinance was codified. If the original ordinance was codified in a municipal code, the

The second row shows the divergence between the histograms of the electrical conductivity distribution of the affected and healthy glands.Table 3, below, contains the data on