C++ photo booth