Face Recognition using SURF Features and SVM Classifier

Similar documents
SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014

Implementation and Comparison of Feature Detection Methods in Image Mosaicing

A Comparison of SIFT and SURF

SURF. Lecture6: SURF and HOG. Integral Image. Feature Evaluation with Integral Image

SURF: Speeded Up Robust Features. CRV Tutorial Day 2010 David Chi Chung Tam Ryerson University

Support Vector Machines

Support Vector Machines

Comparison of Feature Detection and Matching Approaches: SIFT and SURF

Scott Smith Advanced Image Processing March 15, Speeded-Up Robust Features SURF

arxiv: v1 [cs.cv] 1 Jan 2019

Face recognition using SURF features

A Comparison of SIFT, PCA-SIFT and SURF

Data Analysis 3. Support Vector Machines. Jan Platoš October 30, 2017

SIFT: Scale Invariant Feature Transform

Introduction to Support Vector Machines

Face Detection CUDA Accelerating

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Eye Detection by Haar wavelets and cascaded Support Vector Machine

Support Vector Machines

Detection of a Specified Object with Image Processing and Matlab

III. VERVIEW OF THE METHODS

Discriminative classifiers for image recognition

Performance Analysis of Computationally Efficient Model based Object Detection and Recognition Techniques

CSE 417T: Introduction to Machine Learning. Lecture 22: The Kernel Trick. Henry Chai 11/15/18

Image Processing. Image Features

Key properties of local features

CS221: Final Project Report - Object Recognition and Tracking

Automatic Logo Detection and Removal

Ensemble of Bayesian Filters for Loop Closure Detection

International Journal of Advanced Research in Computer Science and Software Engineering

Object Recognition Algorithms for Computer Vision System: A Survey

Object Detection by Point Feature Matching using Matlab

Learning to Recognize Faces in Realistic Conditions

Preliminary Local Feature Selection by Support Vector Machine for Bag of Features

Face Recognition by Combining Kernel Associative Memory and Gabor Transforms

Face Detection and Alignment. Prof. Xin Yang HUST

Optimal Separating Hyperplane and the Support Vector Machine. Volker Tresp Summer 2018

Feature Detection and Matching

SVM Classification in Multiclass Letter Recognition System

Object Tracking using HOG and SVM

Automatic Fatigue Detection System

IMAGE RETRIEVAL USING VLAD WITH MULTIPLE FEATURES

Facial Expression Classification with Random Filters Feature Extraction

Outline 7/2/201011/6/

Chakra Chennubhotla and David Koes

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

Classifier Case Study: Viola-Jones Face Detector

3D Object Recognition using Multiclass SVM-KNN

HW2 due on Thursday. Face Recognition: Dimensionality Reduction. Biometrics CSE 190 Lecture 11. Perceptron Revisited: Linear Separators

Image Mosaic with Rotated Camera and Book Searching Applications Using SURF Method

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

Automated Canvas Analysis for Painting Conservation. By Brendan Tobin

IMPROVING SPATIO-TEMPORAL FEATURE EXTRACTION TECHNIQUES AND THEIR APPLICATIONS IN ACTION CLASSIFICATION. Maral Mesmakhosroshahi, Joohee Kim

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

Robot Learning. There are generally three types of robot learning: Learning from data. Learning by demonstration. Reinforcement learning

Feature Descriptors. CS 510 Lecture #21 April 29 th, 2013

Using Geometric Blur for Point Correspondence

Accelerometer Gesture Recognition

LECTURE 5: DUAL PROBLEMS AND KERNELS. * Most of the slides in this lecture are from

Classification of objects from Video Data (Group 30)

Facial Expression Recognition using Principal Component Analysis with Singular Value Decomposition

Feature Detection. Raul Queiroz Feitosa. 3/30/2017 Feature Detection 1

Motion Estimation and Optical Flow Tracking

Linear methods for supervised learning

Viola Jones Face Detection. Shahid Nabi Hiader Raiz Muhammad Murtaz

All lecture slides will be available at CSC2515_Winter15.html

Image enhancement for face recognition using color segmentation and Edge detection algorithm

Fast Natural Feature Tracking for Mobile Augmented Reality Applications

Support vector machines

SUPPORT VECTOR MACHINES

Large-Scale Lasso and Elastic-Net Regularized Generalized Linear Models

Online Mathematical Symbol Recognition using SVMs with Features from Functional Approximation

A Novel Extreme Point Selection Algorithm in SIFT

Adaptive Feature Extraction with Haar-like Features for Visual Tracking

Image Based Feature Extraction Technique For Multiple Face Detection and Recognition in Color Images

Yudistira Pictures; Universitas Brawijaya

EECS150 - Digital Design Lecture 14 FIFO 2 and SIFT. Recap and Outline

Data Mining: Concepts and Techniques. Chapter 9 Classification: Support Vector Machines. Support Vector Machines (SVMs)

Face Detection using Hierarchical SVM

Data mining with Support Vector Machine

Multiple-Choice Questionnaire Group C

Scale Invariant Feature Transform

Extracting Spatio-temporal Local Features Considering Consecutiveness of Motions

Fine Classification of Unconstrained Handwritten Persian/Arabic Numerals by Removing Confusion amongst Similar Classes

Recognition of a Predefined Landmark Using Optical Flow Sensor/Camera

Road-Sign Detection and Recognition Based on Support Vector Machines. Maldonado-Bascon et al. et al. Presented by Dara Nyknahad ECG 789

WAVELET TRANSFORM BASED FEATURE DETECTION

Fig 2.1 Typical prediction results by linear regression with HOG

Stacked Denoising Autoencoders for Face Pose Normalization

2D Image Processing Feature Descriptors

Is ORB Efficient Over SURF for Object Recognition?

Object and Class Recognition I:

Mobile Face Recognization

Facial expression recognition using shape and texture information

Lecture 7: Support Vector Machine

FACE DETECTION BY HAAR CASCADE CLASSIFIER WITH SIMPLE AND COMPLEX BACKGROUNDS IMAGES USING OPENCV IMPLEMENTATION

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Viewpoint Invariant Features from Single Images Using 3D Geometry

A Novel Real-Time Feature Matching Scheme

Edge Detection and Template Matching Approaches for Human Ear Detection

Transcription:

International Journal of Electronics Engineering Research. ISSN 0975-6450 Volume 8, Number 1 (016) pp. 1-8 Research India Publications http://www.ripublication.com Face Recognition using SURF Features and SVM Classifier Bhaskar Anand Student, M. ech, Department of Electronics Engineering, SVNI, Surat, Gujrat-395007, India E-mail: bhaskaranand.nitjsr@gmail.com Mr. Prashant K Shah (Associate Prof.) Department of Electronics Engineering, SVNI, Surat, Gujarat-395007, India E-mail: pks@eced.svnit.ac.in Abstract Face recognition is a fascinating research topic in recent years. Numerous methods and algorithms have been suggested by researchers. he accuracy of face recognition technique is affected by factors like variation in illumination, facial expression, scaling and perspective movement. It is important to note that Speeded-up Robust Features (SURF) extracted from a facial image are invariant to shifting, scaling and rotation. In addition to that they are also partially invariant to illumination and affine transformation. his paper suggests a facial recognition technique using SURF features and Support Vector Machine (SVM) classifier. Above techniques has been tested on Yalefaces and UMIS face databases. he results indicate that the proposed method can lead to high recognition efficiency.. Keywords: Face feature, face recognition, SURF feature, SVM INRODUCION Face recognition has been researched from last many decades. Face recognition aims at recognizing a given image from an image database. For this purpose we need to first determine the facial area (face detection). hen some well defined features are detected (Feature detection) from the image. hese features need to be represented as vectors having numerical values (Feature extraction) so that it can later be used to match (Classification) with feature vector of other image.

Bhaskar Anand and Mr. Prashant K Shah here are many impediments in achieving high recognition rate. Some of them are change in expression, illumination, rotation and scaling. o deal with these problems some local features have been introduced by researchers. Local features such as corners and blobs are mostly used for object recognition. Scale Invariant Feature ransform (SIF) introduced by D. Lowe [1] [] has been widely used in the field of Face recognition. However since its computing time is high it limits the speed in live image applications. Speeded-Up Robust Feature (SURF) [3] [4] introduced by H. Bay et al in 008 provides all the benefits of SIF such as scale invariance, illumination invariance etc. but at lower computing time. he size of SURF feature vector (64) is also smaller as compared to SIF (18) which helps in faster classification. Support Vector Machine (SVM) is a widely used method for data classification as well as regression. We have used SURF features as features of image as SVM as classifier. But instead of doing classification of face images as a whole we have done feature wise classification to decide label of the image. Rest of the paper proceeds as follows; second part is an introduction to SURF and SVM. hird part describes the suggested method. Fourth part shows the results and fifth part is conclusion. INRODUCION O SURF AND SVM SURF SURF is a local feature detector and descriptor that can be used for tasks such as object recognition or registration or classification or 3D reconstruction. It is a scale and in-plane rotation invariant feature. he detector locates the interest points in the image, and the descriptor describes the features of the interest points and constructs the feature vectors of the interest points. SURF features are invariant of shifting, rotation and scaling, and partially invariant to illumination and affine transformation. Lxx ( X, ) Lxy ( X, ) H( x, ) (1) Lxy ( X, ) Lyy ( X, ) where Lxx ( X, ) is the convolution of the Gaussian second order derivative g( ) with the image I in point x, and similarly for Lxy ( X, ) and Lyy ( X, ). he heart of the SURF detection is non-maximal suppression of the determinants of the hessian matrices. he convolution is very costly to calculate and it is approximated and speeded-up with the use of integral images and approximated kernels [3]. he second order Gaussian kernels g( ) used for the hessian matrix must be x discretized and cropped before we can apply them, a 9x9 kernel is illustrated in Figure 1. he SURF algorithm approximates these kernels with rectangular boxes, box filters. For scale invariance, the SURF constructs a pyramid scale space, like the SIF. Different from the SIF to repeatedly smooth the image with a Gaussian and then sub-sample the image, the SURF directly changes the scale of box filters to implement the scale space using box filter and integral image. Next step is interest x

Face Recognition using SURF Features and SVM Classifier 3 point description. SURF uses the sum of the Haar wavelet responses to describe the feature of an interest point []. Fig. shows the Haar wavelet filters used to compute the responses at x and y directions. For the extraction of the descriptor, the first step consists of constructing a square region centered at the interest point and oriented along the orientation decided by the orientation selection method introduced in []. Figure 1: Discretized and cropped Gaussian second order partial derivatives in y- direction and xy-direction, and their approximations using box filter [3] Figure : he wavelets response. Black and white areas corresponds to a weight-1 and 1 for the Haar kernels [3] he region is split up equally into smaller 4x4 square subregions (as shown in Fig.3). his preserves important spatial information. For each sub-region Haar wavelet

4 Bhaskar Anand and Mr. Prashant K Shah responses are computed at 5x5 equally spaced sample points. Haar wavelet response in horizontal direction is referred as dx and dy the Haar wavelet response in vertical direction. o increase the robustness towards geometric deformations and localization errors, the responses dx and dy are first weighted with a Gaussian centered at the interest point. Figure 3: he 0s areas are divided into 4X4 subareas that are sampled 5X5 times to get the wavelet response [3] SVM Now we should have a brief introduction of SVM. Support Vector Machine (SVM) is primarily a classifier that performs classification tasks by constructing hyperplanes in a multidimensional space separating cases of different class labels. According to SVM the decision boundary should be as far away from the data of both classes as possible. Let us consider that we have data points belonging to two classes, A and A. Each point in the dataset comes with a class label y, +1 or 1, indicating one of two classes A and A. Figure 4: Linear SVM for separable and non separable data [5]

Face Recognition using SURF Features and SVM Classifier 5 Let us start with a strictly linearly separable case, i.e. there exists a hyperplane which can separate the data A and A. In this case we can separate the two classes by a pair of parallel bounding planes (eq.) [5]: w x b 1 () w x b 1 Where w is the normal vector to these planes and b determines their location relative to the origin. he first plane of (eq. ) bounds the class A and the second plane bounds the class A. SVM achieves better prediction ability via maximizing the margin between two bounding planes. Hence, SVM searches for a separating hyperplane by maximizing he linear separating hyperplane is the plane w w x b 0 (3) By maximizing the margin between the bounding planes we get an optimal solution * * ( w, b ) * *. he data points on the bounding planes, w x b 1, are called support vectors. Once we have the training result, all we need to keep in our databases are the support vectors. If the classes are linearly inseparable then the two planes bound the two classes with a soft margin [5] [6] determined by a nonnegative slack vector variable ξ, that is: w xi b i 1,for xi A (4) w xi b i 1,for xi A Many datasets cannot be well separated, even after using a soft margin, by a linear separating hyperplane, but could be linearly separated if mapped into a higher or much higher dimensional space by using a nonlinear map. Rather than mapping individual features to higher dimension. Kernel method is used for this purpose. he kernel computes the dot product which would otherwise be much more expensive to compute explicitly. Some widely used Kernel functions are Linear, Polynomial, Radial Basis Function (RBF) and Multi-Layer Perceptron (MLP). We will be using RBF which is given by: x z k( x, z) exp( ) (5) he parameter gamma has to be chosen carefully for best results of classification. PROPOSED MEHOD Figure 5 shows the general block diagram of the proposed method. In our approach SURF features of face images are extracted and matched using SVM classifier. In this approach we take few training images to train SVM classifier. A database is created having facial SURF features of training images of all the individuals. For a new image (person), first of all the facial region will be detected (if it is not a cropped face image).for detecting face region we use Viola-Jones algorithm for face detection [7]. hen the SURF features are detected for the face region. Output of this step is SURF

6 Bhaskar Anand and Mr. Prashant K Shah Points object, containing information about SURF features detected in the -D grayscale input image. After this step feature extraction will be done. his step returns extracted feature vectors, also known as descriptors, and their corresponding locations. his feature vector will have a size of nx64, where n is the number of extracted feature points. Now this feature vector will be classified using SVM classifier. Figure 5: Proposed method for face recognition Now while doing classification, we have trained our classifier not the individual face images as a whole but in terms of the features. For example rather than labeling a particular image as r, where r is an integer, we have labeled its features he kernel computes the dot product which would otherwise be much more expensive to as r. hus if we get n features from a sample then n rows (feature vector) will be labeled as r. Similarly while testing also rather than predicting label of testing image as a whole labels of obtained features are predicted. If the label of majority of features is matching with that of expected label then its a successful recognition. We have used RBF kernel for classification. We optimized parameter gamma and C of RBF kernel by Cross-validation and Grid-Search method as proposed by Chih-Wei Hsu et al [8] [9]. RESULS We need multi-class classification as we will always have many classes (the face images of different people). Simulation has been done on Matlab. We used Libsvm, a library for Support Vector Machines for performing multi-class SVM. For testing our method we have used standard face databases Sheffield (previously UMIS) and Yalefaces. he Sheffield Face Database consists of 564 images of 0 individuals. he images of each individual cover a range of poses from frontal towards side view and illumination changes as well. his database is suitable to test perspective change and illumination invariance. he Yalefaces database contains 165 images of 15

Face Recognition using SURF Features and SVM Classifier 7 individuals with different facial expression. For Sheffield and Yalefaces databases we used 10 and 5 images per person respectively for training our classifier. Sample images of the two databases are shown in figure 6 and 7. he result is summarized below in tables I and II. Figure 6: Yalefaces face image database sample images Figure 7: UMIS face image database sample images able I: accuracy with yalefaces and umist database Database Yalefaces UMIS Accuracy 97.78 97.87 able II: accuracy with different scaleswith umist database Scale 1 0.75 0.50 Accuracy 97.87 93.60 93.86 87.46 CONCLUSION AND FUURE WORK SURF features provide obvious advantage of invariance of shifting, rotation and scaling, and partial invariance to illumi nation and affine transformation. Almost same advantages are also provided by SIF features. But SURF is much faster than SIF

8 Bhaskar Anand and Mr. Prashant K Shah with respect to feature detection and feature extraction. he Support Vector Machine (SVM) classifier is a powerful classifier that works well on a wide range of classification problems, even problems in high dimensions and that are not linearly separable. SVM is suited in the cases when we need to deal with very high dimensional data. In our case each feature is of 64-dimension. hen each class has many features. Hence overall we get a high dimensional feature dataset. In such cases SVM can be a good alternative. Results show a good accuracy with the images having variation in illumination, perspective movement, facial expression and scaling. In future we can also think of including image preprocessing so for better illumination and scaling invariance. REFERENCES: [1] D. Lowe, Distinctive image features from scale-invariant keypoints, cascade filtering approach, International Journal of Computer Vision, vol 60, pp 91-110, January 004. [] Lowe, D.G. 1999. Object recognition from local scale-invariant features. In International Conference on Computer Vision, Corfu, Greece, pp. 1150-1157. [3] H. Bay, A. Ess,. uytelaars, L. Van Gool, Speeded-up robust features (SURF), Comput. Vis. Image Underst., 110(3), 346-359 (008). [4] A technical report on Feature detection and implementing the Speeded-Up Robust Features(SURF) algorithm, available at http://cs.au.dk/ jtp/surf/report.pdf [5] Yuh-Jye Lee, Yi-Ren Yeh, and Hsing-Kuo Pao, An Introduction to Support Vector Machines, National aiwan University of Science and echnology, aipei, aiwan [6] Chih-Chung Chang, Chih-Wei Hsu, and Chih-Jen Lin. he analysis of decomposition methods for support vector machines. IEEE ransactions on Neural Networks, 11(4):10031008, 000. [7] M. Jones and P. Viola, Face Recognition Using Boosted Local Features, IEEE International Conference on Computer Vision, 003. [8] Chih-Wei Hsu, Chih-Chung Chang, and Chih-Jen Lin, A Practical Guide to Support Vector Classification, Department of Computer Science, National aiwan University, 010 [9] C.-C. Chang and C.-J. Lin., LIBSVM: a library for support vector machines, 001, available at http://www.csie.ntu.edu.tw/ cjlin/libsvm.