A system for controlling an automatic milking installation, comprising: a graphical user interface configured to enable a user to interact with the automatic milking installation via at least one display view (DV1, DV2, DV3); an imaging unit configured to record image data (D img) comprising data representing at least one portion of a dairy animal, the imaging unit having a transparent cover surface configured to protect an optics section of the imaging unit and through which transparent cover surface the image data (D img) are recorded; and a control unit configured to receive the recorded image data (D img), and based thereon, produce at least one control signal (S-Ctrl) arranged to control at least one function of the automatic milking installation, characterized in that the control unit is further configured to: process the recorded image data (D img) to determine a parameter indicating an amount of dirt on the transparent cover surface, and generate graphics data (D gr) for presentation to the user via the graphical user interface, which graphics data (D gr) contain at least one graphical element (400, 500, 600, 700) reflecting the amount of dirt on the transparent cover surface, wherein the control unit is configured to generate the graphics data (Dgr) such that the at least one graphical element is superimposed on at least one first display view of the at least one display view (DV1, DV2, DV3) and information in the at least one first display view is thereby at least partially blocked from being visually inspected by the user. a graphical user interface configured to enable a user to interact with the automatic milking installation via at least one display view (DV1, DV2, DV3); an imaging unit configured to record image data (D img) comprising data representing at least one portion of a dairy animal, the imaging unit having a transparent cover surface configured to protect an optics section of the imaging unit and through which transparent cover surface the image data (D img) are recorded; and a control unit configured to receive the recorded image data (D img), and based thereon, produce at least one control signal (S-Ctrl) arranged to control at least one function of the automatic milking installation, characterized in that the control unit is further configured to: process the recorded image data (D img) to determine a parameter indicating an amount of dirt on the transparent cover surface, and generate graphics data (D gr) for presentation to the user via the graphical user interface, which graphics data (D gr) contain at least one graphical element (400, 500, 600, 700) reflecting the amount of dirt on the transparent cover surface, wherein the control unit is configured to generate the graphics data (Dgr) such that the at least one graphical element is superimposed on at least one first display view of the at least one display view (DV1, DV2, DV3) and information in the at least one first display view is thereby at least partially blocked from being visually inspected by the user. process the recorded image data (D img) to determine a parameter indicating an amount of dirt on the transparent cover surface, and generate graphics data (D gr) for presentation to the user via the graphical user interface, which graphics data (D gr) contain at least one graphical element (400, 500, 600, 700) reflecting the amount of dirt on the transparent cover surface, wherein the control unit is configured to generate the graphics data (Dgr) such that the at least one graphical element is superimposed on at least one first display view of the at least one display view (DV1, DV2, DV3) and information in the at least one first display view is thereby at least partially blocked from being visually inspected by the user.