A method for synchronising a camera having an image sensor with a projector, wherein the camera serves for recording a scene which is superimposed with a pattern by means of the projector, wherein the projector can generate a synchronisation signal (2.1) corresponding to its image refresh frequency F2 or, for the purpose of synchronising the projector and the camera, another unit issuing a synchronisation signal (2.1) at a frequency F2 is provided, in which a) the projector 2 is operated at the image refresh frequency F2 and the pattern is emitted at the image refresh frequency F2, b) the camera is operated at an image refresh frequency F1 and images are recorded at the image refresh frequency F1, wherein a blanking interval (1a, 1b) is formed between the individual images (1.1, 1.2, 1.3) to be recorded, c) the synchronisation signal (2.1) with which the projector is operated is provided for controlling the camera, characterized in that d) for adapting a phase P1 of the image refresh frequency F1 of the camera to a phase P2 of the image refresh frequency F2 of the projector and/or for adapting the image refresh frequency F1 of the camera to the image refresh frequency F2 of the projector, the length of one or more blanking intervals (1a, 1b) between the individual images (1.1 to 1.3) of the camera to be recorded are varied depending on the synchronisation signal (2.1) of the projector and, to this end, a comparison between the phase P1 of the image refresh frequency F1 of the camera and the phase P2 of the image refresh frequency F2 of the projector and/or between the image refresh frequency F1 of the camera and the image refresh frequency F2 of the projector takes place by means of a closed-loop control circuit (3.1), wherein a trigger input of the image sensor for adapting the blanking interval (1a, 1b) is not actuated and the camera is operated in freerunning mode so that exposure of an image can already take place when the previous image is still being read out and therefore the maximum image refresh frequency is possible. a) the projector 2 is operated at the image refresh frequency F2 and the pattern is emitted at the image refresh frequency F2, b) the camera is operated at an image refresh frequency F1 and images are recorded at the image refresh frequency F1, wherein a blanking interval (1a, 1b) is formed between the individual images (1.1, 1.2, 1.3) to be recorded, c) the synchronisation signal (2.1) with which the projector is operated is provided for controlling the camera, characterized in that d) for adapting a phase P1 of the image refresh frequency F1 of the camera to a phase P2 of the image refresh frequency F2 of the projector and/or for adapting the image refresh frequency F1 of the camera to the image refresh frequency F2 of the projector, the length of one or more blanking intervals (1a, 1b) between the individual images (1.1 to 1.3) of the camera to be recorded are varied depending on the synchronisation signal (2.1) of the projector and, to this end, a comparison between the phase P1 of the image refresh frequency F1 of the camera and the phase P2 of the image refresh frequency F2 of the projector and/or between the image refresh frequency F1 of the camera and the image refresh frequency F2 of the projector takes place by means of a closed-loop control circuit (3.1), wherein a trigger input of the image sensor for adapting the blanking interval (1a, 1b) is not actuated and the camera is operated in freerunning mode so that exposure of an image can already take place when the previous image is still being read out and therefore the maximum image refresh frequency is possible.