Method and system for obtaining information about an object in a
compartment in a vehicle includes directing illumination into the
compartment, spatial or temporally modulating the illumination, receiving
light reflected from an object in the compartment, and analyzing the
reflected light to obtain information about the object. The compartment
may be a passenger compartment of an automobile, the trunk of an
automobile or the interior of a trailer of a truck. The illumination may
be directed from a light source and the reflected light received at a
receiver spaced apart from the light source. Analysis of the reflected
light may therefore entail applying a triangulation calculation to enable
a determination of a distance between the light source and illuminated
point on the object. The same method and system can be adapted for
monitoring the environment around the vehicle.