Facial recognition

Associate
Joined
28 Jul 2003
Posts
1,987
Location
The Moon
I am trying to learn about facial recognition software as I would like to use matlab to build a program which is able to pick out human faces in a given photo. I am new to Matlab / programming and this seems like a fairly complex task, can anyone give me any pointers / hints?
 
What is this for? Is it a university assignment? Facial recognition is a complicated task, involving a lot of maths. Understanding of the maths is essential, but Matlab is designed to be fairly straight forward for people without much programming experience.

If you can understand the concepts behind image segmentation and object recognition, it shouldn't be too hard to understand the programming concepts matlab has. Control structures like if-then-else and do-while loops are fairly intuitive in matlab.
 
What is this for? Is it a university assignment? Facial recognition is a complicated task, involving a lot of maths. Understanding of the maths is essential, but Matlab is designed to be fairly straight forward for people without much programming experience.

If you can understand the concepts behind image segmentation and object recognition, it shouldn't be too hard to understand the programming concepts matlab has. Control structures like if-then-else and do-while loops are fairly intuitive in matlab.

It is a uni assignment. I don't understand the concepts of anything you mentioned, I am doing a degree in Mechanical engineering but have been givent this task. I am genuinely interested in learning how to solve such a problem but just do not know where to begin.
 
It is a uni assignment. I don't understand the concepts of anything you mentioned, I am doing a degree in Mechanical engineering but have been givent this task. I am genuinely interested in learning how to solve such a problem but just do not know where to begin.
Oh right. I think engineering departments like giving students assignments about stuff they haven't been taught about. I remember a first year engineering maths student asking me about programming an edge detection algorithm in C, despite the fact they hadn't been introduced to programming at all.

I suggest you talk to one of your lecturers about it. I only know the basics of this sort of thing (just started a unit on it). Apart from that, try looking it up on Wikipedia. I find that's often a good starting place.
 
That's quite complicated for just a 'simple' assignment! My Masters project is 3d facial feature recognition in Matlab!
 
That's quite complicated for just a 'simple' assignment! My Masters project is 3d facial feature recognition in Matlab!

Oh wow, this is just 2d though. Basically we will import a photo into a gui and the program must put a green box around each face in the photo.
 
tis all about eigenfaces. My housemate's dissertation is on ear recognition and the ability to form eigenfaces is incredibly powerful in this field.

have a poke around in there
lots of research into various recognition types including face and gait recognition.
 
Thanks for the info, we have only been told about one function called normxcorr2 in matlab. I have no idea how to go about this at all. If we want to get a top grade then we have to be able to upload any photo into the matlab program and the program must be able to highlight all of the faces in the photo. I hate the fact that I am a mechanical engineer but yet I get set tripe like this.
 
Check in your library for a book callled "Digital Image Processing Using Matlab", there's a section on object recognition using correlation ;)
 
Check in your library for a book callled "Digital Image Processing Using Matlab", there's a section on object recognition using correlation ;)

Ok cool, funnily enough I had just read about that book on amazon and it has a lot of five star reviews and now you mention it so yeah I think that seems to be the book to get.
 
Got mine off ebay - the cover's in Chinese, but the content is English: cost about £12 delivered. If it's only a few pages you want (that section is) I might be able to help you.
 
I've just implemented a face recognition algorithm using adaboost and haar-like features. It's a rapid detection algorithm more suited to video feeds but still ideal for images.
 
Ok I have now managed to get the cross correlation to work and have a very basic face detection programme, although it is limited in many ways.

Does anybody know how to implement the eigenface technique?
 
Thanks but is eigenfaces the best method for face detection? I have heard that it is not so good when the lighting conditions are poor and if the head is at an angle.
 
Back
Top Bottom