First time here? Check out the FAQ!

Ask Your Question
0

face recognition (different image size)

asked Aug 20 '12

mrgloom gravatar image

updated Aug 20 '12

I have set of face images, but they have different size.I know I can resize all, but maybe there is scale invariant approach? And how can I align faces?

Preview: (hide)

2 answers

Sort by » oldest newest most voted
3

answered Aug 20 '12

updated Aug 20 '12

Try to use Local Binary Patterns Histograms, they don't require your input images to be of equal size:

And for face alignment, you can find a script in the chapter Aligning Face Images of the OpenCV Face Recognition tutorial at:

This should be easy to translate to any language you want, ssee Sorin's C# version for example:

Preview: (hide)
1

answered Aug 20 '12

smiron gravatar image

For the face alignment problem you can detect the eyes using haar-cascade, calculate the angle and rotate the picture (Philipp Wagner has some excellent tutorials for this). I successfully used this method to align faces in my master thesis project (http://code.google.com/p/stereo-face-recognition/).

Preview: (hide)

Question Tools

Stats

Asked: Aug 20 '12

Seen: 2,040 times

Last updated: Aug 20 '12