Ask Your Question

face recognition (different image size)

asked 2012-08-20 01:02:03 -0500

mrgloom gravatar image

updated 2012-08-20 01:11:34 -0500

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?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-08-20 01:12:51 -0500

updated 2012-08-20 12:52:14 -0500

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:

edit flag offensive delete link more

answered 2012-08-20 05:21:00 -0500

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 (

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2012-08-20 01:02:03 -0500

Seen: 1,039 times

Last updated: Aug 20 '12