ViolaJones: code from Silvia&Marta PFC, adapted to standard C++