Since it is possible to do template matching with OpenCV, I started wondering.
Is it possible to do gender recognition with template matching?
My theory would be like this:
- Create average faces of both genders from the training data
- Isolate the face RoI from the test image, and resize said RoI to fit the average faces
- Use template matching to match the test face RoI with the aforementioned average faces
- Determine the gender by seeing which average face has the higher matching percentage
Is that feasible, and is it possible to do age recognition with a similar method, except with average faces from each age group?