Why was a camera named 'camera'?

The name derives from "Camera Obscura" or "dark chamber" which referred to the original form that consisted of a room with a very small opening in the wall through which an inverted image of the scene outside was projected onto the wall opposite the opening. Over time, the room evolved into a portable box which served as a sketching tool for artists, and finally into to a box in which light sensitive chemicals replaced the sketching glass.