// Prepare first set of Eigenfaces (in same thread)
if (averageFace == null || eigenFaces == null){
eigenfaceBuilder.updateEigenfaces();
if (averageFace == null){
new InfoDialog(null, "<html>Not enough training images availble for EigenfaceRecognition.<br>Please classify the first faces manually!</html>");
return new HashMap<String, Integer>();
}
}
FaceDatabase db = MainController.getInstance().getFaceDB();