Camera obscura means `` darkened chamber '' to describe early devices for projecting an image on a screen , by use of a lens or a pinhole . A camera obscura ( meaning literally `` darkened chamber '' ) is a device for projecting an image on a screen , using either a lens or pinhole .