Home HITNET Stereo Depth estimation
Post
Cancel

Open In Github

Python scripts for performing stereo depth estimation using the HITNET Tensorflow model from Google Research.

Hitnet stereo depth estimation Stereo depth estimation on the cones images from the Middlebury dataset (https://vision.middlebury.edu/stereo/data/scenes2003/)

Requirements

  • OpenCV, numpy and tensorflo. pafy (pip install git+https://github.com/zizo-pro/pafy@b8976f22c19e4ab5515cacbfae0a3970370c102b) and youtube-dl are required for youtube video inference.
  • For the drivingStereo dataset, download the data from: https://drivingstereo-dataset.github.io/

Tensorflow models

Download the tensorflow models from the original repository and save them into the models folder.

Examples

  • Image inference:
1
 python imageDepthEstimation.py 
  • Video inference:
1
 python videoDepthEstimation.py
  • DrivingStereo dataset inference:
1
 python drivingStereoTest.py

# Inference video Example !Hitnet stereo depth estimation on video

References:

This post is licensed under CC BY 4.0 by the author.