Added function that prints detection informations to std::cout.