Wheeler-Classified Vehicle Detection System using CCTV Cameras

Similar documents
Automatic License Plate Recognition System using Histogram Graph Algorithm

Recognition Of Vehicle Number Plate Using MATLAB

Vehicle License Plate Recognition System Using LoG Operator for Edge Detection and Radon Transform for Slant Correction

Malaysian Car Number Plate Detection System Based on Template Matching and Colour Information

A NOVEL APPROACH FOR CHARACTER RECOGNITION OF VEHICLE NUMBER PLATES USING CLASSIFICATION

An Automatic System for Detecting the Vehicle Registration Plate from Video in Foggy and Rainy Environments using Restoration Technique

Morphological Image Processing Approach of Vehicle Detection for Real-Time Traffic Analysis

An Improved Bernsen Algorithm Approaches For License Plate Recognition

Keyword: Morphological operation, template matching, license plate localization, character recognition.

Preprocessing and Segregating Offline Gujarati Handwritten Datasheet for Character Recognition

Vehicle Number Plate Recognition with Bilinear Interpolation and Plotting Horizontal and Vertical Edge Processing Histogram with Sound Signals

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

Implementation of License Plate Recognition System in ARM Cortex A8 Board

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

Combined Approach for Face Detection, Eye Region Detection and Eye State Analysis- Extended Paper

License Plate Localisation based on Morphological Operations

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

Efficient Car License Plate Detection and Recognition by Using Vertical Edge Based Method

Automatic Licenses Plate Recognition System

Line Segmentation and Orientation Algorithm for Automatic Bengali License Plate Localization and Recognition

Extraction and Recognition of Text From Digital English Comic Image Using Median Filter

Method for Real Time Text Extraction of Digital Manga Comic

A SURVEY ON HAND GESTURE RECOGNITION

Detection and Verification of Missing Components in SMD using AOI Techniques

Image Processing Based Vehicle Detection And Tracking System

A Method of Multi-License Plate Location in Road Bayonet Image

Number Plate Recognition System using OCR for Automatic Toll Collection

Face Detection System on Ada boost Algorithm Using Haar Classifiers

RECOGNITION OF EMERGENCY AND NON-EMERGENCY LIGHT USING MATROX AND VB6 MOHD NAZERI BIN MUHAMMAD

Real-Time Face Detection and Tracking for High Resolution Smart Camera System

Classification of Clothes from Two Dimensional Optical Images

Image Processing and Particle Analysis for Road Traffic Detection

Matlab Based Vehicle Number Plate Recognition

Implementation of Barcode Localization Technique using Morphological Operations

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

FPGA based Real-time Automatic Number Plate Recognition System for Modern License Plates in Sri Lanka

Color Image Segmentation Using K-Means Clustering and Otsu s Adaptive Thresholding

ISSN No: International Journal & Magazine of Engineering, Technology, Management and Research

Automated License Plate Recognition for Toll Booth Application

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

International Journal of Advance Engineering and Research Development

Design a Model and Algorithm for multi Way Gesture Recognition using Motion and Image Comparison

Quality Control of PCB using Image Processing

A Novel Morphological Method for Detection and Recognition of Vehicle License Plates

Automatic Car License Plate Detection System for Odd and Even Series

Automatics Vehicle License Plate Recognition using MATLAB

World Journal of Engineering Research and Technology WJERT

Highly Adaptive Indian High Security Vehicle Number Plate Recognition

Ubiquitous and Mobile Computing CS 528: Final Project DeStress: A Stress Management Tool

OBJECTIVE OF THE BOOK ORGANIZATION OF THE BOOK

EFFICIENT ATTENDANCE MANAGEMENT SYSTEM USING FACE DETECTION AND RECOGNITION

Number Plate Recognition Using Segmentation

Automated Driving Car Using Image Processing

Detection of Defects in Glass Using Edge Detection with Adaptive Histogram Equalization

An Efficient DTBDM in VLSI for the Removal of Salt-and-Pepper Noise in Images Using Median filter

Traffic Sign Recognition Senior Project Final Report

Libyan Licenses Plate Recognition Using Template Matching Method

AUTOMATIC LICENSE PLATE RECOGNITION USING PYTHON

Intelligent Nighttime Video Surveillance Using Multi-Intensity Infrared Illuminator

Face Detection: A Literature Review

Camera Based EAN-13 Barcode Verification with Hough Transform and Sub-Pixel Edge Detection

Automatic Electricity Meter Reading Based on Image Processing

A Review of Optical Character Recognition System for Recognition of Printed Text

Iraqi Car License Plate Recognition Using OCR

Smart License Plate Recognition Using Optical Character Recognition Based on the Multicopter

Motion Detection Keyvan Yaghmayi

Volume 7, Issue 5, May 2017

Research on Pupil Segmentation and Localization in Micro Operation Hu BinLiang1, a, Chen GuoLiang2, b, Ma Hui2, c

VLSI Implementation of Impulse Noise Suppression in Images

A VIDEO CAMERA ROAD SIGN SYSTEM OF THE EARLY WARNING FROM COLLISION WITH THE WILD ANIMALS

Real Time Video Analysis using Smart Phone Camera for Stroboscopic Image

Detection of License Plates of Vehicles

Automated Number Plate Verification System based on Video Analytics

A Decision Tree Approach Using Thresholding and Reflectance Ratio for Identification of Yellow Rust

Bare PCB Inspection and Sorting System

Segmentation of Liver CT Images

NON UNIFORM BACKGROUND REMOVAL FOR PARTICLE ANALYSIS BASED ON MORPHOLOGICAL STRUCTURING ELEMENT:

Master thesis: Author: Examiner: Tutor: Duration: 1. Introduction 2. Ghost Categories Figure 1 Ghost categories

Automatic Crack Detection on Pressed panels using camera image Processing

Iris Segmentation & Recognition in Unconstrained Environment

Vehicle Detection using Images from Traffic Security Camera

DESIGN A MODEL AND ALGORITHM FOR FOUR GESTURE IMAGES COMPARISON AND ANALYSIS USING HISTOGRAM GRAPH. Kota Bilaspur, Chhattisgarh, India

HARDWARE SOFTWARE CO-SIMULATION FOR

CROWD ANALYSIS WITH FISH EYE CAMERA

FLUORESCENCE MAGNETIC PARTICLE FLAW DETECTING SYSTEM BASED ON LOW LIGHT LEVEL CCD

Biometrics Final Project Report

An Image Processing Approach for Screening of Malaria

Iris Recognition-based Security System with Canny Filter

MAV-ID card processing using camera images

An Informal Method of Village Mapping Using Edge Detection Technique& ISRO- BHUVAN Software

Real Time ALPR for Vehicle Identification Using Neural Network

Segmentation Plate and Number Vehicle using Integral Projection

A Chinese License Plate Recognition System

COLOR IMAGE SEGMENTATION USING K-MEANS CLASSIFICATION ON RGB HISTOGRAM SADIA BASAR, AWAIS ADNAN, NAILA HABIB KHAN, SHAHAB HAIDER

Digital Image Processing Based Quality Detection Of Raw Materials in Food Processing Industry Using FPGA

CHAPTER-4 FRUIT QUALITY GRADATION USING SHAPE, SIZE AND DEFECT ATTRIBUTES

A Study On Preprocessing A Mammogram Image Using Adaptive Median Filter

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

Robust Hand Gesture Recognition for Robotic Hand Control

A CSC Converter fed Sensorless BLDC Motor Drive

Transcription:

Wheeler-Classified Vehicle Detection System using CCTV Cameras Pratishtha Gupta Assistant Professor: Computer Science Banasthali University Jaipur, India G. N. Purohit Professor: Computer Science Banasthali University Jaipur, India Saroj Kumari M.Tech Scholar Information technology Banasthali University Jaipur, India ABSTRACT Wheeler-Classified Vehicle Detection System is the implementation to check whether vehicle is two-wheeler or four-wheeler from the ordinary traffic images captured through CCTV cameras installed at crossings along a particular road at an instant which is an important task in Intelligent Transportation Systems (ITS). The key contribution of this work are the introduction of methodology to reflect type of vehicle (two or four-wheeler) using MATLAB. Firstly, the region containing the vehicle is identified which is then cropped automatically from the traffic image and vehicle type is resulted using the approach of total number of corners obtained through corner detection of individual vehicle. If total number of corners exceeds the defined limit then output is reflected as four-wheeler otherwise two-wheeler. Keywords MATLAB, CCTV, Wheeler-Classified Vehicle Detection, Corner Detection. 1. INTRODUCTION Wheeler-Classified Vehicle Detection System concentrate on vehicle classification (two or four-wheeler), uses the most common feature among all vehicles, ubiquitous wheel. Vehicle classification newest application and is important especially for ITS including Toll Collection and Traffic Security Measures. This document presents a new effective method to check whether vehicle is two-wheeler or fourwheeler from the traffic images captured through CCTV cameras installed at crossings along a particular road at an instance for real time traffic signal control. In recent years, this is one of the applications of image and video processing. This experiment has been performed in MATLAB Environment. For detecting vehicle type, two source images have to be given as input to the system, one is blank road image and another is corresponding road image with vehicles. Taking the advantage of static background, background subtraction techniques have been used for separating static background (blank road image) with a moving foreground (corresponding image with vehicles). So that area where all type of road vehicles such as motorcycles, cars, buses etc. are present can be determined accurately. Exact location of vehicle is detected by computing intensity changes. This is done while traffic image is scanned from top to bottom, and correspondingly RGB intensity of each pixel is computed. If change in intensity is observed means there is a probability of occurrence of vehicle. Coordinates where change in intensity is detected are used for cropping individual vehicles. Corner detection method is applied on the traffic image for detecting corners. Now, count (total number of corners) corners of each cropped vehicle. If total number of corners exceeds the defined limit then output is reflected as four-wheeler otherwise two-wheeler. In this way, classification of type of vehicle can be obtained. The rest of paper is organized as follows: Section 2 describes literature survey. Section 3 introduces the proposed methodology; Section 4 and 5 present implementation of developed system on two different real-time images. Section 6 presents the experimental results. Section 7 provides concluding remarks. 2. LITERATURE SURVEY The ubiquitous wheel feature was used for developing wheel detector system by Achler O. et al. [1] [2] responses from the filter bank are applied to precomputed set of principle components; these are compared to a Gaussian mixture model of wheels and non-wheels. Where vehicle location was inferred using background segmentation. An efficient method was developed by Leung, M.K. et al. [3] for detecting the wheels of a vehicle in stereo image consists of two steps i.e. geometrical transformation and circle extraction. The circle extraction algorithm consists of template matching and the Hough transform. Different camera-based systems have been developed in the past that aimed at classifying the vehicle or detecting regions of interest in traffic images captured at the crossings. Applications of these systems are mainly in the area of ITS. These ITS applications make use of many techniques. Recently, some authors have reported the use of techniques proposed by Aragon A. C. et al. [4] was computer vision technique and machine leaning algorithm. This technique is useful for the visual detection of parts of interest i.e. bumpers, door handles, windows, wheels, lateral mirror, windshield, center, roof, head lights and rear lamp on the outer surface vehicles. Paul v. et al. [5] proposed a new technique called Cascade of Boosted Classifiers (CBC) for visual detection parts of interest. CBC combines pool of weak Classifiers which quickly discard area where the features of interest are not present. Complex classifiers work on most promising regions of the image. Classifiers use very simple features that are easy and fast to evaluate; this technique is useful for real time, not only detect one pattern in a scene but more than ten different patterns. Seong-Min K. et al. [6] and Agarwal S. et al. [7] used Template Matching to locate regions of interest. Semantic information about the problem domain is stored in Template [8]. Similarity measures are used to determine correct position of a template over the image. These similarity measures are 35

based on the Euclidean distance, probabilistic functions and Mean Square Errors cross-correlation functions. 3. PROPOSED METHODOLOGY MATLAB is most commonly used tool while dealing with problems related to video and image processing. So, MATLAB is used to acquire unique and good solution to the selected problem i.e. Wheeler-Classified Vehicle Detection. This experiment has been performed using MATLAB 7.14. Output is obtained both on the command window and on the figure window. Main objective is to determine whether vehicle is two-wheeler or four-wheeler. The system works with both color and gray scale traffic images taken at an instant by CCTV cameras installed along particular road. The particular wheeler detection system would work on specific dimensions of traffic images. The size of traffic images should be 701 pixels wide and 209 pixels high. In future this system can be extended for different orientation and dimensions. Step 2: Background Subtraction Background subtraction technique is an effective way for separating a static background with a moving foreground. For traffic related applications, background subtraction is used in multiple conditions. Background subtraction alone creates a mask of where can be a vehicle in the scene. The procedure is as follows: When background image is subtracted from the second image i.e. image with vehicles to obtain the foreground dynamic objects. If the absolute value of subtraction is greater than threshold, it is marked as foreground. Remaining processing is performed on the image i.e. obtained after applying subtraction (Figure 3). The Procedure, discussed below can be used for classifying vehicles according to their type i.e. vehicle is whether twowheeler or four-wheeler. The procedure used in wheeler-classified vehicle detection system been first experimented on dummy traffic images. After successful implementation on dummy traffic images, the system is used on real traffic images. Step 1: Image Capture a) Blank Road Image Capturing Initially, image is captured at the junction through CCTV cameras installed along a particular road when there is no traffic on the road (Figure 1). Fig 3. Subtracted Image Step 3: Black and White Image through Comparison Black and white image is obtained (Figure 4) by comparing the image with vehicles on road (Figure 2) with background image (Figure 1). While comparing two images pixel by pixel, at particular pixel if pixel value is same in both the images then that pixel value will be replaced by 1 otherwise 0. Fig 1. Blank Road Image b) Image with Vehicles Now, capture corresponding image with vehicles on the same road from CCTV Camera installed at junction (Figure 2). Fig 4. Black and White Image through Comparison Step 4: Fill Unwanted Holes Holes are filled by computing area; if area computed is below the specified area limit then intensity value of all the pixels in that area is set as 0 as shown in Figure 5. Fig 2. Image with Vehicles on the Road 36

Fig 5. Image after Removing unwanted Holes Step 5: Coordinate Detection Scan above image (Figure 5) and compute intensity pixel wise from top to bottom. Fig 7. Cropped Image of First Vehicle Compute starting and ending coordinates of individual vehicles with respect to row and column in the image obtained after filling unwanted holes. Coordinate value is reflected when there is sudden change in RGB intensity means positive value of RGB is obtained. Now, find minimum coordinate value with respect to row and column from where object starts in the traffic image. Fig 8: Cropped Image of Second Vehicle Step 6: Conversion to Binary Image The system works with both color and gray scale traffic images taken at crossings by CCTV cameras. If traffic image is colored or gray scale, it should be converted to binary image (Figure 6), So that corners can be detected efficiently. Fig 9. Cropped Image of Third Vehicle Fig 6. After Conversion to Binary Image Step 7: Cropping Automatic cropping of vehicles is performed (Figure 7, 8, 9, 10 and 11) after converting traffic image to binary image using inbuilt function with the help of coordinates computed above. Fig 10. Cropped Image of Fourth Vehicle 37

Above discussed procedure can be summarized below in the flowchart: BLANK ROAD IMAGE CAPTURED FROM CCTV CAMERA IMAGE WITH VEHICLES CAPTURED FROM CCTV CAMERA TOTAL _WHEEL 0, F_WHEEL 0, T_WHEEL 0 Fig 11. Cropped Image of Fifth Vehicle Step 7: Corner Detection Detect corners of individual objects cropped from traffic image (Binary Image) using inbuilt function. Table 1. Corners of Vehicles Objects Corners Object 1 (2-Wheeler) 24 Object 2 (4-Wheeler) 4 Object 3 (4-Wheeler) 20 Object 4 (4-Wheeler) 12 Object 5 (4-Wheeler) 2 Step 8: Wheeler Detection Now, deal with individual cropped vehicles. Compute total number of corners present in the first vehicle. According to total number of corners obtained through corner detection of individual vehicle. If total number of corners exceeds the defined limit then output is reflected as four-wheeler otherwise two-wheeler. Same process is also performed with remaining vehicles. To display total four or two wheeler a count (initialized with 0) variable is maintained which is updated (incremented by 1) when total number of corners exceed the defined limit. BACKGROUND SUBTRACTION CONVERT TO BLACK & WHITE IMAGE FILL UNWANTED HOLES SCAN TRAFFIC IMAGE COMPUTING PIXEL WISE INTENSITIES FIND COORDINATES WHERE CHANGE IN INTENSITY IS OBSERVED CONVERT RGB IMAGE TO BINARY IMAGE CROPPING OF VEHICLES, TOTAL_WHEEL + + False TOTAL_WHEEL!= 0 True CORNER DETECTION OF CROPPED VEHICLES COMPUTE TOTAL NO. OF CORNERS OF INDIVIDUAL VEHICLE TOTAL NO. OF CORNERS > DEFINED LIMIT True False F_WHEEL + + T_WHEEL + + Fig 12. Total No. of Vehicles, No. of Four-Wheeler and Two-Wheelers DISPLAY OUTPUT AS TOTAL NO. OF VEHICLES, 4-WHEELER, 2-WHEELER Fig 13. Flowchart for Wheeler-Classified Vehicle Detection The above developed wheeler-classified vehicle detection system will be tested by applying it on real time traffic images captured at an instance so that more efficient results will be 38

obtained. System will be tested on two different real traffic images captured on the same background. Step 3: Black and White Image through Comparison 4. PRACTICAL EXPERIMENT 1 Step 1: Image Capture Blank Road Image Capturing Step 4: Fill Unwanted Holes Fig 17. Black and White Image through Comparison Image with Vehicles Fig 14. Blank Road Image Fig 18. Image after Removing Unwanted Holes Step 5: Conversion to Binary Image Fig 15. Image with Vehicles on the Road Step 2: Background Subtraction Fig 19. After Conversion to Binary Image Step 6: Cropping of Vehicles Fig 16. Subtracted Image Fig 20. Cropped Image of First Vehicle 39

Step 8: Wheeler Detection Fig 21. Cropped Image of Second Vehicle Fig 24. Total no. of Vehicles, no. of four-wheeler and two-wheelers 5. PRACTICAL EXPERIMENT 2 Step 1: Image Capture Blank Road Image Capturing Fig 22. Cropped Image of Third Vehicle Fig 25. Blank Road Image Image with Vehicles Fig 23. Cropped Image of Fourth Vehicle Step 7: Corner Detection of cropped vehicles Table 2. Corners of Vehicles Objects Corners Object 1 (4-Wheeler) 9 Step 2: Background Subtraction Fig 26. Image with Vehicles on the Road Object 2 (4-Wheeler) 2 Object 3 (4-Wheeler) 5 Object 4 (2-Wheeler) 24 Fig 27. Subtracted Image 40

Step 3: Black and White Image through Comparison Step 4: Fill Unwanted Holes Fig 28. Black and White Image through Comparison Fig 32. Cropped Image of Second Vehicle Fig 33. Cropped Image of Third Vehicle Fig 29. Image after Removing unwanted Holes Step 5: Conversion to Binary Image Fig 34. Image of Fourth Vehicle Fig 30. After Conversion to Binary Image Step 6: Cropping of Vehicles Fig 35. Cropped Image of Fifth Vehicle Fig 31. Cropped Image of First Vehicle 41

Table 4. Table for Results Technique- MATLAB Dummy Image Real-Time Images 1 Real-Time Images 2 Fig 36. Cropped Image of Sixth Vehicle Number of vehicles Number of 4-wheeler Number of 2-wheeler Result accuracy 5 4 7 4 3 5 1 1 2 100% 100% 99% Fig 37. Cropped Image of Seventh Vehicle Step 7: Corner Detection of cropped vehicles Table 3. Corners of Vehicles Objects Corners Object 1 (4-Wheeler) 17 Object 2 (4-Wheeler) 9 Object 3 (4-Wheeler) 10 Object 4 (4-Wheeler) 4 Object 5 (4-Wheeler) 4 Object 6 (2-Wheeler) 23 Object 7 (2-Wheeler) 21 Step 8: Wheeler Detection 7. CONCLUSION An efficient image processing approach has been suggested and analyzed for computing the wheeler-classified detection of vehicles from traffic images captured through CCTV cameras along a particular junctions or crossings at particular instance. This is an important application in Intelligent Transportation System. Experiments performed on dummy image and two real time traffic images show that wheelers of vehicles (Four-wheeler or Two-wheeler) were properly recognized with 99% accuracy. Experiments were performed using MATLAB 7.14 environment. This work proves to be a significant part of Intelligent Traffic System. As a future scope, it needs to be implemented using Simulink model Blockset, so that it can be executed on hardware and made real-time. 8. REFERENCES [1] Bowman, M., Debray, S. K., and Peterson, L. L. 1993. Reasoning about naming systems.. [2] Ding, W. and Marchionini, G. 1997 A Study on Video Browsing Strategies. Technical Report. University of Maryland at College Park. [3] Fröhlich, B. and Plate, J. 2000. The cubic mouse: a new device for three-dimensional input. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems [4] Tavel, P. 2007 Modeling and Simulation Design. AK Peters Ltd. [5] Sannella, M. J. 1994 Constraint Satisfaction and Debugging for Interactive User Interfaces. Doctoral Thesis. UMI Order Number: UMI Order No. GAX95-09398., University of Washington. [6] Forman, G. 2003. An extensive empirical study of feature selection metrics for text classification. J. Mach. Learn. Res. 3 (Mar. 2003), 1289-1305. [7] Brown, L. D., Hua, H., and Gao, C. 2003. A widget framework for augmented interaction in SCAPE. Fig 38. Total No. of Vehicles, No. of Four-Wheeler and Two-Wheelers 6. RESULT Vehicle is whether four-wheeler or two-wheeler was recognized properly. Experimental result is shown in Table IV. [8] Y.T. Yu, M.F. Lau, "A comparison of MC/DC, MUMCUT and several other coverage criteria for logical decisions", Journal of Systems and Software, 2005, in press. [9] Spector, A. Z. 1989. Achieving application requirements. In Distributed Systems, S. Mullender. IJCA TM : www.ijcaonline.org 42