Later , Aristotle ( 384 to 322 BC ) understood the optical principle of the pinhole camera .
The Greek philosopher Aristotle ( 384 to 322 BCE ) understood the optical principle of the pinhole camera .