A system for controlling an automatic milking installation, comprising: a graphical user interface configured to enable a user (U) 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 (A), 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 (U) via the graphical user interface , which graphics data (D gr ) contain at least one graphical element 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 (DV1) of the at least one display view (DV1, DV2, DV3) and information in the at least one first display view (DV1) is thereby at least partially blocked from being visually inspected by the user (U). a graphical user interface configured to enable a user (U) 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 (A), 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 (U) via the graphical user interface , which graphics data (D gr ) contain at least one graphical element 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 (DV1) of the at least one display view (DV1, DV2, DV3) and information in the at least one first display view (DV1) is thereby at least partially blocked from being visually inspected by the user (U). 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 (U) via the graphical user interface , which graphics data (D gr ) contain at least one graphical element 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 (DV1) of the at least one display view (DV1, DV2, DV3) and information in the at least one first display view (DV1) is thereby at least partially blocked from being visually inspected by the user (U). <EOS>