There was a question on stackoverflow on how to calculate the Fisherfaces with OpenCV. So I wrote a class to perform a Linear Discriminant Analysis with OpenCV, which is available at:
Note: This post has been updated to fisherfaces_in_opencv.
Discussion