The invention relates to a method for detecting the position of an object
within the interior or a vehicle equipped with a door (4). The inventive
method is characterized by recording a sequence of images by means of a
camera (2) and calculating the actual position of the object by
electronically evaluating the images of the sequence of images, and
generating a differential image by comparing an actual recorded image
with a previously stored image. The position of the object is calculated
on the basis of the differential image. To achieve this, the camera (2)
records images of the door (4). The images of the door (4) are evaluated
and the open state of the door (4) is established on the basis of the
differential image between the closed state and the opened state.