large-scale, real-world face recognition in movie trailers week 2-3 alan wright (facial recog....

19
Large-Scale, Real- World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Upload: vincent-horton

Post on 18-Dec-2015

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Large-Scale, Real-World Face Recognition in Movie Trailers

Week 2-3Alan Wright

(Facial Recog. pictures taken from Enrique Gortez)

Page 2: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Preliminary Steps

• Extract Facial Tracks- Working on MATLAB code now

• Worked on detecting blurry images, no solid results.

• Extract the features from the facial tracks.• Build framework to load and test data.• Begin with baseline testing (Sparse, min, meant,

etc)• Algorithm development…

Page 3: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Blur Detection

• Canny Edge Detection• Hough transform• Hough Lines• Find perpendicular line• Using that perpendicular line, get two parallel

lines on each side of the Hough line. • Choose 10 points on each side to find the

gradient.

Page 4: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Hough Lines

Page 5: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Using Perpendicular lines

Page 6: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Gradient Points

Page 7: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Good Edge

Mean

Inte

nsity

Pixels 1 - 20 (10 on each side of the Hough Line)

Page 8: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Bad Edge

Page 9: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Results

• Bad Hough Lines

• Dataset is not ideal for this algorithm, but works well on larger photos.

Page 10: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Facial Recognition

Page 11: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Linear Combination

+ x2 + x3

+ x4 + x5 + x6

+ x7 + x8 + x9

Test Image

= x1

Training Images

Page 12: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Linear Combination

y

Testing

A=

=

Training

x

Coefficients

Page 13: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Now in videos…

• We have:

Instead of:

Page 14: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Baseline

Page 15: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Sparse Representation-based Classification (SRC)

+ x2 + x3

+ x4 + x5 + x6

+ x7 + x8 + x9

Test Image

= x1

Training Images

+ 0 + 0 + 0

+ 0 + 0 + 0

Page 16: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

SRCSparse

Linear

Page 17: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

SRC

• Method– Impose sparsity on coefficient vector

• We want to minimize the coefficient sum to enforce sparsity.

(Wright09)

Minimize coef.

Page 18: Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)

Possible Baseline Algorithms

• Sum up the coefficient vector and take: average, min, etc..

• SRC linear combination.• Then creating our own algorithm…