What was the optical ancestor to the modern camera called?

Answer

Camera obscura

The camera obscura, meaning 'darkened room,' was the optical precursor to the modern camera, known to ancient scholars who understood it projected an inverted, real-time image through a tiny opening.

What was the optical ancestor to the modern camera called?
inventionHistoryinventorphotographycamera