Vehicle Logo Recognition using Image Matching and Textural Features

Similar documents
Automatic License Plate Detection and Character Extraction with Adaptive Threshold and Projections

Texture Analysis of Painted Strokes 1) Martin Lettner, Paul Kammerer, Robert Sablatnig

DEVELOPMENT OF VISION-BASED HANDICAPPED LOGO REGONITION SYSTEM FOR DISABLED PARKING

CORRELATION BASED CAR NUMBER PLATE EXTRACTION SYSTEM

GIET Haryana, India 3 M.tech Scholar, Electronics and communication Engineering. DTU Delhi, India I. INTRODUCTION

Texture Segmentation by Windowed Projection

FPGA IMPLEMENTATION FOR REAL TIME SOBEL EDGE DETECTOR BLOCK USING 3-LINE BUFFERS

Car License Plate Detection Based on Line Segments

FEATURE EXTRACTION TECHNIQUES FOR IMAGE RETRIEVAL USING HAAR AND GLCM

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Algorithm for Face Matching Using Normalized Cross-Correlation

LOCALIZATION OF LICENSE PLATE NUMBER USING DYNAMIC IMAGE PROCESSING TECHNIQUES

Number Plate Extraction using Template Matching Technique

Neural Network based textural labeling of images in multimedia applications

A Fast Method of Vehicle Logo Location Honglin Li

Non-rigid body Object Tracking using Fuzzy Neural System based on Multiple ROIs and Adaptive Motion Frame Method

[10] Industrial DataMatrix barcodes recognition with a random tilt and rotating the camera

A Street Scene Surveillance System for Moving Object Detection, Tracking and Classification

Face Detection for Skintone Images Using Wavelet and Texture Features

Chapter 3 Image Registration. Chapter 3 Image Registration

Hardware Description of Multi-Directional Fast Sobel Edge Detection Processor by VHDL for Implementing on FPGA

CSE 252B: Computer Vision II

DEPTH AND GEOMETRY FROM A SINGLE 2D IMAGE USING TRIANGULATION

Malaysian License Plate Recognition Artificial Neural Networks and Evolu Computation. The original publication is availabl

A New Algorithm for Shape Detection

The Vehicle Logo Location System based on saliency model

Vehicle Number Plate Recognition System for Theft Detection

MATHEMATICAL IMAGE PROCESSING FOR AUTOMATIC NUMBER PLATE RECOGNITION SYSTEM

A New Method in Shape Classification Using Stationary Transformed Wavelet Features and Invariant Moments

Video Inter-frame Forgery Identification Based on Optical Flow Consistency

VEHICLE MAKE AND MODEL RECOGNITION BY KEYPOINT MATCHING OF PSEUDO FRONTAL VIEW

Time Stamp Detection and Recognition in Video Frames

Classification of Protein Crystallization Imagery

CHAPTER 2 TEXTURE CLASSIFICATION METHODS GRAY LEVEL CO-OCCURRENCE MATRIX AND TEXTURE UNIT

Object Recognition. Lecture 11, April 21 st, Lexing Xie. EE4830 Digital Image Processing

Scene Text Detection Using Machine Learning Classifiers

ADAPTIVE TRAFFIC LIGHT IN IMAGE PROCESSING BASED- INTELLIGENT TRANSPORTATION SYSTEM: A REVIEW

Vehicle Identification using Fuzzy Adaline Neural Network

PERSONALIZATION OF MESSAGES

CHAPTER 4 DETECTION OF DISEASES IN PLANT LEAF USING IMAGE SEGMENTATION

Human Motion Detection and Tracking for Video Surveillance

Object Searching with Combination of Template Matching

New method for edge detection and de noising via fuzzy cellular automata

A Robust Automated Process for Vehicle Number Plate Recognition

Fast Vehicle Detection and Counting Using Background Subtraction Technique and Prewitt Edge Detection

2 OVERVIEW OF RELATED WORK

Vehicle Registration Plate Recognition System Based on Edge Transition by Row and Column Profile on Still Image

Texture Image Segmentation using FCM

Vehicle Detection Method using Haar-like Feature on Real Time System

Research Fellow, Korea Institute of Civil Engineering and Building Technology, Korea (*corresponding author) 2

Simultaneous surface texture classification and illumination tilt angle prediction

An adaptive container code character segmentation algorithm Yajie Zhu1, a, Chenglong Liang2, b

Marcel Worring Intelligent Sensory Information Systems

Object and Action Detection from a Single Example

An indirect tire identification method based on a two-layered fuzzy scheme

Texture Feature Extraction Using Improved Completed Robust Local Binary Pattern for Batik Image Retrieval

TEXTURE BASED TEXT DETECTION IN NATURAL SCENE IMAGES: A HELP TO BLIND AND VISUALLY IMPAIRED PERSONS

MORPHOLOGICAL BOUNDARY BASED SHAPE REPRESENTATION SCHEMES ON MOMENT INVARIANTS FOR CLASSIFICATION OF TEXTURES

CS4733 Class Notes, Computer Vision

ECE 176 Digital Image Processing Handout #14 Pamela Cosman 4/29/05 TEXTURE ANALYSIS

Robotics Programming Laboratory

An Object Detection System using Image Reconstruction with PCA

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Selim Aksoy

arxiv: v1 [cs.cv] 28 Sep 2018

Analysis of Feature Extraction Techniques for Vehicle Number Plate Detection

Multiple-Choice Questionnaire Group C

Extraction and Recognition of Alphanumeric Characters from Vehicle Number Plate

Analysis of Image and Video Using Color, Texture and Shape Features for Object Identification

Fast Natural Feature Tracking for Mobile Augmented Reality Applications

Motion Estimation and Optical Flow Tracking

CS 223B Computer Vision Problem Set 3

Character Recognition of High Security Number Plates Using Morphological Operator

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking

CS 231A Computer Vision (Fall 2012) Problem Set 3

DEVELOPMENT OF THE EFFECTIVE SET OF FEATURES CONSTRUCTION TECHNOLOGY FOR TEXTURE IMAGE CLASSES DISCRIMINATION

IJSER. Real Time Object Visual Inspection Based On Template Matching Using FPGA

Siti Norul Huda Sheikh Abdullah

Robert Collins CSE598G. Intro to Template Matching and the Lucas-Kanade Method

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

Robust Optical Character Recognition under Geometrical Transformations

An Approach for Real Time Moving Object Extraction based on Edge Region Determination

Rotation Invariant Finger Vein Recognition *

Haralick Parameters for Texture feature Extraction

SCALE INVARIANT TEMPLATE MATCHING

[2006] IEEE. Reprinted, with permission, from [Wenjing Jia, Huaifeng Zhang, Xiangjian He, and Qiang Wu, A Comparison on Histogram Based Image

Dense Image-based Motion Estimation Algorithms & Optical Flow

Edge Histogram Descriptor, Geometric Moment and Sobel Edge Detector Combined Features Based Object Recognition and Retrieval System

AN INTELLIGENT TRAFFIC CONTROLLER BASED ON FUZZY LOGIC

Computer Science Faculty, Bandar Lampung University, Bandar Lampung, Indonesia

An Efficient way of Number Plate Alphabets and Numbers Extraction for Security Purpose

Tracking of video objects using a backward projection technique

Face Recognition by Combining Kernel Associative Memory and Gabor Transforms

Automatic License Plate Detection

An Efficient Character Segmentation Algorithm for Printed Chinese Documents

Implementation of Optical Flow, Sliding Window and SVM for Vehicle Detection and Tracking

Chapter 2 Trajectory and Floating-Car Data

Multi-focus Image Fusion Using Stationary Wavelet Transform (SWT) with Principal Component Analysis (PCA)

A Real-Time License Plate Localization Method Based on Vertical Edge Analysis

String distance for automatic image classification

2 Related Work. 2.1 Logo Localization

Transcription:

Vehicle Logo Recognition using Image Matching and Textural Features Nacer Farajzadeh Faculty of IT and Computer Engineering Azarbaijan Shahid Madani University Tabriz, Iran n.farajzadeh@azaruniv.edu Negin S. Rezaei Department of Mechatronics Islamic Azad University, Ahar Branch Ahar, Iran negin.saberrezayi@yahoo.com Abstract In recent years, automatic recognition of vehicle logos has become one of the important issues in modern cities. This is due to the unlimited increase of cars and transportation systems that make it impossible to be fully managed and monitored by human. In this research, an automatic real-time logo recognition system for moving cars is introduced based on histogram manipulation. In the proposed system, after locating the area that contains the logo, image matching technique and textural features are utilized separately for vehicle logo recognition. Experimental results show that these two methods are able to recognize four types of logo (Peugeot, Renault, Samand and Mazda) with an acceptable performance, 96% and 90% on average for image matching and textural features extraction methods, respectively. Keywords Vehicle, logo recognition, textural features, image matching. I. INTRODUCTION The vehicle logo is one of the fundamental signs of the vehicles. Automatic vehicle logo recognition plays an important role in intelligent transportation systems in modern cities. Some vehicle logo recognition applications include vehicle tracking, policing and security [1, 2]. Due to the wide variety in the appearance of vehicles of the same vehicle manufacturer, it is difficult to categorize vehicles using simple methods such as morphological functions and so on. In recent years, several studies have been carried out for vehicle-type classification and vehicle manufacturer recognition [3-5]. In [6], the authors used Scale Invariant Feature Transform (SIFT) for vehicle logo recognition. These features are invariant to scale, rotation and partially invariant to illumination differences [7]. In their study, images taken from the rear view of vehicles were used and they obtained 89.5% recognition accuracy. However, it was reported that this system did not have real-time performance and the speed of recognition process were not mentioned in this article. In another work [8], a new approach for vehicle logo recognition from frontal view was presented with 93% recognition accuracy. In this research, the vehicle manufacture and model were treated as a single class and recognized simultaneously and no results for recognition speed were reported. In [9], a car detection system is presented based on color segmentation and labeling, which performs color recognition. Author of [3] used textural features such as contrast, homogeneity, entropy and momentum for frontal view of vehicle images. The classification accuracy of their work was reported 94% using a three-layered neural network. In [3], the processing times are also not reported. In this research, an autonomous system that aims at obtaining reliable real-time vehicle model recognition for moving vehicles is presented; first by locating the license plate in a vehicle frontal view image and detecting the region of interest over the vehicle, including logo area. Then, the vehicle logo is identified with two different methods: image matching and textural features extraction. This system is flexible and can be used in any situation with an acceptable real-time recognition rate compared to the existing methodologies. The rest of this paper is organized as follows. In the next section, the proposed system is introduced. In Section 3, the image matching technique and textural features extraction, which are used in the proposed method, are described. Section 4 provides experimental results and Section 5 concludes our study. II. PROPOSED METHOD The proposed system for vehicle logo recognition is composed of two phases. The first phase is to build a 82

main image that is taken from an empty parking entrance. (a) The second phase is the recognition phase where the logo of a vehicle in the given image is identified. This phase consists of three steps. The first step is to investigate whether there is a vehicle in the image or not (vehicle detection step). To this end, the proposed system converts the test image into a gray-scale image and detects the edges on the converted image. Then, the total number of the pixels laying on the edges of the test image, T t, is calculated. If 500 T m T t 5000, we conclude that there is a vehicle in the scene. Furthermore, if, we may conclude that there are more than one moving cars in the scene. These boundaries were obtained according to our empirical experiments. In the second step of this phase, the prototype of the test image is built and compared with the prototype of the main image. An example of this comparison is shown in Fig. 2. As this figure shows, there are two ranges on vertical and horizontal projections that the histograms of test image have different values, say over 20%, with the histograms of the main image. Therefore, we define a rectangle with the widths and the heights equal to the widths and the heights of the measured ranges in the vertical and horizontal projections respectively. (b) Fig. 1: (a) A parking entrance with no vehicle (main image) (b) Detected edges with vertical and horizontal projections of the pixels lying on the edges. prototype of the main image. The main image is the image that is taken from an empty scene of interest, i.e. a scene that includes no vehicle or any other moving objects (Fig. 1a). The prototype of an image is defined as the vertical and horizontal projections (histograms) of its edges. In the proposed system, the red band is used to convert a given image into gray-scale image and Sobel edge detection is used to detect edges. In this phase, we also count the number of pixels, Tm, laying on the edges for the further processing in the next phase. Fig. 1b shows an example of vertical and horizontal histograms of the As it is seen in Fig. 2c, one sixth of the obtained rectangle is selected to reduce the number of calculations. This area of interest more likely contains the license plate and the logo. The size of the area of interest depends on the width and the length of the obtained rectangle; the bigger the moving object, the bigger the size of the rectangle. We should note that in case that there are two or more vehicles in the image, the size of the obtained rectangle will be larger accordingly. The third step, the last step in this phase, is to recognize the logo in the area of interest. In this step we use image matching and textural features extraction methods. These methods are described in the next section for immediate reference. The block diagram of the proposed system is demonstrated in Fig. 3. III. A. Image Matching RECOGNITION TECHNIQUES he Normalized Cross-Correlation (NCC) is one of the most popular methods for image matching. This method is one of the basic statistical approaches for image registration. It is used for template matching or 83

(a) pattern recognition. Template can be considered a subimage from the reference image, and the image can be considered as a sensed image. In [10], the authors have proposed a method of medical image registration by template matching based on NCC. In [11], a fast pattern matching algorithm is proposed based on the NCC criterion by combining adaptive multilevel partition with the winner update scheme to achieve an efficient search. In [12], the author has proposed a combined approach to enhance the performance of template matching system using image pyramid in conjunction with Sum of Absolute Difference (SAD) similarity measure. Based on experimental results, it was found that the capabilities provided by the proposed method in [12] significantly improved the accuracy and execution time of template matching system. From the review of literature, it is observed that the template matching algorithm based on NCC is one of the best approaches for matching the template with same image accurately. In this paper, we use NCC as a model to recognize vehicle logos. The 2D NCC is calculated using Eq. 1. [ ] [ ] (x, y) f u,v t(x u, y v) t x,y γ(u, v) = ( ) 0.5 [ ] 2 [ ] 2 (x, y) f u,v t(x u, y v) t x,y (1) (b) (c) Fig. 2: (a) A parking entrance with one vehicle (b) Prototype comparison of the main image and the test image (c) the extracted rectangle that contains license plate and logo. Fig. 3: Block diagram of the proposed system. 84

In this equation, f and t are the input vehicle image and the logo (template) images, respectively, t are the mean gray-level value of the template, f u,v is the mean of f(x, y) in the region under the template, (x, y) stands for position on the main image and (u, v) stands for position on the template. In the proposed method, the template images are scaled up and down in order the proposed system become scale invariant. The template images are scale down until the width of the template image is 4 times smaller than the width of the sub-image cropped from the test image (area of interest), and scale up until the width of the template is equal to the width of the area of interest. B. Textural Features Extraction For each retrieved original image, Gray Level Cooccurrence Matrix (GLCM) [13] is used to capture the spatial dependence of gray-level values for different angles of pixel relativity (0, 45, 90, and 135 ). Each matrix is run through probability-density functions to calculate different textural parameters. After analyzing the color features of the focused image, the textural features are extracted. In one review, 21 textural parameters were identified [14]. However, another report indicated that only three textural parameters were useful in identifying logo recognition; contrast, homogeneity, entropy and momentum [9]. In this research, three textural parameters are used in identifying image characteristics: entropy, energy, and homogeneity; defined as below [15]: Entropy = P d (i, j) log d P (i, j) (2) Energy = P (1,0) (i, j) 2 (3) Homogeneity = P (1,0) (i, j) 1 + (i j) 2 (4) where d is the distance between two neighboring resolution cells; q is the angle between two neighboring cells; P (1,0) (i, j) is joint probability density function at d = 1 and q = 0. IV. EXPERIMENTAL RESULTS The automatic and real-time vehicle logo recognition of moving cars faces many challenges. Therefore, preparing a proper dataset is essential to enhance the input data and making it more suitable for the next processing steps. 210 images from the vehicles were captured in noon with natural ambient lightening in a public parking of a mall (Fig. 4). A CCD digital camera (G12 Powershot, Canon) was used to capture images between 12:00 AM and 13:00 AM with 5 seconds interval in June 2013. Obtained Images are 1600 1200 pixels. In the experiments we use four conventional Iranian vehicle logos as shown in Fig. 5. To extract the textural features, we measured textual parameters for 24 rectangles (six images for each type of logo i.e. Peugeot, Renault, Samand and Mazda). Table I shows the value of textural parameters (in pixel) for each type of the vehicle manufacturer. Fig. 4: Snapshot of a public parking lot (Hyperstar, Tehran, Iran) entrance. Fig. 5: Logos of vehicle manufacturers: (a) Mazda (b) Renault (c) Samand (d) Peugeot. Table II shows the performance of the proposed system with two methods for the recognition of the logos. As it is seen, image matching technique has more precision compared to the textural features. However, it is more time consuming. One of the important advantages of these methods is that their results are not dependent to the color of the logos. 85

TABLE I: Textural parameters for four types of vehicle logos. Manufacturer Entropy Energy Homogeneity (± 10%) (± 20%) (± 15%) Peugeot 7455 2456 7675 Renault 4546 4657 5656 Samand 5565 5568 8854 Mazda 3125 5446 3435 TABLE II: Performance of two proposed methods for vehicle logo recognition. Image Matching Textural Features Precision(%) Speed(s) Precision(%) Speed(s) Peugeot 98.1 3.7 91.4 2.1 Renault 97.5 3.7 92.9 2.1 Samand 93.4 3.7 86.7 2.1 Mazda 96.0 3.7 89.1 2.1 Average 96.2 3.7 90.0 2.1 V. CONCLUSION In this study, we proposed an automatic system for vehicle logo recognition. We used two methods to recognize the logos of interest; image matching and textural features. Experimental results showed that these two methods are capable to recognize four types of logo with an acceptable performance, 96% and 90% on average for image matching and textural features extraction methods, respectively. However, the textural features was less accurate than the image matching, it was about 80% faster than it. These two methods can be used for FPGA based programmable boards for increasing the speed of processes. The proposed system that presented in this article can be used as a commercial system for traffic monitoring, tracking stolen cars, managing parking toll, red-light violation enforcement, border and customs checkpoints, etc. [3] H.J. Lee, Neural network approach to identify model of vehicles, Lecture notes in computer science, vol. 3973, pp. 66-72, 2006. [4] C.N. Anagnostopoulos, I. Anagnostopoulos, V. Loumos and E. Kayafas, A license plate recognition algorithm for intelligent transportation system applications, IEEE Transaction on Intelligent Transportation Systems, vol. 7, no. 3, pp. 377-392, 2006. [5] A.H.S. Lai, G.S.K. Fung and N.H.C. Yung, Vehicle type classification from visual-based dimension estimation, Proceedings of IEEE Intelligent Transportation Systems, pp. 201-206, 2001. [6] L. Dlagnekov and S. Belongie, Recognizing cars, University of California, San Diego, 2005. [7] A.P. Psyllos, C.E. Anagnostopoulos and E. Kayafas, Vehicle logo recognition using a SIFT-based enhanced matching scheme, IEEE Transaction on Intelligent Transportation Systems, vol. 11, no. 2, pp. 322-328, 2010. [8] V. Petrovic and T. Cootes, Analysis of features for rigid structure vehicle type recognition, Proceedings of the British Machine Vision Conference, pp. 587-596, 2004. [9] M. Merler, Car color and logo recognition, CSE 190A Projects in Vision and Learning, University of California, 2006. [10] J. N Sarvaiya, S. Patnaik, and S. Bombaywala, Image registration by template matching using normalized cross correlation, Proceedings of the International Conference on Advances Computing, Control, Telecommunication Technologies, pp. 819-822, 2009. [11] S.D. Wei and S.H. Lai, Fast template matching algorithm based on normalized cross correlation with adaptive multilevel winner update, IEEE Transation on Image Processing, vol. 17, no. 11, pp. 2227-2235, 2008. [12] F. Alsaade, Fast and accurate template matching algorithm based on image pyramid and sum of absolute difference similarity measure, Research Journal of information Technology, vol. 4, no.4, pp.204-211, 2012. [13] R. Jain, R. Kasturi and B.G. Schunck, Machine Vision, McGraw-Hill, 1995. [14] C. Zheng, D.W. Sun and L. Zheng, Recent applications of image texture for evaluation of food qualities: a review, Trends on Food Science and Technology, vol. 17, pp. 113-128, 2006. [15] R.M. Haralick, K. Shanmugam and I. Dinstein, Textural features for image classification, IEEE Transaction on Systems, Man and Cybernetics, vol. 3, no. 6, pp. 610-621, 1973. REFERENCES [1] T. Kato, Y. Ninomiya and I. Masaki, Preceding vehicle recognition based on learning from sample images, IEEE Transaction on Intelligent Transportation Systems, vol. 3, no. 4, pp. 252-260, 2002. [2] A.H.S. Lai and N.H.C. Yung, Vehicle-type identification through automated virtual loop assignment and block-based direction-biased motion estimation, IEEE Transaction on Intelligent Transportation Systems, vol. 1, no. 2, pp. 86-97, 2000. 86