Object detection using stereo