Ask Your Question
0

How to do face alignment without considering eye position

asked 2014-10-07 00:15:19 -0600

ann gravatar image

I am doing a face recognition project. Now I want to align faces without considering eye position. Suppose if I got side view of an image, at that time I can't plot eye positions. Even though I need to do face alignment. So is it possible to do face alignment without considering any particular points? Since I want to align faces if it is front face or side face.Could anyone give me a good suggestion.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-10-07 01:54:50 -0600

stepo gravatar image

If you don't want to locate eyes, you can for example use cv::matchTemplate() function. Your reference template will be an average face image. However, do you have any special reason why you don't want to locate eyes? the Haar detectors haarcascade_lefteye_2splits.xml and haarcascade_righteye_2splits.xml from opencv sample cascade classifiers work quite good for me. The further proper alignment based on the detected eyes is really easy.

edit flag offensive delete link more

Comments

Yes I know , it is easy by locating eyes. Suppose if I got image with side face at that time I can't locate eyes. That's why I am asking is it possible to do face alignment without locating any points.

ann gravatar imageann ( 2014-10-07 04:21:55 -0600 )edit

Actually matchTemplate() is used for image matching. How we canc use this for face alignment????

ann gravatar imageann ( 2014-10-07 04:44:06 -0600 )edit

You cannot combine face recognition for frontal and side faces together. That is just not done due the the large inner class difference (too much variation of a single person to train a decent classifier). So either split it up or just use frontal faces. I dont know why you would use profile faces for person recognition in the first place.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-07 06:17:07 -0600 )edit

Is there any way to do face alignment for profile face?

ann gravatar imageann ( 2014-10-07 23:31:39 -0600 )edit
1

You would need to train 3 seperate detectors. An ear detector, a chin detector and a profile eye detector. Then use those interesting points to align all those profile faces. But why you want to align profile faces?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-08 03:24:08 -0600 )edit

can you use profile face in recognition ?

chebhou gravatar imagechebhou ( 2014-10-10 05:32:12 -0600 )edit

Yes you can but you will need to train a complete new setup with profile faces. Also I have no idea how good this will work.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-10 05:55:20 -0600 )edit

Question Tools

Stats

Asked: 2014-10-07 00:15:19 -0600

Seen: 603 times

Last updated: Oct 07 '14