1. An apparatus for the compensation of movements of a patient during MRT measurements in real time, the apparatus comprising at least one MRT-compatible camera, at least one evaluation unit and at least one connection for data exchange with an MRT appliance, wherein the MRT-compatible camera comprises at least one image sensor module for recording image data from which the patient's movement can be calculated, at least one interface module for the transmission of the image data and/or position data—calculated from the image data—of at least one marking element connected to the patient and at least one micro-controller module for calculating the position data from the image data, wherein the MRT-compatible camera is arranged in the interior of an MRT appliance inside a bore in the MRT appliance.