The work of G.D. Guo and his associates, to my mind, probably represents one of the most recent and focused investigation into this problem of automatic age classification. See here for a complete list of publications.
To answer your original question: from the 2010 survey paper "Age Synthesis and Estimation Via Faces: a Survey", a range of data driven techniques are presented as indeed viable from large annotated databases (p. 1968). As for the actual performance of the various algorithms for age estimation: reasonably impressive levels of classification, reported as the Mean Age Error and Cumulative Score metric, are possible (see table 1 on p. 1970) - with the usual caveats as to the choice of feature selection, model representation etc.
How you implement the currently best performing algorithm in OpenCV might prove tricky - but should be possible!
EDIT: One quick thing that occurs to me - in the absence of the currently favoured vogue for Biological Inspired Features, you could use OpenCV's support for the HoG descriptor (which is effectively biologically inspired).
See for example:
Extracting HoG Features using OpenCV
HOG features visualisation with OpenCV, HOGDescriptor in C++