However, the conception of the pinhole camera can be traced back to the 4th and 5th century BCE, and can be attributed to well-known philosophers, Mo Ti, Aristotle, and Euclid. The ideas were put into practice in the 11th century by an Iraqi scientist, who invented the first camera obscura.