Machine readable and non-transitory medium having information stored thereon for determining depth information in autonomous driving, wherein the information, when read by the machine, causes the machine to perform the following:
- obtaining a first pair of stereo images from a first pair of stereo cameras deployed on a moving vehicle, wherein the first pair of stereo cameras have a wider field of view and are installed with respect to a baseline in a vertical plane for acquiring images of a scene surrounding the moving vehicle;
- detecting one or more objects appearing in different regions in the first pair of stereo images corresponding to different areas in the scene;
- for each of the one or more objects detected in a particular region of a stereo image corresponding to a particular area in the scene,
- determining a second pair of stereo cameras installed with respect to the baseline in the vertical plane with a narrower field of view that are configured to capture images of the particular area of the scene,
- receiving a second pair of stereo images from the second pair of stereo cameras,
- fusing each of the second pair of stereo images with the particular region of a corresponding image of the first pair of stereo images;
- estimating disparity based on fused stereo images;
- and
- computing depth information of each of the one or more objects based on the fused stereo images and the disparity.