Apparatus and method for sensing an object or a person in the interior of a vehicle