Is it possible to do gender and age recognition using template matching?

asked 2017-09-18 05:52:44 -0600

Gensoukyou1337 gravatar image

updated 2020-11-02 17:22:28 -0600

Since it is possible to do template matching with OpenCV, and after reading Kairos's blog post about it, I started wondering.

Is it possible to do gender recognition with template matching?

My theory would be like this:

  1. Create average faces of both genders from the training data
  2. Isolate the face RoI from the test image, and resize said RoI to fit the average faces
  3. Use template matching to match the test face RoI with the aforementioned average faces
  4. Determine the gender by seeing which average face has the higher matching percentage

Is that feasible, is it possible to do age recognition with a similar method, except with average faces from each age group, and is template matching a time intensive task? Because I intend to do it in a live feed or a camera preview.

edit retag flag offensive close merge delete