neural network convolutional with recognition face · 2015-06-03 · using convolutional neural...

13
Face recognition with Convolutional Neural Network Martin Vels

Upload: others

Post on 17-Jul-2020

24 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

Face recognition

with Convolutional

Neural NetworkMartin Vels

Page 2: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

● Labeled Faces in the Wild (LFW) dataset with 13,233 images, 5749 persons (classes)

● Only using classes with 5 or more samples: 423 classes

● Using Convolutional Neural Network (CNN) to recognize person on the image

Face recognition with CNN

Page 3: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

● Face recognition and in general pattern recognition are interesting topic

● My research is related to analyzing video data to find certain patterns

● Video is a sequence of images● Get to know the topic of CNN and use the

knowledge in my research

Motivation

Page 4: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

● CNN can achieve really good results on image data

● Sample CIFAR-10 dataset with 60k images and 10 classes achieves <2% error rates

● With LFW dataset, achieving 30% error rate would be reasonable

Goal

Page 5: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

● 423 classes, 5985 images, ● median number of images per class: 8,

50% of classes with 5 images, ● most images per class: 530● image size 250x250px● cropping 128x128 from center, resizing to

64x64px● some experiments with grayscale images

LFW Dataset

Page 6: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

LFW Dataset - resizing

Page 7: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

● Similar to regular neural network● Basic building block is neuron● Neurons are organized into layers● Various types of layers● Idea is to gradually reduce high

dimensional input and classify the image

Convolutional Neural Network

Page 8: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

http://cs231n.github.io/neural-networks-1/

Neuron - the main building block

Page 9: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

Various types of layers to reduce dimensions

http://cs231n.github.io/convolutional-networks/

ConvNet architecture

Page 10: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

● MATLAB toolbox● Implements Convolutional Neural

Networks for computer vision applications● CNN building blocks available as functions● Available freely: http://www.vlfeat.

org/matconvnet/

MatConvNet

Page 11: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

Results

10 classes with at least 50 images per class

32x32 RGB 64x64 grayscale

Page 12: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

Results

423 classes with mostly less than 8 images per class

32x32 RGB 64x64 grayscale

Page 13: Neural Network Convolutional with recognition Face · 2015-06-03 · Using Convolutional Neural Network (CNN) to recognize person on the image Face recognition with CNN Face recognition

● CNN is an interesting and promising tool● Works well with large dataset ● Disappointing results with my dataset

Future ideas:● Use horizontal flipping and cropping from

corners to generate more data● Experiment with different configurations

and parameters

Conclusion