A scanner is used for scanning an object (3, 4, 5), in particular a tooth or a plurality of teeth or a dental cast. The scanner (1) comprises a projector (2) for projecting a pattern (7) onto the object (3, 4, 5) and a camera which comprises a recording optics and an image sensor (18). To improve such scanner, the recording optics comprises a first imaging optics (9) and a second imaging optics (10).