Camera.cpp for Slim