1. A method comprising: projecting modulated light onto an occupant from a light source outside of a vehicle; receiving reflections of the light source at a detector located outside of the vehicle; determining three-dimensional data based on a time-of-flight of the reflections; and detecting the occupant based on the three-dimensional data.