A camera obscura (Latin: "dark chamber") is an optical device that led to photography and the camera. The device consists of a box or room with a hole in one side. Light from an external scene passes through the hole and strikes a surface inside, where it is reproduced, rotated 180 degrees (thus upside-down), but with color and perspective preserved. The image can be projected onto paper, and can then be traced to produce a highly accurate representation. The largest camera obscura in the world is on Constitution Hill in Aberystwyth, Wales.
Using mirrors, as in an 18th-century overhead version, it is possible to project a right-side-up image. Another more portable type is a box with an angled mirror projecting onto tracing paper placed on the glass top, the image being upright as viewed from the back.
As the pinhole is made smaller, the image gets sharper, but the projected image becomes dimmer. With too small a pinhole, however, the sharpness worsens, due to diffraction. Some practical camera obscuras use a lens rather than a pinhole (as in a pinhole camera) because it allows a larger aperture, giving a usable brightness while maintaining focus.
The first surviving mention of some of the principles behind the pinhole camera or camera obscura belongs to Mozi (470 to 390 BCE), a Chinese philosopher and the founder of Mohism. Mozi correctly asserted that the image in a camera obscura is flipped upside down because light travels in straight lines from its source. His disciples developed this into a minor theory of optics.[note 1]
The Greek philosopher Aristotle (384 to 322 BCE) understood the optical principle of the pinhole camera. He viewed the crescent shape of a partially eclipsed sun projected on the ground through the holes in a sieve and through the gaps between the leaves of a plane tree. In the 4th century BCE, Aristotle noted that "sunlight travelling through small openings between the leaves of a tree, the holes of a sieve, the openings wickerwork, and even interlaced fingers will create circular patches of light on the ground." Euclid's Optics (ca 300 BCE) presupposed the camera obscura as a demonstration that light travels in straight lines. In the 4th century, Greek scholar Theon of Alexandria observed that "candlelight passing through a pinhole will create an illuminated spot on a screen that is directly in line with the aperture and the center of the candle."
In the 9th century, Al-Kindi (Alkindus) demonstrated that "light from the right side of the flame will pass through the aperture and end up on the left side of the screen, while light from the left side of the flame will pass through the aperture and end up on the right side of the screen."
Arab physicist and mathematician Ibn Ibn al-Haytham (965–1039 A.D.), also known as Alhazen, experimented with images seen through the pinhole. He arranged three candles in a row and put a screen with a small hole between the candles and the wall. He noted that images were formed only by means of small holes and that the candle to the right made an image to the left on the wall. From his observations he deduced the linearity of light. He also described how to view a solar eclipse using a camera obscura and was the first scientist to make this observation.
Leonardo da Vinci (1452–1519), familiar with the work of Alhazen and after an extensive study of optics and human vision, published the first clear description of the camera obscura in Codex Atlanticus (1502):
"If the facade of a building, or a place, or a landscape is illuminated by the sun and a small hole is drilled in the wall of a room in a building facing this, which is not directly lighted by the sun, then all objects illuminated by the sun will send their images through this aperture and will appear, upside down, on the wall facing the hole. You will catch these pictures on a piece of white paper, which placed vertically in the room not far from that opening, and you will see all the above-mentioned objects on this paper in their natural shapes or colors, but they will appear smaller and upside down, on account of crossing of the rays at that aperture. If these pictures originate from a place which is illuminated by the sun, they will appear colored on the paper exactly as they are. The paper should be very thin and must be viewed from the back.” 
The Song Dynasty Chinese scientist Shen Kuo (1031–1095) experimented with a camera obscura, and was the first to apply geometrical and quantitative attributes to it in his book of 1088 AD, the Dream Pool Essays.[verification needed] However, Shen Kuo alluded to the fact that the Miscellaneous Morsels from Youyang written in about 840 AD by Duan Chengshi (d. 863) during the Tang Dynasty (618–907) mentioned inverting the image of a Chinese pagoda tower beside a seashore. In fact, Shen makes no assertion that he was the first to experiment with such a device. Shen wrote of Cheng's book: "[Miscellaneous Morsels from Youyang] said that the image of the pagoda is inverted because it is beside the sea, and that the sea has that effect. This is nonsense. It is a normal principle that the image is inverted after passing through the small hole."
In 13th-century England, Roger Bacon described the use of a camera obscura for the safe observation of solar eclipses. At the end of the 13th century, Arnaldus de Villa Nova is credited with using a camera obscura to project live performances for entertainment. Its potential as a drawing aid may have been familiar to artists by as early as the 15th century; Leonardo da Vinci (1452–1519 AD) described the camera obscura in Codex Atlanticus. Johann Zahn's "Oculus Artificialis Teledioptricus Sive Telescopium, which was published in 1685, contains many descriptions and diagrams, illustrations and sketches of both the camera obscura and of the magic lantern.
Giambattista della Porta is said to have perfected camera obscura. He described it as having a convex lens in later editions of his Magia Naturalis (1558-1589), the popularity of which helped spread knowledge of it. He compared the shape of the human eye to the lens in his camera obscura, and provided an easily understandable example of how light could bring images into the eye. One chapter in the Conte Algarotti's Saggio sopra Pittura (1764) is dedicated to the use of a camera ottica ("optic chamber") in painting.
The 17th century Dutch Masters, such as Johannes Vermeer, were known for their magnificent attention to detail. It has been widely speculated that they made use of such a camera, but the extent of their use by artists at this period remains a matter of considerable controversy, recently revived by the Hockney–Falco thesis.
The term "camera obscura" itself was first used by the German astronomer Johannes Kepler in 1604. The term is based on the Latin camera, "(vaulted) chamber or room", and obscura, "darkened" (plural: camerae obscurae). The English physician and author Sir Thomas Browne speculated upon the interrelated workings of optics and the camera obscura in his 1658 discourse The Garden of Cyrus thus:
For at the eye the Pyramidal rayes from the object, receive a decussation, and so strike a second base upon the Retina or hinder coat, the proper organ of Vision; wherein the pictures from objects are represented, answerable to the paper, or wall in the dark chamber; after the decussation of the rayes at the hole of the hornycoat, and their refraction upon the Christalline humour, answering the foramen of the window, and the convex or burning-glasses, which refract the rayes that enter it.
Early models were large; comprising either a whole darkened room or a tent (as employed by Johannes Kepler). By the 18th century, following developments by Robert Boyle and Robert Hooke, more easily portable models became available. These were extensively used by amateur artists while on their travels, but they were also employed by professionals, including Paul Sandby, Canaletto and Joshua Reynolds, whose camera (disguised as a book) is now in the Science Museum (London). Such cameras were later adapted by Joseph Nicephore Niepce, Louis Daguerre and William Fox Talbot for creating the first photographs.
A freestanding room-sized camera obscura at the University of North Carolina at Chapel Hill. One of the pinholes can be seen in the panel to the left of the door.
- Bristol Observatory
- Black mirror
- Camera lucida
- History of cinema
- Hockney–Falco thesis
- Magic lantern
- http://www.cardiganshirecoastandcountry.com/cliff-railway-camera-obscura-aberystwyth.php Cliff Railway and Camera Obscura, Aberystwyth
- Needham 1986, 82.
- Aristotle, Problems, Book XV
- The Camera Obscura : Aristotle to Zahn
- (Crombie 1990), 205
- Josef Maria Eder History of Photography translated by Edward Epstean Hon. F.R.P.S Copyright Columbia University Press
- Needham 1986, 98.
- BBC - The Camera Obscura
- Burns, Paul. "The History of the Discovery of Cinematography". Retrieved 1/4/2014.
- Smith, Roger. "A Look Into Camera Obscuras". Retrieved 1/4/2014.
- Algarotti, Francesco (1764). Presso Marco Coltellini, Livorno, ed. Saggio sopra la pittura. pp. 59–63.
- History of Photography and the Camera - Part 1: The first photographs
- Crombie, Alistair Cameron (1990), Science, optics, and music in medieval and early modern thought, Continuum International Publishing Group, p. 205, ISBN 978-0-907628-79-8, retrieved 22 August 2010
- Kelley, David H.; Milone, E. F.; Aveni, A. F. (2005), Exploring Ancient Skies: An Encyclopedic Survey of Archaeoastronomy, Birkhäuser, ISBN 0-387-95310-8, OCLC 213887290
- Hill, Donald R. (1993), "Islamic Science and Engineering", Edinburgh University Press, page 70.
- Lindberg, D.C. (1976), "Theories of Vision from Al Kindi to Kepler", The University of Chicago Press, Chicago and London.
- Nazeef, Mustapha (1940), "Ibn Al-Haitham As a Naturalist Scientist", (Arabic), published proceedings of the Memorial Gathering of Al-Hacan Ibn Al-Haitham, 21 December 1939, Egypt Printing.
- Needham, Joseph (1986). Science and Civilization in China: Volume 4, Physics and Physical Technology, Part 1, Physics. Taipei: Caves Books Ltd.
- Omar, S.B. (1977). "Ibn al-Haitham's Optics", Bibliotheca Islamica, Chicago.
- Wade, Nicholas J.; Finger, Stanley (2001), "The eye as an optical instrument: from camera obscura to Helmholtz's perspective", Perception 30 (10): 1157–1177, doi:10.1068/p3210, PMID 11721819
- Liz Rideal Transitions / Connections The Developing Portrait: Painting Towards Photography National Portrait Gallery
- Wolfgang Lefèvre (ed.) Inside the Camera Obscura – Optics and Art under the Spell of the Projected Image Max Planck Institute for the History of Science
- Timeline - The Camera Obscura in History The Camera Obscura Journal. Sfumato Press One error on page. Nicéphore Niépce did not use a pinhole camera in 1827 - he used a camera obscura with a lens.
- An Appreciation of the Camera Obscura
- The Camera Obscura in San Francisco – the Giant Camera of San Francisco at Ocean Beach, added to the National Register of Historic Places in 2001
- Camera Obscura and World of Illusions, Edinburgh
- Dumfries Museum & Camera Obscura, Dumfries, Scotland
- Camera obscura in a cricket pavilion donated by J.M.Barrie
- Vermeer and the Camera Obscura by Philip Steadman
- Paleo-camera – the camera obscura and the origins of art
- List of all known Camera Obscura
- Willett's Amazing Camera obscura, hire and creation
- Camera Obscura and Outlook Tower, Edinburgh, Scotland
- Cameraobscuras.com George T Keene builds custom camera obscuras like the Griffith Observatory CO in Los Angeles.
- Camera obscura in Trondheim, Norway, built by students of architecture and engineering from Norwegian University of Science and Technology (NTNU)