automatically generate depth map from video