The invention relates to a camera device (K) for generating an image of an environment, in which an image capture device (B), in particular a light incidence area (L) of the image capture device (B), is preceded by an optical attachment (V) in order to ensure the resilience of the camera device (K ) in relation to optical obstacles (D), such as, for example, dirt, in the area of a light detection surface (F) of the camera device (K). The optical attachment (V) has a coupling-in area (E) which is designed to deflect light (S) from the environment by means of internal reflection and / or a microstructure (M) to a coupling-out area (A) of the optical attachment (V). The decoupling area (A) is designed to transmit the deflected light (S) to the image capturing device (B) via the light incidence area (L). The coupling area (E) of the ancillary optics (V) thus represents a light detection area (F) of the camera device (K). In order to be less susceptible to dirt in the area of the light detection area (F), the area of the coupling area (E) is made larger as an area of the light incidence area (L) of the image sensing device (B).
展开▼