The camera obscura is an optical device that projects an external image onto a screen in a darkened space. The earliest reference to the pinhole camera, a precursor to the camera obscura, was by the Chinese philosopher Mo-Ti in 470 BCE. A digital camera records still images or video digitally using an electronic image sensor, allowing images to be immediately viewed, stored in large quantities, and deleted to save space. Point-and-shoot cameras automate all camera settings but have limited control, while DSLR cameras allow manual control and interchangeable lenses for more advanced photography. Demand for digital cameras, especially DSLRs, has grown due to technological advances, lower prices, and interest in emerging markets.